|
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
oracle.javatools.db.sql.AbstractAliasFragment
oracle.javatools.db.sql.FromObject
Object that represents a clause in the FROM statement of a SQL query.
| Field Summary | |
static java.lang.String |
TYPE
|
| 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, WHERE |
| Fields inherited from interface oracle.javatools.db.DBObject |
COMMENT |
| Constructor Summary | |
FromObject()
Create an empty FROM object. |
|
FromObject(SQLFragment expression,
java.lang.String alias)
Create a FROM object with the given expression and alias. |
|
| Method Summary | |
boolean |
canHaveAlias()
In certain circumstances an AliasFragment cannot have an alias. |
java.lang.Object |
copyTo(java.lang.Object target)
Copies the state of this DBObject to another instance. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getType()
Returns the type of this object. |
void |
setExpression(SQLFragment exp)
Sets the expression part of the fragment. |
| Methods inherited from class oracle.javatools.db.sql.AbstractAliasFragment |
canUseAsAlias, copyToImpl, equalsImpl, getAlias, getExpression, getName, getOwnedObjectsImpl, getSQLText, getUsableAlias, setAlias, setName, toString, useAsBeforeAlias |
| Methods inherited from class oracle.javatools.db.sql.AbstractSQLFragment |
appendToBuffer, changeParent, copyList, copyList, getChildren, getParent, getTextOrNull, hashCode, removeParent, setParent, setParents |
| Methods inherited from class oracle.javatools.db.AbstractDBObject |
compareToImpl, copyToImpl, equalsImpl, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, replaceReferenceIDs, setID, setProperties, setProperty |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.javatools.db.sql.SQLFragment |
getChildren, getParent, setParent |
| Methods inherited from interface oracle.javatools.db.DBObject |
findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getReferenceIDs, replaceReferenceIDs, setID |
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
getProperties, getProperty, getProperty, setProperties, setProperty |
| Field Detail |
public static final java.lang.String TYPE
| Constructor Detail |
public FromObject()
public FromObject(SQLFragment expression,
java.lang.String alias)
| Method Detail |
public java.lang.String getType()
DBObject
getType in interface DBObjectgetType in class AbstractSQLFragmentpublic java.lang.Object copyTo(java.lang.Object target)
DBObjectnull
is specified for the target, a new instance will be created.
The entire state of the object will be copied, with a few exceptions. In particular, any observers registered will NOT be copied. In cases where this instance contains child DBObjects, new instances of those children will be created, and the state copied to them. The copy will thus contain its own unique state; after making the copy, changing one instance will not cause any changes to occur to the copy. The properties will be copied; however, copies will not be made of the values referenced by the properties - thus, the copy will refer to the same instance as the original. Child objects that are copied will still point to the original parent; it is the responsibility of a copied parent to update the parent of copies of its children point to the copy of itself.
The ID associated with this object will not be copied. If the copy is intended to be a temporary copy of this object (to be used in a dialog editing the object for example), then the caller should explicitly set the ID of the copy to be the same as on this object. However, if the new object is intended to exist separately from this object, the caller should ensure that the new object have a different ID from this object.
target - The object to copy to. If target is null, a new
instance will be created, and the state will be copied to that object.
public boolean equals(java.lang.Object obj)
public void setExpression(SQLFragment exp)
AbstractAliasFragment
setExpression in interface AliasFragmentsetExpression in class AbstractAliasFragmentpublic boolean canHaveAlias()
AbstractAliasFragment
canHaveAlias in class AbstractAliasFragment
|
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.