net.sf.farrago.cwm.relational
Interface CwmViewClass

All Superinterfaces:
RefBaseObject, RefClass, RefFeatured
All Known Implementing Classes:
CwmViewClass$Hib

public interface CwmViewClass
extends RefClass

View class proxy interface. 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.


Method Summary
 CwmView createCwmView()
          The default factory operation used to create an instance object.
 CwmView createCwmView(String name, VisibilityKind visibility, boolean isAbstract, boolean isReadOnly, boolean checkOption, CwmQueryExpression queryExpression)
          Creates an instance object having attributes initialized by the passed values.
 
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
 

Method Detail

createCwmView

CwmView createCwmView()
The default factory operation used to create an instance object.

Returns:
The created instance object.

createCwmView

CwmView createCwmView(String name,
                      VisibilityKind visibility,
                      boolean isAbstract,
                      boolean isReadOnly,
                      boolean checkOption,
                      CwmQueryExpression queryExpression)
Creates an instance object having attributes initialized by the passed values.

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.