net.sf.farrago.cwm.instance
Class CwmObjectClass$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.CwmObjectClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmObjectClass
public class CwmObjectClass$Hib
- extends HibernateRefClass
- implements CwmObjectClass
Object class proxy implementation.
An object is an instance that originates from a class.
In the metamodel, Object is a subclass of Instance originating from a
Class. The Class may be modified dynamically, which means that the set of
features of the Object may change during its life-time.
An object is an instance that originates from a class; it is structured
and behaves according to its class. All objects originating from the same
class are structured in the same way, although each of them has its own
set of attribute slots. Each attribute slot references an instance,
usually a data value or possibly, another object. The number of attribute
slots with the same name fulfills the multiplicity of the corresponding
attribute in the class. The set may be modified according to the
specification in the corresponding attribute, e.g. each referenced
instance must originate from (a specialization of) the type of the
attribute, and attribute slots may be added or removed according to the
changeable property of the attribute.
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
CwmObjectClass$Hib
public CwmObjectClass$Hib(RefPackage container)
createCwmObject
public CwmObject createCwmObject()
- Description copied from interface:
CwmObjectClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmObject
in interface CwmObjectClass
- Returns:
- The created instance object.
createCwmObject
public CwmObject createCwmObject(String name,
VisibilityKind visibility)
- Description copied from interface:
CwmObjectClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmObject
in interface CwmObjectClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.
- 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