net.sf.farrago.cwm.relational
Class CwmTableClass$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.RefClassBase
              extended by org.eigenbase.enki.hibernate.jmi.HibernateRefClass
                  extended by net.sf.farrago.cwm.relational.CwmTableClass$Hib
All Implemented Interfaces:
RefBaseObject, RefClass, RefFeatured, CwmTableClass

public class CwmTableClass$Hib
extends HibernateRefClass
implements CwmTableClass

Table class proxy implementation. A materialized NamedColumnSet.

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
           
private static String _queryCacheRegion
           
private static String _table
           
 
Constructor Summary
CwmTableClass$Hib(RefPackage container)
           
 
Method Summary
protected  void checkConstraints(List<JmiException> errors, boolean deepVerify)
           
 CwmTable createCwmTable()
          The default factory operation used to create an instance object.
 CwmTable createCwmTable(String name, VisibilityKind visibility, boolean isAbstract, boolean isTemporary, String temporaryScope, boolean isSystem)
          Creates an instance object having attributes initialized by the passed values.
 String getAssociationColumnName(String type, boolean firstEnd)
           
 Collection<String> getAssociationColumnNames()
           
 String getClassIdentifier()
           
 String getQueryCacheRegion()
           
 String getTable()
           
 
Methods inherited from class org.eigenbase.enki.hibernate.jmi.HibernateRefClass
getHibernateRepository, getInstanceClass, getInterfaceClass, refAllOfClass, refAllOfType
 
Methods inherited from class org.eigenbase.enki.jmi.impl.RefClassBase
getRepository, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum, refImmediatePackage, register, 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, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofId, setRefMetaObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
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
 

Field Detail

_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
Constructor Detail

CwmTableClass$Hib

public CwmTableClass$Hib(RefPackage container)
Method Detail

createCwmTable

public CwmTable createCwmTable()
Description copied from interface: CwmTableClass
The default factory operation used to create an instance object.

Specified by:
createCwmTable in interface CwmTableClass
Returns:
The created instance object.

createCwmTable

public CwmTable createCwmTable(String name,
                               VisibilityKind visibility,
                               boolean isAbstract,
                               boolean isTemporary,
                               String temporaryScope,
                               boolean isSystem)
Description copied from interface: CwmTableClass
Creates an instance object having attributes initialized by the passed values.

Specified by:
createCwmTable in interface CwmTableClass
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.
isTemporary - Indicates that the table content is temporary. SQL92 standards provide two types of temporary tables (local Temporary and Global Temporary). However, RDBMS products have implemented variations on this theme. It is recommended that the product manufacturers provide specific temporary information (besides the temporaryScope attribute) in their extensions.
temporaryScope - This attribute is meaningful only when the isTemporary flag is True [C-1]. The scope indicates when the data of this table are available. "SESSION", "APPLICATION" are examples of possible values. Look at the Scope attribute for Global Temporary tables in the SQL standards for more details.
isSystem - Indicates that the Table is a System Table (generally part of or view on the system catalog).
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