net.sf.farrago.cwm.core
Class CwmDependencyClass$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.CwmDependencyClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmDependencyClass
public class CwmDependencyClass$Hib
- extends HibernateRefClass
- implements CwmDependencyClass
Dependency class proxy implementation.
A dependency states that the implementation or functioning of one or more
elements requires the presence of one or more other elements.
In the metamodel, a Dependency is a directed relationship from a client
(or clients) to a supplier (or suppliers) stating that the client is
dependent on the supplier (i.e., the client element requires the presence
and knowledge of the supplier element).
A dependency specifies that the semantics of a set of model elements
requires the presence of another set of model elements. This implies that
if the source is somehow modified, the dependents probably must be
modified. The reason for the dependency can be specified in several
different ways (e.g., using natural language or an algorithm) but is often
implicit.
Whenever the supplier element of a dependency changes, the client element
is potentially invalidated. After such invalidation, a check should be
performed followed by possible changes to the derived client element. Such
a check should be performed after which action can be taken to change the
derived element to validate it again.
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
CwmDependencyClass$Hib
public CwmDependencyClass$Hib(RefPackage container)
createCwmDependency
public CwmDependency createCwmDependency()
- Description copied from interface:
CwmDependencyClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmDependency
in interface CwmDependencyClass
- Returns:
- The created instance object.
createCwmDependency
public CwmDependency createCwmDependency(String name,
VisibilityKind visibility,
String kind)
- Description copied from interface:
CwmDependencyClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmDependency
in interface CwmDependencyClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.kind
- Contains a description of the nature of the dependency
relationship between the client and supplier. The list of possible
values is open-ended. However, CWM predefines the values "Abstraction"
and "Usage".
- 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