org.omg.cwm.resource.relational
Interface View
- All Superinterfaces:
- Classifier, ColumnSet, Element, ModelElement, MOFClass, NamedColumnSet, Namespace, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
- public interface View
- extends NamedColumnSet
A view is a non-materialized set of rows, defined by the associated query.
Method Summary |
org.omg.cwm.foundation.datatypes.QueryExpression |
getQueryExpression()
The query associated with the View.
|
boolean |
isCheckOption()
This field is meaningful only if the view is not ReadOnly. |
boolean |
isReadOnly()
Indicates whether the underlying tables can be updated through an update
to this View. |
void |
setCheckOption(boolean newValue)
This field is meaningful only if the view is not ReadOnly. |
void |
setQueryExpression(org.omg.cwm.foundation.datatypes.QueryExpression newValue)
The query associated with the View.
|
void |
setReadOnly(boolean newValue)
Indicates whether the underlying tables can be updated through an update
to this View. |
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 |
isReadOnly
public boolean isReadOnly()
throws javax.jmi.reflect.JmiException
- Indicates whether the underlying tables can be updated through an update
to this View.
setReadOnly
public void setReadOnly(boolean newValue)
throws javax.jmi.reflect.JmiException
- Indicates whether the underlying tables can be updated through an update
to this View.
isCheckOption
public boolean isCheckOption()
throws javax.jmi.reflect.JmiException
- 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.
setCheckOption
public void setCheckOption(boolean newValue)
throws javax.jmi.reflect.JmiException
- 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.
getQueryExpression
public org.omg.cwm.foundation.datatypes.QueryExpression getQueryExpression()
throws javax.jmi.reflect.JmiException
- The query associated with the View.
The query result must match the
set of Columns associated with the View (in parent class ColumnSet)
setQueryExpression
public void setQueryExpression(org.omg.cwm.foundation.datatypes.QueryExpression newValue)
throws javax.jmi.reflect.JmiException
- The query associated with the View.
The query result must match the
set of Columns associated with the View (in parent class ColumnSet)
Copyright 1997-2005 by Object Management Group, Inc. (http://www.omg.org/),
250 First Ave. Needham, MA 02494 U.S.A. All rights reserved.
Unless otherwise indicated, users may make a single copy of the contents,
in whole or in part, of this web site strictly for personal, non-commercial
use. In the event that all or part of this site is downloaded for personal
use, users shall maintain all proprietary notices including copyright notices
that appear on or in connection with that content. Other than creating a
single copy of contents for personal use as described herein, users may not
copy, reproduce, distribute, republish, download, display, post or transmit
in any form or by any means, including but not limited to electronic,
mechanical, photocopying, recording, or other means, any content found or
linked to the OMG web site without the prior express written permission of OMG.
Any unauthorized use of any content contained on the OMG web site may violate
the copyright laws, trademark laws, laws relating to publicity and privacy,
and other regulations and statutes in the U.S. and other countries.