Class Hierarchy    Previous  Next  Index

Interface COM.cloudscape.types.DependableFinder


public interface DependableFinder
extends COM.cloudscape.protocol.BasicServices.StoredFormat.Formatable
Copyright © 1998-2000, Informix Software, 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.

The DependableFinder object cannot be sent across the network to a client. To retrieve information from this object, call a method on the object that returns a string. Use queries documented in the Systems Table Section of the Reference Manual.


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.

Method Detail

 o getDependable
public Dependable getDependable(UUID dependableObjectID) throws java.sql.SQLException
          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:
java.sql.SQLException - thrown on error
 o getDependable
public Dependable getDependable(java.lang.String dependableObjectID) throws java.sql.SQLException
          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:
java.sql.SQLException - thrown on error
 o getDependableClassType
public java.lang.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 java.lang.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 java.lang.String getSQLObjectName(java.lang.String idString) throws java.sql.SQLException
          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:
java.sql.SQLException - thrown on error

  Class Hierarchy    Previous  Next  Index