net.sf.farrago.cwm.relational
Class CwmViewClass$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.relational.CwmViewClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmViewClass
public class CwmViewClass$Hib
- extends HibernateRefClass
- implements CwmViewClass
View class proxy implementation.
A view is a non-materialized set of rows, defined by the associated query.
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
CwmViewClass$Hib
public CwmViewClass$Hib(RefPackage container)
createCwmView
public CwmView createCwmView()
- Description copied from interface:
CwmViewClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmView
in interface CwmViewClass
- Returns:
- The created instance object.
createCwmView
public CwmView createCwmView(String name,
VisibilityKind visibility,
boolean isAbstract,
boolean isReadOnly,
boolean checkOption,
CwmQueryExpression queryExpression)
- Description copied from interface:
CwmViewClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmView
in interface CwmViewClass
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.isAbstract
- An abstract Classifier is not instantiable.isReadOnly
- Indicates whether the underlying tables can be
updated through an update to this View.checkOption
- This field is meaningful only if the view is not
ReadOnly. CheckOption indicates that the RDBMS will validate that
changes made to the data verify the view filtering condition and
belong to the view result set.queryExpression
- The query associated with the View.
The query result must match the set of Columns associated with the
View (in parent class ColumnSet)
- 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