net.sf.farrago.cwm.datatypes
Class CwmEnumeration$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.datatypes.CwmEnumeration$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmClassifier, CwmDataType, CwmElement, CwmModelElement, CwmNamespace, CwmEnumeration, HibernateAssociable, HibernateIdentifiable

public class CwmEnumeration$Hib
extends HibernateRefObject
implements CwmEnumeration, HibernateAssociable

Enumeration object instance interface. The Enumeration class is intended as a starting point from which enumerated data types can be created. An enumerated data type is a collection of identifiers often used as the permitted states that some other attribute or property of the enumerated type may take. The isOrdered attribute of an Enumeration instance is used to determine if the ordered constraint on the EnumerationLiterals association is relevant for the enumeration. The particular ordering of EnumerationLiteral instances is obtained from the ordered constraint on the association even if the value attributes of the EnumerationLiteral instances contain non-null values that might be used to determine ordering. This is done to provide more flexible ordering semantics. An instance of Enumeration is also required to create a range data type. Refer to the EnumerationLiteral class for details.

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  HibernateOneToManyLazyAssociation classifierAlias_Alias$Hib
           
protected  HibernateManyToManyLazyAssociation clientDependency$Hib
           
protected  HibernateManyToManyLazyAssociation constraint$Hib
           
protected  HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib
           
protected  HibernateOneToManyLazyOrderedAssociation feature$Hib
           
protected  HibernateManyToManyLazyAssociation importer$Hib
           
protected  HibernateOneToManyLazyAssociation instanceClassifier_Instance$Hib
           
protected  Boolean isAbstract$Hib
           
protected  Boolean isOrdered$Hib
           
protected  HibernateOneToManyLazyAssociation literal$Hib
           
protected  String name$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation ownedElement$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation parameterType_Parameter$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
           
protected  HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation structuralFeatureType_StructuralFeature$Hib
           
protected  HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib
           
protected  HibernateOneToManyLazyAssociation userAssignedNamespace_NamespaceAssignee$Hib
           
protected  String visibility$Hib
           
 
Constructor Summary
CwmEnumeration$Hib()
           
