|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.javatools.db.AbstractDBObject
oracle.javatools.db.sql.AbstractSQLFragment
Abstract superclass for SQLFragment implementations.
| Field Summary | |
protected static java.lang.String |
EMPTY
|
protected static SQLFragment[] |
EMPTY_ARRAY
|
protected static java.lang.String |
NEWLINE
|
protected static java.lang.String |
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 |
AbstractSQLFragment()
|
| Method Summary | |
protected void |
appendToBuffer(java.lang.StringBuffer query,
java.util.List objs,
java.lang.String indent)
Adds to the given buffer the list of SQLFragments, comma and newline (with indent) seperated. |
protected void |
changeParent(SQLFragment oldExp,
SQLFragment newExp)
Changes the parent for the newExp replacing the oldExp in a child slot on this object. |
protected void |
copyList(java.util.List source,
java.util.List target)
|
protected void |
copyList(java.util.List source,
java.util.List target,
DBObject newParent)
|
SQLFragment[] |
getChildren()
Deprecated. use getOwnedObjects() |
DBObject |
getParent()
Returns the parent fragment in the query model. |
protected java.lang.String |
getTextOrNull(SQLFragment frag)
|
java.lang.String |
getType()
Returns the type of this object. |
int |
hashCode()
|
protected void |
removeParent(SQLFragment frag)
Sets the parent to null on frag if the current parent matches this object. |
void |
setParent(DBObject parent)
Sets the parent fragment to this fragment. |
protected void |
setParents(java.util.List sqlFrags,
DBObject parent)
Sets the given parent on each SQLFragment in the given List. |
java.lang.String |
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.SQLFragment |
getSQLText |
| Methods inherited from interface oracle.javatools.db.DBObject |
copyTo, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID, setName |
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
getProperties, getProperty, getProperty, setProperties, setProperty |
| Field Detail |
protected static final SQLFragment[] EMPTY_ARRAY
protected static final java.lang.String SPACE
protected static final java.lang.String EMPTY
protected static final java.lang.String NEWLINE
| Constructor Detail |
protected AbstractSQLFragment()
| Method Detail |
public java.lang.String getType()
DBObject
getType in interface DBObjectpublic DBObject getParent()
SQLFragment
getParent in interface SQLFragmentpublic void setParent(DBObject parent)
SQLFragment
setParent in interface SQLFragment
protected void changeParent(SQLFragment oldExp,
SQLFragment newExp)
protected void removeParent(SQLFragment frag)
protected void copyList(java.util.List source,
java.util.List target)
protected void copyList(java.util.List source,
java.util.List target,
DBObject newParent)
protected java.lang.String getTextOrNull(SQLFragment frag)
protected void appendToBuffer(java.lang.StringBuffer query,
java.util.List objs,
java.lang.String indent)
protected void setParents(java.util.List sqlFrags,
DBObject parent)
public java.lang.String toString()
toString in class AbstractDBObjectpublic int hashCode()
hashCode in class AbstractDBObjectpublic SQLFragment[] getChildren()
getChildren in interface SQLFragment
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.