net.sf.farrago.cwm.core
Class CwmMultiplicityRange$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefObjectBase
org.eigenbase.enki.hibernate.storage.HibernateObject
org.eigenbase.enki.hibernate.jmi.HibernateRefObject
net.sf.farrago.cwm.core.CwmMultiplicityRange$Hib
- All Implemented Interfaces:
- RefBaseObject, RefFeatured, RefObject, CwmElement, CwmMultiplicityRange, HibernateAssociable, HibernateIdentifiable
public class CwmMultiplicityRange$Hib
- extends HibernateRefObject
- implements CwmMultiplicityRange, HibernateAssociable
MultiplicityRange object instance interface.
In the metamodel a MultiplicityRange defines a range of integers. The
upper bound of the range cannot be below the lower bound. The lower bound
must be a nonnegative integer. The upper bound must be a nonnegative
integer or the special value unlimited, which indicates there is no upper
bound on the range.
Note: This type should not be subclassed,
implemented or directly instantiated by clients. It is generated from a
MOF metamodel and implemented by Enki or MDR.
Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMofId, refOutermostPackage, refVerifyConstraints, setMofId |
_id
private static final String _id
- See Also:
- Constant Field Values
lower$Hib
protected Integer lower$Hib
upper$Hib
protected Integer upper$Hib
multiplicity$Hib
protected HibernateOneToManyLazyAssociation multiplicity$Hib
CwmMultiplicityRange$Hib
CwmMultiplicityRange$Hib()
CwmMultiplicityRange$Hib
CwmMultiplicityRange$Hib(int lower,
int upper)
getLower$Hib
public Integer getLower$Hib()
setLower$Hib
public void setLower$Hib(Integer newValue)
getLower
public int getLower()
- Description copied from interface:
CwmMultiplicityRange
- Returns the value of attribute lower.
Specifies the positive integer lower bound of the range.
- Specified by:
getLower
in interface CwmMultiplicityRange
- Returns:
- Value of attribute lower.
setLower
public void setLower(int newValue)
- Description copied from interface:
CwmMultiplicityRange
- Sets the value of lower attribute. See
CwmMultiplicityRange.getLower()
for
description on the attribute.
- Specified by:
setLower
in interface CwmMultiplicityRange
- Parameters:
newValue
- New value to be set.
getUpper$Hib
public Integer getUpper$Hib()
setUpper$Hib
public void setUpper$Hib(Integer newValue)
getUpper
public int getUpper()
- Description copied from interface:
CwmMultiplicityRange
- Returns the value of attribute upper.
Specifies the upper bound of the range, which is a positive integer or
the special value ?unlimited? indicating no upper bound is defined.
- Specified by:
getUpper
in interface CwmMultiplicityRange
- Returns:
- Value of attribute upper.
setUpper
public void setUpper(int newValue)
- Description copied from interface:
CwmMultiplicityRange
- Sets the value of upper attribute. See
CwmMultiplicityRange.getUpper()
for
description on the attribute.
- Specified by:
setUpper
in interface CwmMultiplicityRange
- Parameters:
newValue
- New value to be set.
getMultiplicity
public CwmMultiplicity getMultiplicity()
- Description copied from interface:
CwmMultiplicityRange
- Returns the value of reference multiplicity.
- Specified by:
getMultiplicity
in interface CwmMultiplicityRange
- Returns:
- Value of reference multiplicity.
setMultiplicity
public void setMultiplicity(CwmMultiplicity newValue)
- Description copied from interface:
CwmMultiplicityRange
- Sets the value of multiplicity reference. See
CwmMultiplicityRange.getMultiplicity()
for description on the attribute.
- Specified by:
setMultiplicity
in interface CwmMultiplicityRange
- Parameters:
newValue
- New value to be set.
getMultiplicity$Hib
public HibernateOneToManyLazyAssociation getMultiplicity$Hib()
setMultiplicity$Hib
public void setMultiplicity$Hib(HibernateOneToManyLazyAssociation newValue)
getAssociation
public HibernateAssociation getAssociation(String type,
boolean firstEnd)
- Specified by:
getAssociation
in interface HibernateAssociable
setAssociation
public void setAssociation(String type,
boolean firstEnd,
HibernateAssociation assoc)
- Specified by:
setAssociation
in interface HibernateAssociable
getOrCreateAssociation
public HibernateAssociation getOrCreateAssociation(String type,
boolean firstEnd)
- Specified by:
getOrCreateAssociation
in interface HibernateAssociable
removeAssociations
protected void removeAssociations()
- Specified by:
removeAssociations
in class HibernateRefObject
getComposingAssociations
public Collection<HibernateAssociation> getComposingAssociations()
- Specified by:
getComposingAssociations
in class HibernateRefObject
getNonComposingAssociations
public Collection<HibernateAssociation> getNonComposingAssociations()
- Specified by:
getNonComposingAssociations
in class HibernateRefObject
refImmediateComposite
public RefObject refImmediateComposite()
- Specified by:
refImmediateComposite
in interface RefObject
- Overrides:
refImmediateComposite
in class RefObjectBase
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefObject