net.sf.farrago.cwm.core
Class CwmMultiplicity$Hib

java.lang.Object
  extended by org.eigenbase.enki.jmi.impl.RefBaseObjectBase
      extended by org.eigenbase.enki.jmi.impl.RefFeaturedBase
          extended by org.eigenbase.enki.jmi.impl.RefObjectBase
              extended by org.eigenbase.enki.hibernate.storage.HibernateObject
                  extended by org.eigenbase.enki.hibernate.jmi.HibernateRefObject
                      extended by net.sf.farrago.cwm.core.CwmMultiplicity$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmElement, CwmMultiplicity, HibernateAssociable, HibernateIdentifiable

public class CwmMultiplicity$Hib
extends HibernateRefObject
implements CwmMultiplicity, HibernateAssociable

Multiplicity object instance interface. In the metamodel a Multiplicity defines a non-empty set of non-negative integers. A set which only contains zero ({0}) is not considered a valid Multiplicity. Every Multiplicity has at least one corresponding String representation.

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.


Field Summary
private static String _id
           
protected  HibernateOneToOneLazyAssociation multiplicity$Comp$CwmStructuralFeature$Hib
           
protected  HibernateOneToManyLazyAssociation range$Hib
           
 
Constructor Summary
CwmMultiplicity$Hib()
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getClassIdentifier()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 HibernateOneToOneLazyAssociation getMultiplicity$Comp$CwmStructuralFeature$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 Collection<CwmMultiplicityRange> getRange()
          Returns the value of reference range.
 HibernateOneToManyLazyAssociation getRange$Hib()
           
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setMultiplicity$Comp$CwmStructuralFeature$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setRange$Hib(HibernateOneToManyLazyAssociation newValue)
           
 
Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefObject
associationSetSingle, attributeSetSingle, findAssociationEnd, fireAssociationRemoveAllEvents, fireAttributeSetEvent, getHibernateRepository, getRepository, refClass, refDelete
 
Methods inherited from class org.eigenbase.enki.hibernate.storage.HibernateObject
delete, delete, save, save
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefObjectBase
findAttribute, refImmediatePackage, refIsInstanceOf, refMetaObject, refOutermostComposite, setRefMetaObject, unregister
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefFeaturedBase
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.eigenbase.enki.hibernate.storage.HibernateIdentifiable
getMofId
 

Field Detail

_id

private static final String _id
See Also:
Constant Field Values

range$Hib

protected HibernateOneToManyLazyAssociation range$Hib

multiplicity$Comp$CwmStructuralFeature$Hib

protected HibernateOneToOneLazyAssociation multiplicity$Comp$CwmStructuralFeature$Hib
Constructor Detail

CwmMultiplicity$Hib

CwmMultiplicity$Hib()
Method Detail

getRange

public Collection<CwmMultiplicityRange> getRange()
Description copied from interface: CwmMultiplicity
Returns the value of reference range.

Specified by:
getRange in interface CwmMultiplicity
Returns:
Value of reference range. Element type: CwmMultiplicityRange

getRange$Hib

public HibernateOneToManyLazyAssociation getRange$Hib()

setRange$Hib

public void setRange$Hib(HibernateOneToManyLazyAssociation newValue)

getMultiplicity$Comp$CwmStructuralFeature$Hib

public HibernateOneToOneLazyAssociation getMultiplicity$Comp$CwmStructuralFeature$Hib()

setMultiplicity$Comp$CwmStructuralFeature$Hib

public void setMultiplicity$Comp$CwmStructuralFeature$Hib(HibernateOneToOneLazyAssociation 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