public class PlSqlReference extends DBObjectPlSqlFragment
| Modifier and Type | Class and Description |
|---|---|
static class |
PlSqlReference.ReferenceType
A reference from some PL/SQL to another DBObject is defined to be one of these
reference types.
|
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
PlSqlReference() |
| Modifier and Type | Method and Description |
|---|---|
DataTypeUsage |
getDataTypeUsage()
Get method for the DataTypeUsage property
|
java.lang.String |
getDataTypeUsageSource() |
DBObjectID |
getReferenceID() |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Implementation first checks that the object has been built - then returns
the collection from suprt.getReferenceIDsImpl().
|
java.lang.String[] |
getReferenceNames()
Gets the reference names for this pl/sql reference.
|
DBObjectID[] |
getReferences() |
PlSqlReference.ReferenceType |
getReferenceType()
Get method for the ReferenceType property
|
java.lang.String |
getType()
Returns the type of this object.
|
void |
setDataTypeUsage(DataTypeUsage dataTypeUsage)
Set method for the DataTypeUsage property
|
void |
setDataTypeUsageSource(java.lang.String dataTypeUsage) |
void |
setReferenceID(DBObjectID referenceID)
Deprecated.
|
void |
setReferenceNames(java.lang.String[] names)
Sets the references names for this pl/sql reference from which the
references property is derived.
|
void |
setReferences(DBObjectID[] references) |
void |
setReferenceType(PlSqlReference.ReferenceType referenceType)
Set method for the ReferenceType property
|
java.lang.String |
toString()
Return a string representation of what this reference refers to without
resolving the ID.
|
copyToImpl, getChildAtOffset, getDeclarationAtOffset, getEndOffset, getName, getReferenceAtOffset, getSource, getSourceID, getStartOffset, setEndOffset, setSource, setSourceImpl, setStartOffsetsetParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, 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, waitgetParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String TYPE
public java.lang.String getType()
DBObject@Deprecated public void setReferenceID(DBObjectID referenceID)
public DBObjectID getReferenceID()
public void setReferenceNames(java.lang.String[] names)
names - the components of the dot separated name that is
referencedpublic java.lang.String[] getReferenceNames()
public void setReferences(DBObjectID[] references)
public DBObjectID[] getReferences()
public void setReferenceType(PlSqlReference.ReferenceType referenceType)
referenceType - public PlSqlReference.ReferenceType getReferenceType()
public void setDataTypeUsageSource(java.lang.String dataTypeUsage)
public java.lang.String getDataTypeUsageSource()
public void setDataTypeUsage(DataTypeUsage dataTypeUsage)
dataTypeUsage - public DataTypeUsage getDataTypeUsage()
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractBuildableObjectgetReferenceIDsImpl in class AbstractBuildableObjectrefs - the collection of ids this object referencespublic java.lang.String toString()
DBObjectPlSqlFragment.getSource() (e.g. names will be "externalised").toString in class AbstractDBObject