Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.javatools.db
Class ViewColumn

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractChildDBObject
          extended by oracle.javatools.db.Column
              extended by oracle.javatools.db.ViewColumn
All Implemented Interfaces:
ChildDBObject, DBObject, Copyable, DynamicPropertySet

public class ViewColumn
extends Column

Custom Column for Views to use when they have a DeclarativeSQLQuery. A View Column wraps a SelectObject from the View's DeclarativeSQLQuery.

getOwnedObjects() does NOT return the SelectObject - the column doesn't own the SelectObject, the query does.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport
 
Field Summary
 
Fields inherited from class oracle.javatools.db.Column
AUTO_GENERATED_SEQUENCE, AUTO_GENERATED_SEQUENCE_TRIGGER, TYPE
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
ViewColumn()
           
ViewColumn(DBObjectID selectID)
          Creates a new ViewColumn based on the given SelectObject).
 
Method Summary
 java.lang.String getName()
          Overridden from DBObject - if the ViewColumn has no name specifically set the name of the select object is used (alias, or expression if no alias).
 DBObjectID getSelectObjectID()
          Returns the SelectObject that this ViewColumn wraps.
 boolean isAsterisk()
           
 void setSelectObjectID(DBObjectID selectID)
          Sets the SelectObject that this ViewColumn wraps.
 
Methods inherited from class oracle.javatools.db.Column
getDataTypeUsage, getDefault, getPrecision, getRelation, getScale, getType, isNotNull, setDataTypeUsage, setDefault, setNotNull, setPrecision, setRelation, setScale
 
Methods inherited from class oracle.javatools.db.AbstractChildDBObject
copyToImpl, findParent, getParent, getProperty, setParent, setProperty
 
Methods inherited from class oracle.javatools.db.AbstractDBObject
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.javatools.db.DBObject
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, setProperties
 

Constructor Detail

ViewColumn

public ViewColumn()

ViewColumn

public ViewColumn(DBObjectID selectID)
Creates a new ViewColumn based on the given SelectObject).

Method Detail

getSelectObjectID

public DBObjectID getSelectObjectID()
Returns the SelectObject that this ViewColumn wraps.


setSelectObjectID

public void setSelectObjectID(DBObjectID selectID)
Sets the SelectObject that this ViewColumn wraps.


getName

public java.lang.String getName()
Overridden from DBObject - if the ViewColumn has no name specifically set the name of the select object is used (alias, or expression if no alias).

Specified by:
getName in interface DBObject
Overrides:
getName in class AbstractDBObject
Returns:
a string containing the name of this object.

isAsterisk

public boolean isAsterisk()

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.