Class Hierarchy        Index

Interface COM.cloudscape.types.Dependable

public interface Dependable
Copyright © 1997-1999, Cloudscape, Inc. All rights reserved.

A Dependable is an in-memory representation of an object managed by the Dependency System. There are two kinds of Dependables: Providers and Dependents. Dependents depend on Providers and are responsible for executing compensating logic when their Providers change.

The fields represent the known Dependables.

Persistent dependencies (those between database objects) are stored in SYS.SYSDEPENDS.

See Also:
DependableFinder

Variable Index

 o ALIAS
 o CONGLOMERATE
 o CONSTRAINT
 o DEFAULT
 o FILE
 o HEAP
 o INDEX
 o METHODALIAS
 o PREPARED_STATEMENT
 o PUBLICATION
 o REP_DELETE_CONSTANT_ACTION
 o REP_INSERT_CONSTANT_ACTION
 o REP_MIXED_CONSTANT_ACTION
 o STORED_PREPARED_STATEMENT
 o TABLE
 o TRIGGER
 o VIEW

Method Index

 o getClassType()
Get the unique class id for the Dependable.
 o getDependableFinder()
Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.
 o getObjectID()
Get the UUID of this Dependable OBJECT.
 o getObjectName()
Get the name of this Dependable OBJECT.
 o isPersistent()
Return whether or not this Dependable is persistent.

Variables

 o ALIAS
 public static final String ALIAS
 o CONGLOMERATE
 public static final String CONGLOMERATE
 o CONSTRAINT
 public static final String CONSTRAINT
 o DEFAULT
 public static final String DEFAULT
 o HEAP
 public static final String HEAP
 o INDEX
 public static final String INDEX
 o METHODALIAS
 public static final String METHODALIAS
 o PREPARED_STATEMENT
 public static final String PREPARED_STATEMENT
 o PUBLICATION
 public static final String PUBLICATION
 o REP_DELETE_CONSTANT_ACTION
 public static final String REP_DELETE_CONSTANT_ACTION
 o REP_INSERT_CONSTANT_ACTION
 public static final String REP_INSERT_CONSTANT_ACTION
 o REP_MIXED_CONSTANT_ACTION
 public static final String REP_MIXED_CONSTANT_ACTION
 o FILE
 public static final String FILE
 o STORED_PREPARED_STATEMENT
 public static final String STORED_PREPARED_STATEMENT
 o TABLE
 public static final String TABLE
 o TRIGGER
 public static final String TRIGGER
 o VIEW
 public static final String VIEW

Methods

 o getDependableFinder
 public abstract DependableFinder getDependableFinder()
Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.

Returns:
A Finder object that can be written to disk if this is a Persistent Dependable. Null if this is not a persistent dependable.
 o getObjectName
 public abstract String getObjectName()
Get the name of this Dependable OBJECT. This is useful for diagnostic messages.

Returns:
Name of Dependable OBJECT.
 o getObjectID
 public abstract UUID getObjectID()
Get the UUID of this Dependable OBJECT.

Returns:
UUID of this OBJECT.
 o isPersistent
 public abstract boolean isPersistent()
Return whether or not this Dependable is persistent. Persistent dependencies are stored in SYS.SYSDEPENDS.

Returns:
true if this Dependable is persistent.
 o getClassType
 public abstract String getClassType()
Get the unique class id for the Dependable. Every Dependable belongs to a class of Dependables.

Returns:
type of this Dependable.

  Class Hierarchy        Index