net.sf.farrago.cwm.instance
Class CwmDataValueClass$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.instance.CwmDataValueClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmDataValueClass
public class CwmDataValueClass$Hib
- extends HibernateRefClass
- implements CwmDataValueClass
DataValue class proxy implementation.
A data value is an instance with no identity. In the metamodel, DataValue
is a child of Instance that cannot change its state, i.e. all operations
that are applicable to it are pure functions or queries that do not cause
any side effects. DataValues are typically used
as attribute values.
Since it is not possible to differentiate between two data values that
appear to be the same, it becomes more of a philosophical issue whether
there are several data values representing the same value or just one for
each value. In addition, a data value cannot change its data type and it
does not have contained instances.
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
CwmDataValueClass$Hib
public CwmDataValueClass$Hib(RefPackage container)
createCwmDataValue
public CwmDataValue createCwmDataValue()
- Description copied from interface:
CwmDataValueClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmDataValue
in interface CwmDataValueClass
- Returns:
- The created instance object.
createCwmDataValue
public CwmDataValue createCwmDataValue(String name,
VisibilityKind visibility,
String value)
- Description copied from interface:
CwmDataValueClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmDataValue
in interface CwmDataValueClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.value
- A string representation of the value.
- 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