public abstract class AbstractSchemaObjectUsage extends AbstractProviderUsageSQLFragment implements DBObjectUsage
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupportAS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description |
|---|
AbstractSchemaObjectUsage() |
AbstractSchemaObjectUsage(DBObjectID id) |
| Modifier and Type | Method and Description |
|---|---|
DBObjectID |
getObjectID()
Gets the ID for the object being used by this fragment.
|
java.lang.String |
getSQLText()
Return the SQL for this fragment.
|
boolean |
isQualified()
Gets wether this schema object usage should always qualify itself
with the schema name.
|
void |
setObjectID(DBObjectID id)
Sets the ID for the object being used by this fragment.
|
void |
setQualified(boolean qualified)
Sets wether this schema object usage should explictly qualify itself
with the schema name.
|
areNamesEqual, copyToImpl, getDatabaseDescriptor, getExternalName, getInternalName, setProviderappendToBuffer, appendToBuffer, argsToString, getName, getStartOffset, getTextOrNull, getTextOrNull, getType, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetProvidergetStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, getType, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic AbstractSchemaObjectUsage()
public AbstractSchemaObjectUsage(DBObjectID id)
public void setObjectID(DBObjectID id)
DBObjectUsagesetObjectID in interface DBObjectUsagepublic DBObjectID getObjectID()
DBObjectUsagegetObjectID in interface DBObjectUsagepublic void setQualified(boolean qualified)
Schema names are always included when the schema of the "used" SchemaObject is different to the query owner's (i.e. this property is ignored in that case), otherwise this property controls whether the qualification is done.
true - to force schema qualificationpublic boolean isQualified()
setQualified(boolean)public java.lang.String getSQLText()
SQLFragmentgetSQLText in interface SQLFragment