net.sf.farrago.cwm.core
Class CwmProcedureExpression$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.core.CwmProcedureExpression$Hib
All Implemented Interfaces:
RefBaseObject, RefFeatured, RefObject, CwmElement, CwmExpression, CwmProcedureExpression, HibernateAssociable, HibernateIdentifiable

public class CwmProcedureExpression$Hib
extends HibernateRefObject
implements CwmProcedureExpression, HibernateAssociable

ProcedureExpression object instance interface. In the metamodel ProcedureExpression defines a statement which will result in a change to the values of its environment when it is evaluated.

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 actionStatement$Comp$CwmTrigger$Hib
           
protected  HibernateOneToOneLazyAssociation body$Comp$CwmMethod$Hib
           
protected  String body$Hib
           
protected  String language$Hib
           
 
Constructor Summary
CwmProcedureExpression$Hib()
           
CwmProcedureExpression$Hib(String body, String language)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateOneToOneLazyAssociation getActionStatement$Comp$CwmTrigger$Hib()
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getBody()
          Returns the value of attribute body.
 HibernateOneToOneLazyAssociation getBody$Comp$CwmMethod$Hib()
           
 String getBody$Hib()
           
 String getClassIdentifier()
           
 Collection<HibernateAssociation> getComposingAssociations()
           
 String getLanguage()
          Returns the value of attribute language.
 String getLanguage$Hib()
           
 Collection<HibernateAssociation> getNonComposingAssociations()
           
 HibernateAssociation getOrCreateAssociation(String type, boolean firstEnd)
           
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setActionStatement$Comp$CwmTrigger$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setBody(String newValue)
          Sets the value of body attribute.
 void setBody$Comp$CwmMethod$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setBody$Hib(String newValue)
           
 void setLanguage(String newValue)
          Sets the value of language attribute.
 void setLanguage$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

body$Hib

protected String body$Hib

language$Hib

protected String language$Hib

body$Comp$CwmMethod$Hib

protected HibernateOneToOneLazyAssociation body$Comp$CwmMethod$Hib

actionStatement$Comp$CwmTrigger$Hib

protected HibernateOneToOneLazyAssociation actionStatement$Comp$CwmTrigger$Hib
Constructor Detail

CwmProcedureExpression$Hib

CwmProcedureExpression$Hib()

CwmProcedureExpression$Hib

CwmProcedureExpression$Hib(String body,
                           String language)
Method Detail

getBody$Hib

public String getBody$Hib()

setBody$Hib

public void setBody$Hib(String newValue)

getBody

public String getBody()
Description copied from interface: CwmExpression
Returns the value of attribute body. The text of the expression expressed in the given language.

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

setBody

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

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

getLanguage$Hib

public String getLanguage$Hib()

setLanguage$Hib

public void setLanguage$Hib(String newValue)

getLanguage

public String getLanguage()
Description copied from interface: CwmExpression
Returns the value of attribute language. Names the language in which the expression body is represented. The interpretation of the expression depends on the language. If the language name is omitted, no interpretation for the expression can be assumed. In general, a language name should be spelled and capitalized exactly as it appears in the document defining the language. For example, use COBOL, not Cobol; use Ada, not ADA; use PostScript, not Postscript.

Specified by:
getLanguage in interface CwmExpression
Returns:
Value of attribute language.

setLanguage

public void setLanguage(String newValue)
Description copied from interface: CwmExpression
Sets the value of language attribute. See CwmExpression.getLanguage() for description on the attribute.

Specified by:
setLanguage in interface CwmExpression
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)

getActionStatement$Comp$CwmTrigger$Hib

public HibernateOneToOneLazyAssociation getActionStatement$Comp$CwmTrigger$Hib()

setActionStatement$Comp$CwmTrigger$Hib

public void setActionStatement$Comp$CwmTrigger$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