public abstract class AbstractDBObjectUsage extends AbstractFromObjectUsage implements DBObjectUsage
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupportCOMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Modifier | Constructor and Description | 
|---|---|
protected | 
AbstractDBObjectUsage()  | 
protected | 
AbstractDBObjectUsage(DBObjectID id, DBObjectID fromID)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
copyToImpl(AbstractDBObject target, DBObject copyParent, IDPolicy idPolicy)
Implementation method for making a copy of this object. 
 | 
java.lang.String | 
getColumnName()
By default this returns the name of the DBObject we're using (externalized if a provider is available). 
 | 
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 of the DBObject (e.g. 
 | 
protected DBObjectProvider | 
getProvider()  | 
void | 
setObjectID(DBObjectID objectID)
Sets the id of the DBObject (e.g. 
 | 
void | 
setProvider(DBObjectProvider pro)
Sets the provider this usage exists within. 
 | 
findFragmentInQuery, getFromObject, getFromObjectID, getSQLTextImpl, isQualified, resolveFromObject, resolveFromObject, setFromObject, setFromObjectID, setQualifiedappendToBuffer, 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, waitgetSQLText, getStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, getType, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertyprotected AbstractDBObjectUsage()
protected AbstractDBObjectUsage(DBObjectID id, DBObjectID fromID)
public void setProvider(DBObjectProvider pro)
ProviderUsagesetProvider in interface ProviderUsageprotected DBObjectProvider getProvider()
public void setObjectID(DBObjectID objectID)
setObjectID in interface DBObjectUsagepublic DBObjectID getObjectID()
getObjectID in interface DBObjectUsagepublic java.lang.String getColumnName()
getColumnName in interface FromObjectUsageprotected 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.