|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
public abstract class SubConstraintDescriptor
This interface is used to get information from a SubConstraintDescriptor. A SubKeyConstraintDescriptor is used within the DataDictionary to get auxiliary constraint information from the system table that is auxiliary to sysconstraints.
Field Summary | |
---|---|
(package private) UUID |
constraintId
|
(package private) TableDescriptor |
td
public interface for this class: public void setConstraintId(UUID constraintId); public boolean hasBackingIndex(); public void setTableDescriptor(TableDescriptor td); public TableDescriptor getTableDescriptor(); |
Constructor Summary | |
---|---|
SubConstraintDescriptor(UUID constraintId)
Constructor for a SubConstraintDescriptorImpl |
Method Summary | |
---|---|
TableDescriptor |
getTableDescriptor()
Returns the cached TableDescriptor, if supplied, that the constraint is on. |
UUID |
getUUID()
Gets the UUID of the constraint. |
abstract boolean |
hasBackingIndex()
Does this constraint have a backing index? |
void |
setConstraintId(UUID constraintId)
Sets the UUID of the constraint. |
void |
setTableDescriptor(TableDescriptor td)
Caches the TableDescriptor of the table that the constraint is on. |
java.lang.String |
toString()
Convert the SubConstraintDescriptor to a String. |
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 |
---|
TableDescriptor td
UUID constraintId
Constructor Detail |
---|
SubConstraintDescriptor(UUID constraintId)
constraintId
- The UUID of the constraint.Method Detail |
---|
public void setConstraintId(UUID constraintId)
constraintId
- The constraint Id.public UUID getUUID()
getUUID
in interface UniqueTupleDescriptor
public abstract boolean hasBackingIndex()
public void setTableDescriptor(TableDescriptor td)
td
- The TableDescriptor.public TableDescriptor getTableDescriptor()
public java.lang.String toString()
toString
in class java.lang.Object
|
Built on Thu 2011-03-10 11:54:14+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |