net.sf.farrago.cwm.datatypes
Class CwmEnumerationClass$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefClassBase
org.eigenbase.enki.hibernate.jmi.HibernateRefClass
net.sf.farrago.cwm.datatypes.CwmEnumerationClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmEnumerationClass
public class CwmEnumerationClass$Hib
- extends HibernateRefClass
- implements CwmEnumerationClass
Enumeration class proxy implementation.
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.
Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofId, setRefMetaObject |
_id
private static final String _id
- See Also:
- Constant Field Values
_queryCacheRegion
private static final String _queryCacheRegion
- See Also:
- Constant Field Values
_table
private static final String _table
- See Also:
- Constant Field Values
CwmEnumerationClass$Hib
public CwmEnumerationClass$Hib(RefPackage container)
createCwmEnumeration
public CwmEnumeration createCwmEnumeration()
- Description copied from interface:
CwmEnumerationClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmEnumeration
in interface CwmEnumerationClass
- Returns:
- The created instance object.
createCwmEnumeration
public CwmEnumeration createCwmEnumeration(String name,
VisibilityKind visibility,
boolean isAbstract,
boolean isOrdered)
- Description copied from interface:
CwmEnumerationClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmEnumeration
in interface CwmEnumerationClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.isAbstract
- An abstract Classifier is not instantiable.isOrdered
- If True, the ordered constraint on the
EnumerationLiterals association is relevant. Otherwise, the ordering
of EnumerationLiteral instances is considered unspecified.
- Returns:
- The created instance object.
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefClass
getTable
public String getTable()
- Specified by:
getTable
in class HibernateRefClass
getQueryCacheRegion
public String getQueryCacheRegion()
- Specified by:
getQueryCacheRegion
in class HibernateRefClass
getAssociationColumnName
public String getAssociationColumnName(String type,
boolean firstEnd)
- Specified by:
getAssociationColumnName
in class HibernateRefClass
getAssociationColumnNames
public Collection<String> getAssociationColumnNames()
- Specified by:
getAssociationColumnNames
in class HibernateRefClass