|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.catalog.DDdependableFinder
Class for all DependableFinders in the core DataDictionary
| Field Summary | |
private DataDictionary |
dataDictionary
|
private int |
formatId
|
private UUIDFactory |
uuidFactory
|
| Constructor Summary | |
DDdependableFinder(int formatId)
Public constructor for Formatable hoo-hah. |
|
| Method Summary | |
private DataDictionary |
getDataDictionary()
Gets the datadictionary for this connection. |
protected Dependable |
getDependable(DataDictionary dd,
UUID dependableObjectID)
Get the dependable for the given UUID |
Dependable |
getDependable(java.lang.String dependableObjectID)
Gets the in-memory object associated with the passed-in object ID. |
Dependable |
getDependable(UUID dependableObjectID)
Gets the AliasDescriptor associated with the passed-in object ID. |
protected java.lang.String |
getSQLObjectName(DataDictionary dd,
UUID dependableObjectID)
Get the SQL object name for the given UUID |
java.lang.String |
getSQLObjectName(java.lang.String idString)
Get the name of the SQL Object that corresponds to the specified UUID String. |
java.lang.String |
getSQLObjectType()
The name of the class of Dependables as a "SQL Object" which this Finder can find. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
readExternal(java.io.ObjectInput in)
Read this object from a stream of stored objects. |
private UUID |
recreateUUID(java.lang.String idString)
Get the UUID for the given string |
java.lang.String |
toString()
|
void |
writeExternal(java.io.ObjectOutput out)
Write this object to a stream of stored objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private transient DataDictionary dataDictionary
private transient UUIDFactory uuidFactory
private final int formatId
| Constructor Detail |
public DDdependableFinder(int formatId)
| Method Detail |
public java.lang.String toString()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - write bytes here.
java.io.IOExceptionpublic final int getTypeFormatId()
getTypeFormatId in interface TypedFormat
public final Dependable getDependable(java.lang.String dependableObjectID)
throws java.sql.SQLException
getDependable in interface DependableFinderdependableObjectID - the UUID of the Dependable as a String.
Used to locate that Dependable
java.sql.SQLException - thrown on error
public final Dependable getDependable(UUID dependableObjectID)
throws java.sql.SQLException
getDependable in interface DependableFinderdependableObjectID - the ID of a Dependable. Used to locate that Dependable.
java.sql.SQLException - thrown on error
public final java.lang.String getSQLObjectName(java.lang.String idString)
throws java.sql.SQLException
DependableFinder
getSQLObjectName in interface DependableFinderidString - the UUID String of a Dependable. Used to locate that Dependable.
java.sql.SQLException - thrown on errorDependableFinder.getSQLObjectName(java.lang.String)public java.lang.String getSQLObjectType()
DependableFinder
getSQLObjectType in interface DependableFinderDependableFinder.getSQLObjectType()
private DataDictionary getDataDictionary()
throws StandardException
StandardException - Thrown on failureprivate UUID recreateUUID(java.lang.String idString)
protected Dependable getDependable(DataDictionary dd,
UUID dependableObjectID)
throws StandardException
StandardException - thrown on error
protected java.lang.String getSQLObjectName(DataDictionary dd,
UUID dependableObjectID)
throws StandardException
StandardException - thrown on error
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||