|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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.AbstractSchemaObjectUsage
public abstract class AbstractSchemaObjectUsage
Abstract class for usages that reference a SchemaObject (e.g. RelationUsage). This abstract implementation deals with getting the SQL text for a given ID.
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 | |
---|---|
AbstractSchemaObjectUsage()
|
|
AbstractSchemaObjectUsage(DBObjectID id)
|
Method Summary | |
---|---|
protected void |
copyToImpl(AbstractSchemaObjectUsage target,
DBObject copyParent,
IDPolicy idPolicy)
|
protected boolean |
equalsImpl(AbstractSchemaObjectUsage other)
|
protected java.lang.String |
getExternalName(java.lang.String name)
If this object has a provider associated with it, the given name is returned in "externalised" form. |
DBObjectID |
getObjectID()
Gets the ID for the object being used by this fragment. |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
java.lang.String |
getSQLText()
Return the SQL for this fragment. |
boolean |
replaceReferenceIDs(java.util.Map<DBObjectID,DBObjectID> idMap)
Override in subclasses to replace reference IDs as appropriate. |
void |
setObjectID(DBObjectID id)
Sets the ID for the object being used by this fragment. |
void |
setProvider(DBObjectProvider pro)
Sets the provider this usage exists within. |
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.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 |
---|
public AbstractSchemaObjectUsage()
public AbstractSchemaObjectUsage(DBObjectID id)
Method Detail |
---|
public void setProvider(DBObjectProvider pro)
ProviderUsage
setProvider
in interface ProviderUsage
public void setObjectID(DBObjectID id)
DBObjectUsage
setObjectID
in interface DBObjectUsage
public DBObjectID getObjectID()
DBObjectUsage
getObjectID
in interface DBObjectUsage
public java.lang.String getSQLText()
SQLFragment
getSQLText
in interface SQLFragment
protected boolean equalsImpl(AbstractSchemaObjectUsage other)
protected void copyToImpl(AbstractSchemaObjectUsage target, DBObject copyParent, IDPolicy idPolicy)
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
protected java.lang.String getExternalName(java.lang.String name)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |