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

public class CwmQueryExpression$Hib
extends HibernateRefObject
implements CwmQueryExpression, HibernateAssociable

QueryExpression object instance interface. QueryExpression instances contain query statements in language-dependent form.

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  String body$Hib
           
protected  String language$Hib
           
protected  HibernateOneToOneLazyAssociation query$Comp$CwmQueryColumnSet$Hib
           
protected  HibernateOneToOneLazyAssociation queryExpression$Comp$CwmView$Hib
           
 
Constructor Summary
CwmQueryExpression$Hib()
           
CwmQueryExpression$Hib(String body, String language)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 HibernateAssociation getAssociation(String type, boolean firstEnd)
           
 String getBody()
          Returns the value of attribute body.
 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)
           
 HibernateOneToOneLazyAssociation getQuery$Comp$CwmQueryColumnSet$Hib()
           
 HibernateOneToOneLazyAssociation getQueryExpression$Comp$CwmView$Hib()
           
 RefObject refImmediateComposite()
           
protected  void removeAssociations()
           
 void setAssociation(String type, boolean firstEnd, HibernateAssociation assoc)
           
 void setBody(String newValue)
          Sets the value of body attribute.
 void setBody$Hib(String newValue)
           
 void setLanguage(String newValue)
          Sets the value of language attribute.
 void setLanguage$Hib(String newValue)
           
 void setQuery$Comp$CwmQueryColumnSet$Hib(HibernateOneToOneLazyAssociation newValue)
           
 void setQueryExpression$Comp$CwmView$Hib(HibernateOneToOneLazyAssociation 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

queryExpression$Comp$CwmView$Hib

protected HibernateOneToOneLazyAssociation queryExpression$Comp$CwmView$Hib

query$Comp$CwmQueryColumnSet$Hib

protected HibernateOneToOneLazyAssociation query$Comp$CwmQueryColumnSet$Hib
Constructor Detail

CwmQueryExpression$Hib

CwmQueryExpression$Hib()

CwmQueryExpression$Hib

CwmQueryExpression$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.

getQueryExpression$Comp$CwmView$Hib

public HibernateOneToOneLazyAssociation getQueryExpression$Comp$CwmView$Hib()

setQueryExpression$Comp$CwmView$Hib

public void setQueryExpression$Comp$CwmView$Hib(HibernateOneToOneLazyAssociation newValue)

getQuery$Comp$CwmQueryColumnSet$Hib

public HibernateOneToOneLazyAssociation getQuery$Comp$CwmQueryColumnSet$Hib()

setQuery$Comp$CwmQueryColumnSet$Hib

public void setQuery$Comp$CwmQueryColumnSet$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