CwmEnumeration$Hib(String name, VisibilityKind visibility, boolean isAbstract, boolean isOrdered)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getClassIdentifier()
           
 HibernateOneToManyLazyAssociation getClassifierAlias_Alias$Hib()
           
 Collection<CwmDependency> getClientDependency()
          Returns the value of reference clientDependency.
 HibernateManyToManyLazyAssociation getClientDependency$Hib()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 Collection<CwmConstraint> getConstraint()
          Returns the value of reference constraint.
 HibernateManyToManyLazyAssociation getConstraint$Hib()
           
 HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()
           
 List<CwmFeature> getFeature()
          Returns the value of reference feature.
 HibernateOneToManyLazyOrderedAssociation getFeature$Hib()
           
 Collection<CwmPackage> getImporter()
          Returns the value of reference importer.
 HibernateManyToManyLazyAssociation getImporter$Hib()
           
 HibernateOneToManyLazyAssociation getInstanceClassifier_Instance$Hib()
           
 Boolean getIsAbstract$Hib()
           
 Boolean getIsOrdered$Hib()
           
 Collection<CwmEnumerationLiteral> getLiteral()
          Returns the value of reference literal.
 HibernateOneToManyLazyAssociation getLiteral$Hib()
           
 String getName()
          Returns the value of attribute name.
 String getName$Hib()
           
 CwmNamespace getNamespace()
          Returns the value of reference namespace.
 HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 Collection<CwmModelElement> getOwnedElement()
          Returns the value of reference ownedElement.
 HibernateOneToManyLazyHighCardinalityAssociation getOwnedElement$Hib()
           
 HibernateOneToManyLazyHighCardinalityAssociation getParameterType_Parameter$Hib()
           
 HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()
           
 HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()
           
 HibernateOneToManyLazyHighCardinalityAssociation getStructuralFeatureType_StructuralFeature$Hib()
           
 HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()
           
 HibernateOneToManyLazyAssociation getUserAssignedNamespace_NamespaceAssignee$Hib()
           
 VisibilityKind getVisibility()
          Returns the value of attribute visibility.
 String getVisibility$Hib()
           
 boolean isAbstract()
          Returns the value of attribute isAbstract.
 boolean isOrdered()
          Returns the value of attribute isOrdered.
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAbstract(boolean newValue)
          Sets the value of isAbstract attribute.
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setClassifierAlias_Alias$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setFeature$Hib(HibernateOneToManyLazyOrderedAssociation newValue)
           
 void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setInstanceClassifier_Instance$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setIsAbstract$Hib(Boolean newValue)
           
 void setIsOrdered$Hib(Boolean newValue)
           
 void setLiteral$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setName(String newValue)
          Sets the value of name attribute.
 void setName$Hib(String newValue)
           
 void setNamespace(CwmNamespace newValue)
          Sets the value of namespace reference.
 void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setOrdered(boolean newValue)
          Sets the value of isOrdered attribute.
 void setOwnedElement$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setParameterType_Parameter$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setStructuralFeatureType_StructuralFeature$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setUserAssignedNamespace_NamespaceAssignee$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setVisibility(VisibilityKind newValue)
          Sets the value of visibility attribute.
 void setVisibility$Hib(String 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

name$Hib

protected String name$Hib

visibility$Hib

protected String visibility$Hib

isAbstract$Hib

protected Boolean isAbstract$Hib

isOrdered$Hib

protected Boolean isOrdered$Hib

clientDependency$Hib

protected HibernateManyToManyLazyAssociation clientDependency$Hib

constraint$Hib

protected HibernateManyToManyLazyAssociation constraint$Hib

importer$Hib

protected HibernateManyToManyLazyAssociation importer$Hib

namespace$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib

ownedElement$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation ownedElement$Hib

feature$Hib

protected HibernateOneToManyLazyOrderedAssociation feature$Hib

literal$Hib

protected HibernateOneToManyLazyAssociation literal$Hib

dependencySupplier_SupplierDependency$Hib

protected HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib

stereotypedElement_Stereotype$Hib

protected HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib

structuralFeatureType_StructuralFeature$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation structuralFeatureType_StructuralFeature$Hib

taggedElement_TaggedValue$Hib

protected HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib

parameterType_Parameter$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation parameterType_Parameter$Hib

instanceClassifier_Instance$Hib

protected HibernateOneToManyLazyAssociation instanceClassifier_Instance$Hib

classifierAlias_Alias$Hib

protected HibernateOneToManyLazyAssociation classifierAlias_Alias$Hib

userAssignedNamespace_NamespaceAssignee$Hib

protected HibernateOneToManyLazyAssociation userAssignedNamespace_NamespaceAssignee$Hib

privilegeIsGrantedOnElement_Privilege$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
Constructor Detail

CwmEnumeration$Hib

CwmEnumeration$Hib()

CwmEnumeration$Hib

CwmEnumeration$Hib(String name,
                   VisibilityKind visibility,
                   boolean isAbstract,
                   boolean isOrdered)
Method Detail

getName$Hib

public String getName$Hib()

setName$Hib

public void setName$Hib(String newValue)

getName

public String getName()
Description copied from interface: CwmModelElement
Returns the value of attribute name. An identifier for the ModelElement within its containing Namespace.

Specified by:
getName in interface CwmModelElement
Returns:
Value of attribute name.

setName

public void setName(String newValue)
Description copied from interface: CwmModelElement
Sets the value of name attribute. See CwmModelElement.getName() for description on the attribute.

Specified by:
setName in interface CwmModelElement
Parameters:
newValue - New value to be set.

getVisibility$Hib

public String getVisibility$Hib()

setVisibility$Hib

public void setVisibility$Hib(String newValue)

getVisibility

public VisibilityKind getVisibility()
Description copied from interface: CwmModelElement
Returns the value of attribute visibility. Specifies extent of the visibility of the ModelElement within its owning Namespace.

Specified by:
getVisibility in interface CwmModelElement
Returns:
Value of attribute visibility.

setVisibility

public void setVisibility(VisibilityKind newValue)
Description copied from interface: CwmModelElement
Sets the value of visibility attribute. See CwmModelElement.getVisibility() for description on the attribute.

Specified by:
setVisibility in interface CwmModelElement
Parameters:
newValue - New value to be set.

getIsAbstract$Hib

public Boolean getIsAbstract$Hib()

setIsAbstract$Hib

public void setIsAbstract$Hib(Boolean newValue)

isAbstract

public boolean isAbstract()
Description copied from interface: CwmClassifier
Returns the value of attribute isAbstract. An abstract Classifier is not instantiable.

Specified by:
isAbstract in interface CwmClassifier
Returns:
Value of attribute isAbstract.

setAbstract

public void setAbstract(boolean newValue)
Description copied from interface: CwmClassifier
Sets the value of isAbstract attribute. See CwmClassifier.isAbstract() for description on the attribute.

Specified by:
setAbstract in interface CwmClassifier
Parameters:
newValue - New value to be set.

getIsOrdered$Hib

public Boolean getIsOrdered$Hib()

setIsOrdered$Hib

public void setIsOrdered$Hib(Boolean newValue)

isOrdered

public boolean isOrdered()
Description copied from interface: CwmEnumeration
Returns the value of attribute isOrdered. If True, the ordered constraint on the EnumerationLiterals association is relevant. Otherwise, the ordering of EnumerationLiteral instances is considered unspecified.

Specified by:
isOrdered in interface CwmEnumeration
Returns:
Value of attribute isOrdered.

setOrdered

public void setOrdered(boolean newValue)
Description copied from interface: CwmEnumeration
Sets the value of isOrdered attribute. See CwmEnumeration.isOrdered() for description on the attribute.

Specified by:
setOrdered in interface CwmEnumeration
Parameters:
newValue - New value to be set.

getClientDependency

public Collection<CwmDependency> getClientDependency()
Description copied from interface: CwmModelElement
Returns the value of reference clientDependency.

Specified by:
getClientDependency in interface CwmModelElement
Returns:
Value of reference clientDependency. Element type: CwmDependency

getClientDependency$Hib

public HibernateManyToManyLazyAssociation getClientDependency$Hib()

setClientDependency$Hib

public void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)

