|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DB2View
A representation of the model object 'DB2 View'. SQL Reference for Cross-Platform Development - v1.1 http://www7b.software.ibm.com/dmdd/library/techarticle/0206sqlref/0206sqlref.html Views A view provides an alternative way of looking at the data in one or more tables. A view is a named specification of a result table. The specification is a SELECT statement that is effectively executed whenever the view is referenced in an SQL statement. Thus, a view can be thought of as having columns and rows just like a base table. For retrieval, all views can be used just like base tables. Whether a view can be used in an insert, update, or delete operation depends on its definition. An index cannot be created for a view. However, an index created for a table on which a view is based may improve the performance of operations on the view. When the column of a view is directly derived from a column of a base table, that column inherits any constraints that apply to the column of the base table. For example, if a view includes a foreign key of its base table, INSERT and UPDATE operations using that view are subject to the same referential constraint as the base table. Likewise, if the base table of a view is a parent table, DELETE operations using that view are subject to the same rules as DELETE operations on the base table. Views (Appendix E. SQLSTATE values -- common return codes) SQLSTATE:51024 A view cannot be used, because it has been marked inoperative.
The following features are supported:
DB2ModelPackage.getDB2View()| Method Summary | |
|---|---|
boolean |
isOperative()
Returns the value of the 'Operative' attribute. |
void |
setOperative(boolean value)
Sets the value of the ' Operative' attribute. |
| Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.tables.ViewTable |
|---|
getCheckType, setCheckType |
| Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.tables.DerivedTable |
|---|
getQueryExpression, setQueryExpression |
| Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.tables.Table |
|---|
getColumns, getIndex, getSchema, getSelfRefColumnGeneration, getSubtables, getSupertable, getTriggers, getUdt, isInsertable, isUpdatable, setSchema, setSelfRefColumnGeneration, setSupertable, setUdt |
| Methods inherited from interface org.eclipse.wst.rdb.internal.models.sql.schema.SQLObject |
|---|
addEAnnotation, addEAnnotationDetail, getComments, getDependencies, getDescription, getEAnnotation, getEAnnotationDetail, getLabel, getPrivileges, removeEAnnotationDetail, setAnnotationDetail, setDescription, setLabel |
| Methods inherited from interface org.eclipse.emf.ecore.sdo.EDataObject |
|---|
getInstanceProperties |
| Methods inherited from interface commonj.sdo.DataObject |
|---|
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, unset |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
|---|
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotations |
| Method Detail |
|---|
boolean isOperative()
If the meaning of the 'Operative' attribute isn't clear, there really should be more of a description here...
setOperative(boolean),
DB2ModelPackage.getDB2View_Operative()void setOperative(boolean value)
Operative' attribute.
value - the new value of the 'Operative' attribute.isOperative()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||