net.sf.farrago.cwm.relational
Interface CwmView

All Superinterfaces:
CwmClass, CwmClassifier, CwmColumnSet, CwmElement, CwmModelElement, CwmNamedColumnSet, CwmNamespace, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
FemLocalView
All Known Implementing Classes:
CwmView$Hib, FemLocalView$Hib

public interface CwmView
extends CwmNamedColumnSet

View object instance 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
 CwmQueryExpression getQueryExpression()
          Returns the value of attribute queryExpression.
 boolean isCheckOption()
          Returns the value of attribute checkOption.
 boolean isReadOnly()
          Returns the value of attribute isReadOnly.
 void setCheckOption(boolean newValue)
          Sets the value of checkOption attribute.
 void setQueryExpression(CwmQueryExpression newValue)
          Sets the value of queryExpression attribute.
 void setReadOnly(boolean newValue)
          Sets the value of isReadOnly 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

isReadOnly

boolean isReadOnly()
Returns the value of attribute isReadOnly. Indicates whether the underlying tables can be updated through an update to this View.

Returns:
Value of attribute isReadOnly.

setReadOnly

void setReadOnly(boolean newValue)
Sets the value of isReadOnly attribute. See isReadOnly() for description on the attribute.

Parameters:
newValue - New value to be set.

isCheckOption

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

Returns:
Value of attribute checkOption.

setCheckOption

void setCheckOption(boolean newValue)
Sets the value of checkOption attribute. See isCheckOption() for description on the attribute.

Parameters:
newValue - New value to be set.

getQueryExpression

CwmQueryExpression getQueryExpression()
Returns the value of attribute 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:
Value of attribute queryExpression.

setQueryExpression

void setQueryExpression(CwmQueryExpression newValue)
Sets the value of queryExpression attribute. See getQueryExpression() for description on the attribute.

Parameters:
newValue - New value to be set.