oracle.javatools.db.sql
Class AbstractFromObjectUsage
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.sql.AbstractSQLFragment
oracle.javatools.db.sql.AbstractFromObjectUsage
- All Implemented Interfaces:
- Copyable, DBObject, DynamicPropertySet, FromObjectUsage, SQLFragment
- Direct Known Subclasses:
- ColumnKeywordUsage, ColumnUsage, SelectObjectUsage
- public abstract class AbstractFromObjectUsage
- extends AbstractSQLFragment
- implements FromObjectUsage
Abstract SQLFragment implementation of FromObjectUsage.
|
Method Summary |
protected void |
copyToImpl(AbstractFromObjectUsage target)
|
protected boolean |
equalsImpl(AbstractFromObjectUsage other)
|
FromObject |
getFromObject()
Gets the FromObject that this ColumnUsage is dependent on. |
protected java.lang.StringBuffer |
getSQLTextImpl()
Default implementation of getSQLText() which returns a StringBuffer
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. e.g. |
void |
setFromObject(FromObject from)
Sets the FromObject that this ColumnUsage is dependent on. |
void |
setQualified(boolean q)
Sets wether this column usage should qualify itself with the alias from its
FromObject. e.g. |
| Methods inherited from class oracle.javatools.db.sql.AbstractSQLFragment |
appendToBuffer, changeParent, copyList, copyList, getChildren, getParent, getTextOrNull, getType, hashCode, removeParent, setParent, setParents, toString |
| Methods inherited from class oracle.javatools.db.AbstractDBObject |
compareToImpl, copyToImpl, equalsImpl, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, replaceReferenceIDs, 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.DBObject |
copyTo, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
AbstractFromObjectUsage
protected AbstractFromObjectUsage()
AbstractFromObjectUsage
protected AbstractFromObjectUsage(FromObject from)
setFromObject
public void setFromObject(FromObject from)
- Sets the FromObject that this ColumnUsage is dependent on.
- Specified by:
setFromObject in interface FromObjectUsage
getFromObject
public FromObject getFromObject()
- Gets the FromObject that this ColumnUsage is dependent on.
- Specified by:
getFromObject in interface FromObjectUsage
setQualified
public void setQualified(boolean q)
- Sets wether this column usage should qualify itself with the alias from its
FromObject. e.g. EMP.ENAME rather than ENAME
- Specified by:
setQualified in interface FromObjectUsage
isQualified
public boolean isQualified()
- Gets wether this column usage should qualify itself with the alias from its
FromObject. e.g. EMP.ENAME rather than ENAME
- Specified by:
isQualified in interface FromObjectUsage
copyToImpl
protected void copyToImpl(AbstractFromObjectUsage target)
equalsImpl
protected boolean equalsImpl(AbstractFromObjectUsage other)
getSQLTextImpl
protected java.lang.StringBuffer getSQLTextImpl()
- Default implementation of getSQLText() which returns a StringBuffer
containing the from object name (if there is one and we're qualified) DOT
the column name.
Copyright © 1997, 2005, Oracle.All rights reserved.