Top Description Fields Methods
org.apache.derby.catalog

public Interface Dependable

Known Direct Subinterfaces
org.apache.derby.iapi.sql.depend.Dependent, org.apache.derby.iapi.sql.depend.Provider

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
org.apache.derby.catalog.DependableFinder

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

type of this Dependable.
getClassType
()

Get the unique class id for the Dependable.

public DependableFinder

Returns:

A Finder object that can be written to disk if this is a Persistent Dependable. Null if this is not a persistent dependable.
getDependableFinder
()

Get an object which can be written to disk and which, when read from disk, will find or reconstruct this in-memory Dependable.

public UUID

Returns:

UUID of this OBJECT.
getObjectID
()

Get the UUID of this Dependable OBJECT.

public String

Returns:

Name of Dependable OBJECT.
getObjectName
()

Get the name of this Dependable OBJECT.

public boolean

Returns:

true if this Dependable is persistent.
isPersistent
()

Return whether or not this Dependable is persistent.

Field Detail

ACTIVATIONback to summary
public static final String ACTIVATION
ALIASback to summary
public static final String ALIAS
COLUMNS_IN_TABLEback to summary
public static final String COLUMNS_IN_TABLE
COLUMNS_PERMISSIONback to summary
public static final String COLUMNS_PERMISSION
CONGLOMERATEback to summary
public static final String CONGLOMERATE
CONSTRAINTback to summary
public static final String CONSTRAINT
DEFAULTback to summary
public static final String DEFAULT
FILEback to summary
public static final String FILE
HEAPback to summary
public static final String HEAP
INDEXback to summary
public static final String INDEX
PERMback to summary
public static final String PERM
PREPARED_STATEMENTback to summary
public static final String PREPARED_STATEMENT
ROLE_GRANTback to summary
public static final String ROLE_GRANT
ROUTINE_PERMISSIONback to summary
public static final String ROUTINE_PERMISSION
SCHEMAback to summary
public static final String SCHEMA
SEQUENCEback to summary
public static final String SEQUENCE
STORED_PREPARED_STATEMENTback to summary
public static final String STORED_PREPARED_STATEMENT
TABLEback to summary
public static final String TABLE
TABLE_PERMISSIONback to summary
public static final String TABLE_PERMISSION
TRIGGERback to summary
public static final String TRIGGER
VIEWback to summary
public static final String VIEW

Method Detail

getClassTypeback to summary
public String getClassType()

Get the unique class id for the Dependable. Every Dependable belongs to a class of Dependables.

Returns:String

type of this Dependable.

getDependableFinderback to summary
public 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:DependableFinder

A Finder object that can be written to disk if this is a Persistent Dependable. Null if this is not a persistent dependable.

getObjectIDback to summary
public UUID getObjectID()

Get the UUID of this Dependable OBJECT.

Returns:UUID

UUID of this OBJECT.

getObjectNameback to summary
public String getObjectName()

Get the name of this Dependable OBJECT. This is useful for diagnostic messages.

Returns:String

Name of Dependable OBJECT.

isPersistentback to summary
public boolean isPersistent()

Return whether or not this Dependable is persistent. Persistent dependencies are stored in SYS.SYSDEPENDS.

Returns:boolean

true if this Dependable is persistent.