Package org.apache.derby.catalog
Interface Dependable
-
- All Known Subinterfaces:
Activation
,CursorActivation
,Dependent
,ExecPreparedStatement
,PreparedStatement
,Provider
,StorablePreparedStatement
- All Known Implementing Classes:
AliasDescriptor
,BaseActivation
,CheckConstraintDescriptor
,ColPermsDescriptor
,ConglomerateDescriptor
,ConstantActionActivation
,ConstraintDescriptor
,CursorActivation
,DefaultDescriptor
,FileInfoDescriptor
,ForeignKeyConstraintDescriptor
,GenericActivationHolder
,GenericPreparedStatement
,GenericStorablePreparedStatement
,KeyConstraintDescriptor
,PermDescriptor
,PermissionsDescriptor
,PrivilegedSQLObject
,ReferencedKeyConstraintDescriptor
,RoleGrantDescriptor
,RoutinePermsDescriptor
,SchemaDescriptor
,SequenceDescriptor
,SPSDescriptor
,TableDescriptor
,TablePermsDescriptor
,TriggerDescriptor
,ViewDescriptor
public interface Dependable
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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVATION
static java.lang.String
ALIAS
static java.lang.String
COLUMNS_IN_TABLE
static java.lang.String
COLUMNS_PERMISSION
static java.lang.String
CONGLOMERATE
static java.lang.String
CONSTRAINT
static java.lang.String
DEFAULT
static java.lang.String
FILE
static java.lang.String
HEAP
static java.lang.String
INDEX
static java.lang.String
PERM
static java.lang.String
PREPARED_STATEMENT
static java.lang.String
ROLE_GRANT
static java.lang.String
ROUTINE_PERMISSION
static java.lang.String
SCHEMA
static java.lang.String
SEQUENCE
static java.lang.String
STORED_PREPARED_STATEMENT
static java.lang.String
TABLE
static java.lang.String
TABLE_PERMISSION
static java.lang.String
TRIGGER
static java.lang.String
VIEW
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClassType()
Get the unique class id for the Dependable.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.UUID
getObjectID()
Get the UUID of this Dependable OBJECT.java.lang.String
getObjectName()
Get the name of this Dependable OBJECT.boolean
isPersistent()
Return whether or not this Dependable is persistent.
-
-
-
Field Detail
-
ALIAS
static final java.lang.String ALIAS
- See Also:
- Constant Field Values
-
CONGLOMERATE
static final java.lang.String CONGLOMERATE
- See Also:
- Constant Field Values
-
CONSTRAINT
static final java.lang.String CONSTRAINT
- See Also:
- Constant Field Values
-
DEFAULT
static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
HEAP
static final java.lang.String HEAP
- See Also:
- Constant Field Values
-
INDEX
static final java.lang.String INDEX
- See Also:
- Constant Field Values
-
PREPARED_STATEMENT
static final java.lang.String PREPARED_STATEMENT
- See Also:
- Constant Field Values
-
ACTIVATION
static final java.lang.String ACTIVATION
- See Also:
- Constant Field Values
-
FILE
static final java.lang.String FILE
- See Also:
- Constant Field Values
-
STORED_PREPARED_STATEMENT
static final java.lang.String STORED_PREPARED_STATEMENT
- See Also:
- Constant Field Values
-
TABLE
static final java.lang.String TABLE
- See Also:
- Constant Field Values
-
COLUMNS_IN_TABLE
static final java.lang.String COLUMNS_IN_TABLE
- See Also:
- Constant Field Values
-
TRIGGER
static final java.lang.String TRIGGER
- See Also:
- Constant Field Values
-
VIEW
static final java.lang.String VIEW
- See Also:
- Constant Field Values
-
SCHEMA
static final java.lang.String SCHEMA
- See Also:
- Constant Field Values
-
TABLE_PERMISSION
static final java.lang.String TABLE_PERMISSION
- See Also:
- Constant Field Values
-
COLUMNS_PERMISSION
static final java.lang.String COLUMNS_PERMISSION
- See Also:
- Constant Field Values
-
ROUTINE_PERMISSION
static final java.lang.String ROUTINE_PERMISSION
- See Also:
- Constant Field Values
-
ROLE_GRANT
static final java.lang.String ROLE_GRANT
- See Also:
- Constant Field Values
-
SEQUENCE
static final java.lang.String SEQUENCE
- See Also:
- Constant Field Values
-
PERM
static final java.lang.String PERM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDependableFinder
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.
-
getObjectName
java.lang.String getObjectName()
Get the name of this Dependable OBJECT. This is useful for diagnostic messages.- Returns:
- Name of Dependable OBJECT.
-
getObjectID
UUID getObjectID()
Get the UUID of this Dependable OBJECT.- Returns:
- UUID of this OBJECT.
-
isPersistent
boolean isPersistent()
Return whether or not this Dependable is persistent. Persistent dependencies are stored in SYS.SYSDEPENDS.- Returns:
- true if this Dependable is persistent.
-
getClassType
java.lang.String getClassType()
Get the unique class id for the Dependable. Every Dependable belongs to a class of Dependables.- Returns:
- type of this Dependable.
-
-