public class DDdependableFinder extends java.lang.Object implements DependableFinder, Formatable
| Modifier and Type | Field and Description |
|---|---|
private int |
formatId |
| Constructor and Description |
|---|
DDdependableFinder(int formatId)
Public constructor for Formatable hoo-hah.
|
| Modifier and Type | Method and Description |
|---|---|
(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.
|
public DDdependableFinder(int formatId)
public java.lang.String toString()
toString in class java.lang.Objectpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - read this.java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic 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()
DependableFindergetSQLObjectType 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 errorDependable findDependable(DataDictionary dd, UUID dependableObjectID) throws StandardException
StandardExceptionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.