net.sf.farrago.cwm.core
Class CwmClassClass$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.core.CwmClassClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmClassClass
public class CwmClassClass$Hib
- extends HibernateRefClass
- implements CwmClassClass
Class class proxy implementation.
A class is a description of a set of objects that share the same
attributes, operations, methods, relationships, and semantics. A class may
use a set of interfaces to specify collections of operations it provides
to its environment. In the metamodel, a Class describes a set of objects
sharing a collection of Features that are common to the set of objects.
The purpose of a Class is to declare a collection of Features that fully
describe the structure and behavior of objects. Some Classes may not be
directly instantiated. These Classes are said to be abstract and exist
only for other Classes to inherit and reuse the Features declared by them.
No object may be a direct instance of an abstract Class, although an
object may be an indirect instance of one through a subclass that is
non-abstract.
A Class acts as the namespace for various kinds of contained elements
defined within its scope, including classes, interfaces and associations
(note that this is purely a scoping construction and does not imply
anything about aggregation). The contained classes can be used as ordinary
classes in the container class. If a class inherits another class, the
contents of the ancestor are available to its descendents if the
visibility of an element is public or protected; however, if the
visibility is private, then the element is not visible and therefore not
available in the descendant.
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
CwmClassClass$Hib
public CwmClassClass$Hib(RefPackage container)
createCwmClass
public CwmClass createCwmClass()
- Description copied from interface:
CwmClassClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmClass
in interface CwmClassClass
- Returns:
- The created instance object.
createCwmClass
public CwmClass createCwmClass(String name,
VisibilityKind visibility,
boolean isAbstract)
- Description copied from interface:
CwmClassClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmClass
in interface CwmClassClass
- 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.
- 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