net.sf.farrago.cwm.behavioral
Class CwmOperationClass$Hib

java.lang.Object
  extended by org.eigenbase.enki.jmi.impl.RefBaseObjectBase
      extended by org.eigenbase.enki.jmi.impl.RefFeaturedBase
          extended by org.eigenbase.enki.jmi.impl.RefClassBase
              extended by org.eigenbase.enki.hibernate.jmi.HibernateRefClass
                  extended by net.sf.farrago.cwm.behavioral.CwmOperationClass$Hib
All Implemented Interfaces:
RefBaseObject, RefClass, RefFeatured, CwmOperationClass

public class CwmOperationClass$Hib
extends HibernateRefClass
implements CwmOperationClass

Operation class proxy implementation. Operation is a service that can be requested from an object to effect behavior. An Operation has a signature, which describes the parameters that are possible (including possible return values). In the metamodel, an Operation is a BehavioralFeature that can be applied to instances of the Classifier that contains the Operation. Operation is the specification, while Method is the implementation.

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.


Field Summary
private static String _id
           
private static String _queryCacheRegion
           
private static String _table
           
 
Constructor Summary
CwmOperationClass$Hib(RefPackage container)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 CwmOperation createCwmOperation()
          The default factory operation used to create an instance object.
 CwmOperation createCwmOperation(String name, VisibilityKind visibility, ScopeKind ownerScope, boolean isQuery, boolean isAbstract)
          Creates an instance object having attributes initialized by the passed values.
 String getAssociationColumnName(String type, boolean firstEnd)
           
 Collection<String> getAssociationColumnNames()
           
 String getClassIdentifier()
           
 String getQueryCacheRegion()
           
 String getTable()
           
 
Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefClass
getHibernateRepository, getInstanceClass, getInterfaceClass, refAllOfClass, refAllOfType
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefClassBase
getRepository, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum, refImmediatePackage, register, unregister
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefFeaturedBase
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Field Detail

_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
Constructor Detail

CwmOperationClass$Hib

public CwmOperationClass$Hib(RefPackage container)
Method Detail

createCwmOperation

public CwmOperation createCwmOperation()
Description copied from interface: CwmOperationClass
The default factory operation used to create an instance object.

Specified by:
createCwmOperation in interface CwmOperationClass
Returns:
The created instance object.

createCwmOperation

public CwmOperation createCwmOperation(String name,
                                       VisibilityKind visibility,
                                       ScopeKind ownerScope,
                                       boolean isQuery,
                                       boolean isAbstract)
Description copied from interface: CwmOperationClass
Creates an instance object having attributes initialized by the passed values.

Specified by:
createCwmOperation in interface CwmOperationClass
Parameters:
name - An identifier for the ModelElement within its containing Namespace.
visibility - Specifies extent of the visibility of the ModelElement within its owning Namespace.
ownerScope - Specifies whether the Feature appears in every instance of the Classifier or whether it appears only once for the entire Classifier.
isQuery - Specifies whether an execution of the BehavioralFeature leaves the state of the system unchanged. True indicates that the state is unchanged; false indicates that side-effects may occur.
isAbstract - If true, then the Operation does not have an implementation, and one must be supplied by a descendant. If false, the Operation must have an implementation in the class or inherited from an ancestor.
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