getConstraint

public Collection<CwmConstraint> getConstraint()
Description copied from interface: CwmModelElement
Returns the value of reference constraint.

Specified by:
getConstraint in interface CwmModelElement
Returns:
Value of reference constraint. Element type: CwmConstraint

getConstraint$Hib

public HibernateManyToManyLazyAssociation getConstraint$Hib()

setConstraint$Hib

public void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)

getImporter

public Collection<CwmPackage> getImporter()
Description copied from interface: CwmModelElement
Returns the value of reference importer.

Specified by:
getImporter in interface CwmModelElement
Returns:
Value of reference importer. Element type: CwmPackage

getImporter$Hib

public HibernateManyToManyLazyAssociation getImporter$Hib()

setImporter$Hib

public void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)

getNamespace

public CwmNamespace getNamespace()
Description copied from interface: CwmModelElement
Returns the value of reference namespace.

Specified by:
getNamespace in interface CwmModelElement
Returns:
Value of reference namespace.

setNamespace

public void setNamespace(CwmNamespace newValue)
Description copied from interface: CwmModelElement
Sets the value of namespace reference. See CwmModelElement.getNamespace() for description on the attribute.

Specified by:
setNamespace in interface CwmModelElement
Parameters:
newValue - New value to be set.

getNamespace$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()

setNamespace$Hib

public void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getOwnedElement

public Collection<CwmModelElement> getOwnedElement()
Description copied from interface: CwmNamespace
Returns the value of reference ownedElement.

Specified by:
getOwnedElement in interface CwmNamespace
Returns:
Value of reference ownedElement. Element type: CwmModelElement

getOwnedElement$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getOwnedElement$Hib()

setOwnedElement$Hib

public void setOwnedElement$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getFeature

public List<CwmFeature> getFeature()
Description copied from interface: CwmClassifier
Returns the value of reference feature.

Specified by:
getFeature in interface CwmClassifier
Returns:
Value of reference feature. Element type: CwmFeature

getFeature$Hib

public HibernateOneToManyLazyOrderedAssociation getFeature$Hib()

setFeature$Hib

public void setFeature$Hib(HibernateOneToManyLazyOrderedAssociation newValue)

getLiteral

public Collection<CwmEnumerationLiteral> getLiteral()
Description copied from interface: CwmEnumeration
Returns the value of reference literal.

Specified by:
getLiteral in interface CwmEnumeration
Returns:
Value of reference literal. Element type: CwmEnumerationLiteral

getLiteral$Hib

public HibernateOneToManyLazyAssociation getLiteral$Hib()

setLiteral$Hib

public void setLiteral$Hib(HibernateOneToManyLazyAssociation newValue)

getDependencySupplier_SupplierDependency$Hib

public HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()

setDependencySupplier_SupplierDependency$Hib

public void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)

getStereotypedElement_Stereotype$Hib

public HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()

setStereotypedElement_Stereotype$Hib

public void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)

getStructuralFeatureType_StructuralFeature$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getStructuralFeatureType_StructuralFeature$Hib()

setStructuralFeatureType_StructuralFeature$Hib

public void setStructuralFeatureType_StructuralFeature$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getTaggedElement_TaggedValue$Hib

public HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()

setTaggedElement_TaggedValue$Hib

public void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)

getParameterType_Parameter$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getParameterType_Parameter$Hib()

setParameterType_Parameter$Hib

public void setParameterType_Parameter$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getInstanceClassifier_Instance$Hib

public HibernateOneToManyLazyAssociation getInstanceClassifier_Instance$Hib()

setInstanceClassifier_Instance$Hib

public void setInstanceClassifier_Instance$Hib(HibernateOneToManyLazyAssociation newValue)

getClassifierAlias_Alias$Hib

public HibernateOneToManyLazyAssociation getClassifierAlias_Alias$Hib()

setClassifierAlias_Alias$Hib

public void setClassifierAlias_Alias$Hib(HibernateOneToManyLazyAssociation newValue)

getUserAssignedNamespace_NamespaceAssignee$Hib

public HibernateOneToManyLazyAssociation getUserAssignedNamespace_NamespaceAssignee$Hib()

setUserAssignedNamespace_NamespaceAssignee$Hib

public void setUserAssignedNamespace_NamespaceAssignee$Hib(HibernateOneToManyLazyAssociation newValue)

getPrivilegeIsGrantedOnElement_Privilege$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()

setPrivilegeIsGrantedOnElement_Privilege$Hib

public void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation 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