net.sf.farrago.cwm.relational
Class CwmProcedure$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.RefObjectBase
              extended by org.eigenbase.enki.hibernate.storage.HibernateObject
                  extended by org.eigenbase.enki.hibernate.jmi.HibernateRefObject
                      extended by net.sf.farrago.cwm.relational.CwmProcedure$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmBehavioralFeature, CwmMethod, CwmElement, CwmFeature, CwmModelElement, CwmProcedure, HibernateAssociable, HibernateIdentifiable

public class CwmProcedure$Hib
extends HibernateRefObject
implements CwmProcedure, HibernateAssociable

Procedure object instance interface. This class describes Relational DBMS Stored procedures and functions.

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
           
protected  HibernateOneToOneLazyAssociation body$Comp$CwmMethod$Hib
           
protected  HibernateManyToManyLazyAssociation clientDependency$Hib
           
protected  HibernateManyToManyLazyAssociation constraint$Hib
           
protected  HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib
           
protected  HibernateManyToManyLazyAssociation importer$Hib
           
protected  Boolean isQuery$Hib
           
protected  String name$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib
           
protected  HibernateOneToManyLazyOrderedAssociation owner$Hib
           
protected  String ownerScope$Hib
           
protected  HibernateOneToManyLazyOrderedAssociation parameter$Hib
           
protected  HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib
           
protected  HibernateOneToManyLazyAssociation specification$Hib
           
protected  HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib
           
protected  HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib
           
protected  String type$Hib
           
protected  String visibility$Hib
           
 
Constructor Summary
CwmProcedure$Hib()
           
CwmProcedure$Hib(String name, VisibilityKind visibility, ScopeKind ownerScope, boolean isQuery, CwmProcedureExpression body, ProcedureType type)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 CwmProcedureExpression getBody()
          Returns the value of attribute body.
 HibernateOneToOneLazyAssociation getBody$Comp$CwmMethod$Hib()
           
 String getClassIdentifier()
           
 Collection<CwmDependency> getClientDependency()
          Returns the value of reference clientDependency.
 HibernateManyToManyLazyAssociation getClientDependency$Hib()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 Collection<CwmConstraint> getConstraint()
          Returns the value of reference constraint.
 HibernateManyToManyLazyAssociation getConstraint$Hib()
           
 HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()
           
 Collection<CwmPackage> getImporter()
          Returns the value of reference importer.
 HibernateManyToManyLazyAssociation getImporter$Hib()
           
 Boolean getIsQuery$Hib()
           
 String getName()
          Returns the value of attribute name.
 String getName$Hib()
           
 CwmNamespace getNamespace()
          Returns the value of reference namespace.
 HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 CwmClassifier getOwner()
          Returns the value of reference owner.
 HibernateOneToManyLazyOrderedAssociation getOwner$Hib()
           
 ScopeKind getOwnerScope()
          Returns the value of attribute ownerScope.
 String getOwnerScope$Hib()
           
 List<CwmParameter> getParameter()
          Returns the value of reference parameter.
 HibernateOneToManyLazyOrderedAssociation getParameter$Hib()
           
 HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()
           
 CwmOperation getSpecification()
          Returns the value of reference specification.
 HibernateOneToManyLazyAssociation getSpecification$Hib()
           
 HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()
           
 HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()
           
 ProcedureType getType()
          Returns the value of attribute type.
 String getType$Hib()
           
 VisibilityKind getVisibility()
          Returns the value of attribute visibility.
 String getVisibility$Hib()
           
 boolean isQuery()
          Returns the value of attribute isQuery.
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setBody(CwmProcedureExpression newValue)
          Sets the value of body attribute.
 void setBody$Comp$CwmMethod$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)
           
 void setIsQuery$Hib(Boolean newValue)
           
 void setName(String newValue)
          Sets the value of name attribute.
 void setName$Hib(String newValue)
           
 void setNamespace(CwmNamespace newValue)
          Sets the value of namespace reference.
 void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setOwner(CwmClassifier newValue)
          Sets the value of owner reference.
 void setOwner$Hib(HibernateOneToManyLazyOrderedAssociation newValue)
           
 void setOwnerScope(ScopeKind newValue)
          Sets the value of ownerScope attribute.
 void setOwnerScope$Hib(String newValue)
           
 void setParameter$Hib(HibernateOneToManyLazyOrderedAssociation newValue)
           
 void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)
           
 void setQuery(boolean newValue)
          Sets the value of isQuery attribute.
 void setSpecification(CwmOperation newValue)
          Sets the value of specification reference.
 void setSpecification$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)
           
 void setType(ProcedureType newValue)
          Sets the value of type attribute.
 void setType$Hib(String newValue)
           
 void setVisibility(VisibilityKind newValue)
          Sets the value of visibility attribute.
 void setVisibility$Hib(String newValue)
           
 
Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefObject
associationSetSingle, attributeSetSingle, findAssociationEnd, fireAssociationRemoveAllEvents, fireAttributeSetEvent, getHibernateRepository, getRepository, refClass, refDelete
 
