public abstract class AbstractSchemaObjectUsage extends AbstractSQLFragment implements DBObjectUsage
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupportCOMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Constructor and Description |
|---|
AbstractSchemaObjectUsage() |
AbstractSchemaObjectUsage(DBObjectID id) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyToImpl(AbstractDBObject target, DBObject copyParent, IDPolicy idPolicy)
Implementation method for making a copy of this object.
|
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.
|
java.lang.String |
getSQLText()
Return the SQL for this fragment.
|
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.
|
appendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, getType, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, equalsImpl, fireObjectUpdated, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, getType, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertypublic AbstractSchemaObjectUsage()
public AbstractSchemaObjectUsage(DBObjectID id)
public void setProvider(DBObjectProvider pro)
ProviderUsagesetProvider in interface ProviderUsagepublic void setObjectID(DBObjectID id)
DBObjectUsagesetObjectID in interface DBObjectUsagepublic DBObjectID getObjectID()
DBObjectUsagegetObjectID in interface DBObjectUsagepublic java.lang.String getSQLText()
SQLFragmentgetSQLText in interface SQLFragmentprotected java.lang.String getExternalName(java.lang.String name)
protected void copyToImpl(AbstractDBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObjectcopyToImpl in class AbstractBuildableObjecttarget - the copy being created of this objectcopyParent - if this object is being copied underneath a parent, this parameter is the copy of the parent of this object, which will therefore need to be the parent of the copy of this object.idPolicy - the policy for copying the object's ID.