Class Hierarchy        Index

Interface COM.cloudscape.types.DependableFinder

public interface DependableFinder
extends Formatable
Copyright © 1997-1999, Cloudscape, Inc. All rights reserved.

A DependableFinder is an object which can find an in-memory Dependable, given the Dependable's ID.

The DependableFinder is able to write itself to disk and, once read back into memory, locate the in-memory Dependable that it represents.

DependableFinder objects are stored in SYS.SYSDEPENDS to record dependencies between database objects.


Method Index

 o getDependable(String)
Get the in-memory object associated with the passed-in object ID.
 o getDependable(UUID)
Get the in-memory object associated with the passed-in object ID.
 o getDependableClassType()
Get the name of the class of Dependables which this Finder can find.
 o getSQLObjectName(String)
Get the name of the SQL Object that corresponds to the specified UUID String.
 o getSQLObjectType()
The name of the class of Dependables as a "SQL Object" which this Finder can find.

Methods

 o getDependable
 public abstract Dependable getDependable(UUID dependableObjectID) throws TypeException
Get the in-memory object associated with the passed-in object ID.

Parameters:
dependableObjectID - the ID of a Dependable. Used to locate that Dependable.
Returns:
the associated Dependable
Throws: TypeException
thrown on error
 o getDependable
 public abstract Dependable getDependable(String dependableObjectID) throws TypeException
Get the in-memory object associated with the passed-in object ID.

Parameters:
dependableObjectID - the UUID of the Dependable as a String. Used to locate that Dependable
Returns:
the associated Dependable
Throws: TypeException
thrown on error
 o getDependableClassType
 public abstract String getDependableClassType()
Get the name of the class of Dependables which this Finder can find. Every DependableFinder can find some class of Dependables.

Returns:
String type of the Dependables which this Finder can find.
See Also:
Dependable
 o getSQLObjectType
 public abstract String getSQLObjectType()
The name of the class of Dependables as a "SQL Object" which this Finder can find. This is a value like "Table", "View", or "Publication". Every DependableFinder can find some class of Dependables.

Returns:
String type of the "SQL Object" which this Finder can find.
See Also:
Dependable
 o getSQLObjectName
 public abstract String getSQLObjectName(String idString) throws TypeException
Get the name of the SQL Object that corresponds to the specified UUID String. For example, if getSQLObjectType() returns "Table", this will return the table name.

Parameters:
idString - the UUID String of a Dependable. Used to locate that Dependable.
Returns:
String Name of the associated Dependable
Throws: TypeException
thrown on error

  Class Hierarchy        Index