Extension SDK 10.1.3.36.73

oracle.javatools.db.sql
Class AbstractFromObjectUsage

java.lang.Object
  extended byoracle.javatools.db.AbstractDBObject
      extended byoracle.javatools.db.sql.AbstractSQLFragment
          extended byoracle.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.


Field Summary
 
Fields inherited from class oracle.javatools.db.sql.AbstractSQLFragment
EMPTY, EMPTY_ARRAY, NEWLINE, SPACE
 
Fields inherited from interface oracle.javatools.db.sql.SQLFragment
FROM, GROUPBY, HAVING, ORDERBY, SELECT, TYPE, WHERE
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
protected AbstractFromObjectUsage()
           
protected AbstractFromObjectUsage(FromObject from)
           
 
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.sql.FromObjectUsage
getColumnName
 
Methods inherited from interface oracle.javatools.db.sql.SQLFragment
getChildren, getParent, getSQLText, setParent
 
Methods inherited from interface oracle.javatools.db.DBObject
copyTo, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, replaceReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty
 

Constructor Detail

AbstractFromObjectUsage

protected AbstractFromObjectUsage()

AbstractFromObjectUsage

protected AbstractFromObjectUsage(FromObject from)
Method Detail

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.


Extension SDK 10.1.3.36.73

 

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