Methods inherited from class org.eigenbase.enki.hibernate.storage.HibernateObject
delete, delete, save, save
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefObjectBase
findAttribute, refImmediatePackage, refIsInstanceOf, refMetaObject, refOutermostComposite, setRefMetaObject, 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, refMofId, refOutermostPackage, refVerifyConstraints, setMofId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refIsInstanceOf, refOutermostComposite
 
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
 
Methods inherited from interface org.eigenbase.enki.hibernate.storage.HibernateIdentifiable
getMofId
 

Field Detail

_id

private static final String _id
See Also:
Constant Field Values

name$Hib

protected String name$Hib

visibility$Hib

protected String visibility$Hib

ownerScope$Hib

protected String ownerScope$Hib

isQuery$Hib

protected Boolean isQuery$Hib

type$Hib

protected String type$Hib

clientDependency$Hib

protected HibernateManyToManyLazyAssociation clientDependency$Hib

constraint$Hib

protected HibernateManyToManyLazyAssociation constraint$Hib

importer$Hib

protected HibernateManyToManyLazyAssociation importer$Hib

namespace$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation namespace$Hib

owner$Hib

protected HibernateOneToManyLazyOrderedAssociation owner$Hib

parameter$Hib

protected HibernateOneToManyLazyOrderedAssociation parameter$Hib

specification$Hib

protected HibernateOneToManyLazyAssociation specification$Hib

dependencySupplier_SupplierDependency$Hib

protected HibernateManyToManyLazyAssociation dependencySupplier_SupplierDependency$Hib

stereotypedElement_Stereotype$Hib

protected HibernateOneToManyLazyAssociation stereotypedElement_Stereotype$Hib

taggedElement_TaggedValue$Hib

protected HibernateOneToManyLazyAssociation taggedElement_TaggedValue$Hib

privilegeIsGrantedOnElement_Privilege$Hib

protected HibernateOneToManyLazyHighCardinalityAssociation privilegeIsGrantedOnElement_Privilege$Hib

body$Comp$CwmMethod$Hib

protected HibernateOneToOneLazyAssociation body$Comp$CwmMethod$Hib
Constructor Detail

CwmProcedure$Hib

CwmProcedure$Hib()

CwmProcedure$Hib

CwmProcedure$Hib(String name,
                 VisibilityKind visibility,
                 ScopeKind ownerScope,
                 boolean isQuery,
                 CwmProcedureExpression body,
                 ProcedureType type)
Method Detail

getName$Hib

public String getName$Hib()

setName$Hib

public void setName$Hib(String newValue)

getName

public String getName()
Description copied from interface: CwmModelElement
Returns the value of attribute name. An identifier for the ModelElement within its containing Namespace.

Specified by:
getName in interface CwmModelElement
Returns:
Value of attribute name.

setName

public void setName(String newValue)
Description copied from interface: CwmModelElement
Sets the value of name attribute. See CwmModelElement.getName() for description on the attribute.

Specified by:
setName in interface CwmModelElement
Parameters:
newValue - New value to be set.

getVisibility$Hib

public String getVisibility$Hib()

setVisibility$Hib

public void setVisibility$Hib(String newValue)

getVisibility

public VisibilityKind getVisibility()
Description copied from interface: CwmModelElement
Returns the value of attribute visibility. Specifies extent of the visibility of the ModelElement within its owning Namespace.

Specified by:
getVisibility in interface CwmModelElement
Returns:
Value of attribute visibility.

setVisibility

public void setVisibility(VisibilityKind newValue)
Description copied from interface: CwmModelElement
Sets the value of visibility attribute. See CwmModelElement.getVisibility() for description on the attribute.

Specified by:
setVisibility in interface CwmModelElement
Parameters:
newValue - New value to be set.

getOwnerScope$Hib

public String getOwnerScope$Hib()

setOwnerScope$Hib

public void setOwnerScope$Hib(String newValue)

getOwnerScope

public ScopeKind getOwnerScope()
Description copied from interface: CwmFeature
Returns the value of attribute ownerScope. Specifies whether the Feature appears in every instance of the Classifier or whether it appears only once for the entire Classifier.

