public abstract class AbstractProviderUsageSQLFragment extends AbstractSQLFragment implements ProviderUsage
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupportAS, COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, LEFT_PAREN, NEWLINE, RIGHT_PAREN, SPACE| Constructor and Description |
|---|
AbstractProviderUsageSQLFragment() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areNamesEqual(java.lang.String name1,
java.lang.String name2,
java.lang.String objectType,
boolean external)
Tests whether the given object names are equal.
|
protected void |
copyToImpl(AbstractDBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Implementation method for making a copy of this object.
|
protected DatabaseDescriptor |
getDatabaseDescriptor()
Gets the DatabaseDescriptor that can be used to perform name operations
etc for this fragment.
|
protected java.lang.String |
getExternalName(java.lang.String internalName,
java.lang.String objectType)
Gets the external form of an internal name.
|
protected java.lang.String |
getInternalName(java.lang.String externalName,
java.lang.String objectType)
Gets the internal form of an external name.
|
void |
setProvider(DBObjectProvider pro)
Sets the provider this usage exists within.
|
appendToBuffer, 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, waitgetSQLTextgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertyprotected 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.public final void setProvider(DBObjectProvider pro)
ProviderUsagesetProvider in interface ProviderUsageprotected final java.lang.String getInternalName(java.lang.String externalName,
java.lang.String objectType)
externalName - the external nameobjectType - the type of object the name is forprotected final java.lang.String getExternalName(java.lang.String internalName,
java.lang.String objectType)
internalName - the internal nameobjectType - the type of object the name is forprotected final boolean areNamesEqual(java.lang.String name1,
java.lang.String name2,
java.lang.String objectType,
boolean external)
name1 - the first name to testname2 - the second name to testobjectType - the type of object the names are forexternal - whether the names are internal formprotected final DatabaseDescriptor getDatabaseDescriptor()