net.sf.farrago.cwm.core
Class CwmExpressionClass$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefClassBase
org.eigenbase.enki.hibernate.jmi.HibernateRefClass
net.sf.farrago.cwm.core.CwmExpressionClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmExpressionClass
public class CwmExpressionClass$Hib
- extends HibernateRefClass
- implements CwmExpressionClass
Expression class proxy implementation.
In the metamodel an Expression defines a statement which will evaluate to
a (possibly empty) set of instances when executed in a context. An
Expression does not modify the environment in which it is evaluated. An
expression contains an expression string and the name of an interpretation
language with which to evaluate the string.
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.
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 |
_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
CwmExpressionClass$Hib
public CwmExpressionClass$Hib(RefPackage container)
createCwmExpression
public CwmExpression createCwmExpression()
- Description copied from interface:
CwmExpressionClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmExpression
in interface CwmExpressionClass
- Returns:
- The created instance object.
createCwmExpression
public CwmExpression createCwmExpression(String body,
String language)
- Description copied from interface:
CwmExpressionClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmExpression
in interface CwmExpressionClass
- Parameters:
body
- The text of the expression expressed in the given
language.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.
- 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