Specified by:
getOwnerScope in interface CwmFeature
Returns:
Value of attribute ownerScope.

setOwnerScope

public void setOwnerScope(ScopeKind newValue)
Description copied from interface: CwmFeature
Sets the value of ownerScope attribute. See CwmFeature.getOwnerScope() for description on the attribute.

Specified by:
setOwnerScope in interface CwmFeature
Parameters:
newValue - New value to be set.

getIsQuery$Hib

public Boolean getIsQuery$Hib()

setIsQuery$Hib

public void setIsQuery$Hib(Boolean newValue)

isQuery

public boolean isQuery()
Description copied from interface: CwmBehavioralFeature
Returns the value of attribute 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.

Specified by:
isQuery in interface CwmBehavioralFeature
Returns:
Value of attribute isQuery.

setQuery

public void setQuery(boolean newValue)
Description copied from interface: CwmBehavioralFeature
Sets the value of isQuery attribute. See CwmBehavioralFeature.isQuery() for description on the attribute.

Specified by:
setQuery in interface CwmBehavioralFeature
Parameters:
newValue - New value to be set.

getType$Hib

public String getType$Hib()

setType$Hib

public void setType$Hib(String newValue)

getType

public ProcedureType getType()
Description copied from interface: CwmProcedure
Returns the value of attribute type. A Procedure can be either a Function or a true Procedure. This indicates whether this object returns a value or not.

Specified by:
getType in interface CwmProcedure
Returns:
Value of attribute type.

setType

public void setType(ProcedureType newValue)
Description copied from interface: CwmProcedure
Sets the value of type attribute. See CwmProcedure.getType() for description on the attribute.

Specified by:
setType in interface CwmProcedure
Parameters:
newValue - New value to be set.

getClientDependency

public Collection<CwmDependency> getClientDependency()
Description copied from interface: CwmModelElement
Returns the value of reference clientDependency.

Specified by:
getClientDependency in interface CwmModelElement
Returns:
Value of reference clientDependency. Element type: CwmDependency

getClientDependency$Hib

public HibernateManyToManyLazyAssociation getClientDependency$Hib()

setClientDependency$Hib

public void setClientDependency$Hib(HibernateManyToManyLazyAssociation newValue)

getConstraint

public Collection<CwmConstraint> getConstraint()
Description copied from interface: CwmModelElement
Returns the value of reference constraint.

Specified by:
getConstraint in interface CwmModelElement
Returns:
Value of reference constraint. Element type: CwmConstraint

getConstraint$Hib

public HibernateManyToManyLazyAssociation getConstraint$Hib()

setConstraint$Hib

public void setConstraint$Hib(HibernateManyToManyLazyAssociation newValue)

getImporter

public Collection<CwmPackage> getImporter()
Description copied from interface: CwmModelElement
Returns the value of reference importer.

Specified by:
getImporter in interface CwmModelElement
Returns:
Value of reference importer. Element type: CwmPackage

getImporter$Hib

public HibernateManyToManyLazyAssociation getImporter$Hib()

setImporter$Hib

public void setImporter$Hib(HibernateManyToManyLazyAssociation newValue)

getNamespace

public CwmNamespace getNamespace()
Description copied from interface: CwmModelElement
Returns the value of reference namespace.

Specified by:
getNamespace in interface CwmModelElement
Returns:
Value of reference namespace.

setNamespace

public void setNamespace(CwmNamespace newValue)
Description copied from interface: CwmModelElement
Sets the value of namespace reference. See CwmModelElement.getNamespace() for description on the attribute.

Specified by:
setNamespace in interface CwmModelElement
Parameters:
newValue - New value to be set.

getNamespace$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getNamespace$Hib()

setNamespace$Hib

public void setNamespace$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getOwner

public CwmClassifier getOwner()
Description copied from interface: CwmFeature
Returns the value of reference owner.

Specified by:
getOwner in interface CwmFeature
Returns:
Value of reference owner.

setOwner

public void setOwner(CwmClassifier newValue)
Description copied from interface: CwmFeature
Sets the value of owner reference. See CwmFeature.getOwner() for description on the attribute.

Specified by:
setOwner in interface CwmFeature
Parameters:
newValue - New value to be set.

getOwner$Hib

public HibernateOneToManyLazyOrderedAssociation getOwner$Hib()

setOwner$Hib

public void setOwner$Hib(HibernateOneToManyLazyOrderedAssociation newValue)

getParameter

public List<CwmParameter> getParameter()
Description copied from interface: CwmBehavioralFeature
Returns the value of reference parameter.

