Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.sql.dictionary
Class SubKeyConstraintDescriptor  view SubKeyConstraintDescriptor download SubKeyConstraintDescriptor.java

java.lang.Object
  extended byorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
      extended byorg.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
          extended byorg.apache.derby.iapi.sql.dictionary.SubKeyConstraintDescriptor
All Implemented Interfaces:
UniqueTupleDescriptor

public class SubKeyConstraintDescriptor
extends SubConstraintDescriptor

This interface is used to get information from a SubKeyConstraintDescriptor. A SubKeyConstraintDescriptor is used within the DataDictionary to get auxiliary constraint information from the system table that is auxiliary to sysconstraints.

Version:
0.1

Field Summary
(package private)  org.apache.derby.catalog.UUID indexId
          Interface for SubKeyConstraintDescriptor is public UUID getIndexId(); public UUID getKeyConstraintId();
(package private)  org.apache.derby.catalog.UUID keyConstraintId
           
(package private)  int raDeleteRule
           
(package private)  int raUpdateRule
           
 
Fields inherited from class org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
constraintId, td
 
Fields inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor
COLUMN_LIST, CONGLOMERATE_LIST, CONSTRAINT_LIST, TRIGGER_LIST
 
Constructor Summary
SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId, org.apache.derby.catalog.UUID indexId)
          Constructor for a SubConstraintDescriptorImpl
SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId, org.apache.derby.catalog.UUID indexId, org.apache.derby.catalog.UUID keyConstraintId)
          Constructor for a SubConstraintDescriptor
SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId, org.apache.derby.catalog.UUID indexId, org.apache.derby.catalog.UUID keyConstraintId, int raDeleteRule, int raUpdateRule)
          Constructor for a SubConstraintDescriptor
 
Method Summary
 org.apache.derby.catalog.UUID getIndexId()
          Gets the UUID of the backing index.
 org.apache.derby.catalog.UUID getKeyConstraintId()
          Gets the UUID of the referenced key constraint
 int getRaDeleteRule()
          Gets a referential action rule on a DELETE
 int getRaUpdateRule()
          Gets a referential action rule on a UPDATE
 boolean hasBackingIndex()
          Does this constraint have a backing index?
 java.lang.String toString()
          Convert the SubKeyConstraintDescriptor to a String.
 
Methods inherited from class org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
getTableDescriptor, getUUID, setConstraintId, setTableDescriptor
 
Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

indexId

org.apache.derby.catalog.UUID indexId
Interface for SubKeyConstraintDescriptor is
  1. public UUID getIndexId();
  2. public UUID getKeyConstraintId();


keyConstraintId

org.apache.derby.catalog.UUID keyConstraintId

raDeleteRule

int raDeleteRule

raUpdateRule

int raUpdateRule
Constructor Detail

SubKeyConstraintDescriptor

public SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId,
                                  org.apache.derby.catalog.UUID indexId)
Constructor for a SubConstraintDescriptorImpl


SubKeyConstraintDescriptor

public SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId,
                                  org.apache.derby.catalog.UUID indexId,
                                  org.apache.derby.catalog.UUID keyConstraintId)
Constructor for a SubConstraintDescriptor


SubKeyConstraintDescriptor

public SubKeyConstraintDescriptor(org.apache.derby.catalog.UUID constraintId,
                                  org.apache.derby.catalog.UUID indexId,
                                  org.apache.derby.catalog.UUID keyConstraintId,
                                  int raDeleteRule,
                                  int raUpdateRule)
Constructor for a SubConstraintDescriptor

Method Detail

getIndexId

public org.apache.derby.catalog.UUID getIndexId()
Gets the UUID of the backing index.


getKeyConstraintId

public org.apache.derby.catalog.UUID getKeyConstraintId()
Gets the UUID of the referenced key constraint


hasBackingIndex

public boolean hasBackingIndex()
Does this constraint have a backing index?

Specified by:
hasBackingIndex in class SubConstraintDescriptor

getRaDeleteRule

public int getRaDeleteRule()
Gets a referential action rule on a DELETE


getRaUpdateRule

public int getRaUpdateRule()
Gets a referential action rule on a UPDATE


toString

public java.lang.String toString()
Convert the SubKeyConstraintDescriptor to a String.

Overrides:
toString in class SubConstraintDescriptor