|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractChildDBObject oracle.javatools.db.Column oracle.javatools.db.ViewColumn
public class ViewColumn
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 | |
---|---|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(ViewColumn copy,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
boolean |
equalsImpl(ViewColumn copy)
|
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). |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
DBObjectID |
getSelectObjectID()
Returns the SelectObject that this ViewColumn wraps. |
boolean |
isAsterisk()
|
boolean |
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Override in subclasses to replace reference IDs as appropriate. |
void |
setSelectObjectID(DBObjectID selectID)
Sets the SelectObject that this ViewColumn wraps. |
Methods inherited from class oracle.javatools.db.Column |
---|
copyToImpl, equalsImpl, getDataTypeUsage, getDefault, getOwnedObjectsImpl, getPrecision, getRelation, getScale, getType, isNotNull, setDataTypeUsage, setDefault, setNotNull, setPrecision, setRelation, setScale |
Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
---|
copyToImpl, findParent, getParent, setParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, setProperties, setProperty, 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, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Constructor Detail |
---|
public ViewColumn()
public ViewColumn(DBObjectID selectID)
Method Detail |
---|
public DBObjectID getSelectObjectID()
public void setSelectObjectID(DBObjectID selectID)
public java.lang.String getName()
getName
in interface DBObject
getName
in class AbstractDBObject
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractDBObject
getReferenceIDsImpl
in class Column
refs
- the collection of ids this object referencespublic boolean equals(java.lang.Object target)
equals
in class Column
public boolean equalsImpl(ViewColumn copy)
public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class Column
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
protected void copyToImpl(ViewColumn copy, DBObject copyParent, IDPolicy idPolicy)
public boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
AbstractDBObject
replaceReferenceIDs
in interface DBObject
replaceReferenceIDs
in class Column
idMap
- key = old DBObjectID, value = new DBObjectID
public boolean isAsterisk()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |