|
|||||||||
| 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
public class DDdependableFinder
Class for most DependableFinders in the core DataDictionary. This class is stored in SYSDEPENDS for the finders for the provider and dependent. It stores no state, its functionality is driven off its format identifier.
| Field Summary | |
|---|---|
private int |
formatId
|
| Constructor Summary | |
|---|---|
DDdependableFinder(int formatId)
Public constructor for Formatable hoo-hah. |
|
| Method Summary | |
|---|---|
(package private) Dependable |
findDependable(DataDictionary dd,
UUID dependableObjectID)
Find the dependable for getDependable. |
Dependable |
getDependable(DataDictionary dd,
UUID dependableObjectID)
Get the dependable for the given UUID |
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. |
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 final int formatId
| Constructor Detail |
|---|
public DDdependableFinder(int formatId)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
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 TypedFormatpublic java.lang.String getSQLObjectType()
DependableFinder
getSQLObjectType in interface DependableFinderDependableFinder.getSQLObjectType()
public final Dependable getDependable(DataDictionary dd,
UUID dependableObjectID)
throws StandardException
getDependable in interface DependableFinderdd - DataDictionary to use for lookup.dependableObjectID - the ID of a Dependable. Used to locate that Dependable.
StandardException - thrown on error
Dependable findDependable(DataDictionary dd,
UUID dependableObjectID)
throws StandardException
StandardException
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||