net.sf.farrago.cwm.relational
Interface CwmTable

All Superinterfaces:
CwmClass, CwmClassifier, CwmColumnSet, CwmElement, CwmModelElement, CwmNamedColumnSet, CwmNamespace, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
FemForeignTable, FemLocalTable, FemStoredTable
All Known Implementing Classes:
CwmTable$Hib, FemForeignTable$Hib, FemLocalTable$Hib

public interface CwmTable
extends CwmNamedColumnSet

Table object instance interface. 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.


Method Summary
 String getTemporaryScope()
          Returns the value of attribute temporaryScope.
 List<CwmTrigger> getTrigger()
          Returns the value of reference trigger.
 boolean isSystem()
          Returns the value of attribute isSystem.
 boolean isTemporary()
          Returns the value of attribute isTemporary.
 void setSystem(boolean newValue)
          Sets the value of isSystem attribute.
 void setTemporary(boolean newValue)
          Sets the value of isTemporary attribute.
 void setTemporaryScope(String newValue)
          Sets the value of temporaryScope attribute.
 
Methods inherited from interface net.sf.farrago.cwm.relational.CwmNamedColumnSet
getOptionScopeColumn, getType, getUsingTrigger, setType
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmClassifier
getFeature, isAbstract, setAbstract
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmNamespace
getOwnedElement
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, 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
 

Method Detail

isTemporary

boolean isTemporary()
Returns the value of attribute 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.

Returns:
Value of attribute isTemporary.

setTemporary

void setTemporary(boolean newValue)
Sets the value of isTemporary attribute. See isTemporary() for description on the attribute.

Parameters:
newValue - New value to be set.

getTemporaryScope

String getTemporaryScope()
Returns the value of attribute 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.

Returns:
Value of attribute temporaryScope.

setTemporaryScope

void setTemporaryScope(String newValue)
Sets the value of temporaryScope attribute. See getTemporaryScope() for description on the attribute.

Parameters:
newValue - New value to be set.

isSystem

boolean isSystem()
Returns the value of attribute isSystem. Indicates that the Table is a System Table (generally part of or view on the system catalog).

Returns:
Value of attribute isSystem.

setSystem

void setSystem(boolean newValue)
Sets the value of isSystem attribute. See isSystem() for description on the attribute.

Parameters:
newValue - New value to be set.

getTrigger

List<CwmTrigger> getTrigger()
Returns the value of reference trigger.

Returns:
Value of reference trigger. Element type: CwmTrigger