Home » db-derby-10.5.3.0 » org.apache.derby.iapi.sql.depend » [javadoc | source]
org.apache.derby.iapi.sql.depend
public interface: Dependent [javadoc | source]

All Implemented Interfaces:
    Dependable

All Known Implementing Classes:
    KeyConstraintDescriptor, CursorActivation, Activation, ConstantActionActivation, CheckConstraintDescriptor, BaseActivation, CursorActivation, TriggerDescriptor, SPSDescriptor, ForeignKeyConstraintDescriptor, DefaultDescriptor, ReferencedKeyConstraintDescriptor, ConstraintDescriptor, ExecPreparedStatement, StorablePreparedStatement, GenericPreparedStatement, GenericActivationHolder, PreparedStatement, ViewDescriptor, GenericStorablePreparedStatement

A dependent has the ability to know whether or not it is valid and to mark itself as valid or invalid. Marking itself as invalid usually means it cannot be used in the system until it is revalidated, but this is in no way enforced by this interface.
Method from org.apache.derby.iapi.sql.depend.Dependent Summary:
isValid,   makeInvalid,   prepareToInvalidate
Method from org.apache.derby.iapi.sql.depend.Dependent Detail:
 public boolean isValid()
    Check that all of the dependent's dependencies are valid.
 public  void makeInvalid(int action,
    LanguageConnectionContext lcc) throws StandardException
    Mark the dependent as invalid (due to at least one of its dependencies being invalid).
 public  void prepareToInvalidate(Provider p,
    int action,
    LanguageConnectionContext lcc) throws StandardException
    Prepare to mark the dependent as invalid (due to at least one of its dependencies being invalid).