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

public class CwmBooleanExpression$Hib
extends HibernateRefObject
implements CwmBooleanExpression, HibernateAssociable

BooleanExpression object instance interface. In the metamodel BooleanExpression defines a statement which will evaluate to an instance of Boolean 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 actionCondition$Comp$CwmTrigger$Hib
           
protected  HibernateOneToOneLazyAssociation body$Comp$CwmConstraint$Hib
           
protected  String body$Hib
           
protected  String language$Hib
           
 
Constructor Summary
CwmBooleanExpression$Hib()
           
CwmBooleanExpression$Hib(String body, String language)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateOneToOneLazyAssociation getActionCondition$Comp$CwmTrigger$Hib()
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getBody()
          Returns the value of attribute body.
 HibernateOneToOneLazyAssociation getBody$Comp$CwmConstraint$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 setActionCondition$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$CwmConstraint$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$CwmConstraint$Hib

protected HibernateOneToOneLazyAssociation body$Comp$CwmConstraint$Hib

actionCondition$Comp$CwmTrigger$Hib

protected HibernateOneToOneLazyAssociation actionCondition$Comp$CwmTrigger$Hib
Constructor Detail

CwmBooleanExpression$Hib

CwmBooleanExpression$Hib()

CwmBooleanExpression$Hib

CwmBooleanExpression$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$CwmConstraint$Hib

public HibernateOneToOneLazyAssociation getBody$Comp$CwmConstraint$Hib()

setBody$Comp$CwmConstraint$Hib

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

getActionCondition$Comp$CwmTrigger$Hib

public HibernateOneToOneLazyAssociation getActionCondition$Comp$CwmTrigger$Hib()

setActionCondition$Comp$CwmTrigger$Hib

public void setActionCondition$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