|
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.sql.AbstractSQLFragment oracle.javatools.db.sql.AbstractFromObjectUsage
public abstract class AbstractFromObjectUsage
Abstract SQLFragment implementation of FromObjectUsage.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary |
---|
Fields inherited from class oracle.javatools.db.sql.AbstractSQLFragment |
---|
DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, NEWLINE, SPACE |
Fields inherited from interface oracle.javatools.db.sql.SQLFragment |
---|
CONNECTBY, FROM, GROUPBY, HAVING, NOCYCLE, ORDERBY, SELECT, STARTWITH, TYPE, WHERE |
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
protected |
AbstractFromObjectUsage()
|
protected |
AbstractFromObjectUsage(DBObjectID fromId)
|
protected |
AbstractFromObjectUsage(FromObject from)
Deprecated. - use ID based constructor instead |
Method Summary | |
---|---|
protected void |
copyToImpl(AbstractFromObjectUsage target,
DBObject copyParent,
IDPolicy idPolicy)
|
protected boolean |
equalsImpl(AbstractFromObjectUsage other)
|
FromObject |
getFromObject()
Deprecated. - use setFromObjectID() instead |
DBObjectID |
getFromObjectID()
Returns the ID of the FromObject that this object is dependent on. |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
protected java.lang.StringBuilder |
getSQLTextImpl()
Default implementation of getSQLText() which returns a StringBuilder containing the from object name (if there is one and we're qualified) DOT the column name. |
boolean |
isQualified()
Gets wether this column usage should qualify itself with the alias from its FromObject. |
boolean |
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Override in subclasses to replace reference IDs as appropriate. |
FromObject |
resolveFromObject()
Convenience method for resolving the stored FROM object id. |
protected FromObject |
resolveFromObject(DBObjectID fromId)
|
void |
setFromObject(FromObject from)
Deprecated. - use setFromObjectID() instead |
void |
setFromObjectID(DBObjectID id)
Sets the ID of the FromObject that this object is dependent on. |
void |
setQualified(boolean q)
Sets wether this column usage should qualify itself with the alias from its FromObject. |
Methods inherited from class oracle.javatools.db.sql.AbstractSQLFragment |
---|
appendToBuffer, argsToString, getTextOrNull, getTextOrNull, getType, setParent, surroundWithBrackets, surroundWithBrackets, toString |
Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
---|
copyToImpl, findParent, getParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, setID, setName, setProperties, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.sql.FromObjectUsage |
---|
getColumnName |
Methods inherited from interface oracle.javatools.db.sql.SQLFragment |
---|
getSQLText |
Methods inherited from interface oracle.javatools.db.ChildDBObject |
---|
getParent, setParent |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, getProperty, setProperties, setProperty |
Constructor Detail |
---|
protected AbstractFromObjectUsage()
@Deprecated protected AbstractFromObjectUsage(FromObject from)
from
- protected AbstractFromObjectUsage(DBObjectID fromId)
fromId
- Method Detail |
---|
@Deprecated public void setFromObject(FromObject from)
setFromObject
in interface FromObjectUsage
@Deprecated public FromObject getFromObject()
getFromObject
in interface FromObjectUsage
public FromObject resolveFromObject()
resolveFromObject
in interface FromObjectUsage
protected FromObject resolveFromObject(DBObjectID fromId)
public void setFromObjectID(DBObjectID id)
FromObjectUsage
setFromObjectID
in interface FromObjectUsage
public DBObjectID getFromObjectID()
FromObjectUsage
getFromObjectID
in interface FromObjectUsage
public void setQualified(boolean q)
setQualified
in interface FromObjectUsage
public boolean isQualified()
isQualified
in interface FromObjectUsage
protected void copyToImpl(AbstractFromObjectUsage target, DBObject copyParent, IDPolicy idPolicy)
protected boolean equalsImpl(AbstractFromObjectUsage other)
protected java.lang.StringBuilder getSQLTextImpl()
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractDBObject
getReferenceIDsImpl
in class AbstractDBObject
refs
- the collection of ids this object referencespublic boolean replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
AbstractDBObject
replaceReferenceIDs
in interface DBObject
replaceReferenceIDs
in class AbstractDBObject
idMap
- key = old DBObjectID, value = new DBObjectID
|
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 |