Specified by:
getParameter in interface CwmBehavioralFeature
Returns:
Value of reference parameter. Element type: CwmParameter

getParameter$Hib

public HibernateOneToManyLazyOrderedAssociation getParameter$Hib()

setParameter$Hib

public void setParameter$Hib(HibernateOneToManyLazyOrderedAssociation newValue)

getSpecification

public CwmOperation getSpecification()
Description copied from interface: CwmMethod
Returns the value of reference specification.

Specified by:
getSpecification in interface CwmMethod
Returns:
Value of reference specification.

setSpecification

public void setSpecification(CwmOperation newValue)
Description copied from interface: CwmMethod
Sets the value of specification reference. See CwmMethod.getSpecification() for description on the attribute.

Specified by:
setSpecification in interface CwmMethod
Parameters:
newValue - New value to be set.

getSpecification$Hib

public HibernateOneToManyLazyAssociation getSpecification$Hib()

setSpecification$Hib

public void setSpecification$Hib(HibernateOneToManyLazyAssociation newValue)

getDependencySupplier_SupplierDependency$Hib

public HibernateManyToManyLazyAssociation getDependencySupplier_SupplierDependency$Hib()

setDependencySupplier_SupplierDependency$Hib

public void setDependencySupplier_SupplierDependency$Hib(HibernateManyToManyLazyAssociation newValue)

getStereotypedElement_Stereotype$Hib

public HibernateOneToManyLazyAssociation getStereotypedElement_Stereotype$Hib()

setStereotypedElement_Stereotype$Hib

public void setStereotypedElement_Stereotype$Hib(HibernateOneToManyLazyAssociation newValue)

getTaggedElement_TaggedValue$Hib

public HibernateOneToManyLazyAssociation getTaggedElement_TaggedValue$Hib()

setTaggedElement_TaggedValue$Hib

public void setTaggedElement_TaggedValue$Hib(HibernateOneToManyLazyAssociation newValue)

getPrivilegeIsGrantedOnElement_Privilege$Hib

public HibernateOneToManyLazyHighCardinalityAssociation getPrivilegeIsGrantedOnElement_Privilege$Hib()

setPrivilegeIsGrantedOnElement_Privilege$Hib

public void setPrivilegeIsGrantedOnElement_Privilege$Hib(HibernateOneToManyLazyHighCardinalityAssociation newValue)

getBody

public CwmProcedureExpression getBody()
Description copied from interface: CwmMethod
Returns the value of attribute body. A specification of the Method in some appropriate form (such as a programming language). The exact form of a Method?s specification and knowledge of the language in which it is described is outside the scope of the CWM.

Specified by:
getBody in interface CwmMethod
Returns:
Value of attribute body.

setBody

public void setBody(CwmProcedureExpression newValue)
Description copied from interface: CwmMethod
Sets the value of body attribute. See CwmMethod.getBody() for description on the attribute.

Specified by:
setBody in interface CwmMethod
Parameters:
newValue - New value to be set.

getBody$Comp$CwmMethod$Hib

public HibernateOneToOneLazyAssociation getBody$Comp$CwmMethod$Hib()

setBody$Comp$CwmMethod$Hib

public void setBody$Comp$CwmMethod$Hib(HibernateOneToOneLazyAssociation newValue)

getAssociation

public HibernateAssociation getAssociation(String type,
                                           boolean firstEnd)
Specified by:
getAssociation in interface HibernateAssociable

setAssociation

public void setAssociation(String type,
                           boolean firstEnd,
                           HibernateAssociation assoc)
Specified by:
setAssociation in interface HibernateAssociable

getOrCreateAssociation

public HibernateAssociation getOrCreateAssociation(String type,
                                                   boolean firstEnd)
Specified by:
getOrCreateAssociation in interface HibernateAssociable

removeAssociations

protected void removeAssociations()
Specified by:
removeAssociations in class HibernateRefObject

getComposingAssociations

public Collection<HibernateAssociation> getComposingAssociations()
Specified by:
getComposingAssociations in class HibernateRefObject

getNonComposingAssociations

public Collection<HibernateAssociation> getNonComposingAssociations()
Specified by:
getNonComposingAssociations in class HibernateRefObject

refImmediateComposite

public RefObject refImmediateComposite()
Specified by:
refImmediateComposite in interface RefObject
Overrides:
refImmediateComposite in class RefObjectBase

checkConstraints

protected void checkConstraints(List<JmiException> errors,
                                boolean deepVerify)
Specified by:
checkConstraints in class RefBaseObjectBase

getClassIdentifier

public String getClassIdentifier()
Specified by:
getClassIdentifier in class HibernateRefObject