org.apache.derby.iapi.sql.dictionary
Class SubCheckConstraintDescriptor

java.lang.Object
  extended by org.apache.derby.iapi.sql.dictionary.TupleDescriptor
      extended by org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
          extended by org.apache.derby.iapi.sql.dictionary.SubCheckConstraintDescriptor
All Implemented Interfaces:
UniqueTupleDescriptor

public class SubCheckConstraintDescriptor
extends SubConstraintDescriptor

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

Version:
0.1

Field Summary
private  java.lang.String constraintText
           
private  ReferencedColumns referencedColumns
          public interface to this class: public String getConstraintText(); public ReferencedColumns getReferencedColumnsDescriptor();
 
Fields inherited from class org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
constraintId, td
 
Constructor Summary
SubCheckConstraintDescriptor(UUID constraintId, java.lang.String constraintText, ReferencedColumns referencedColumns)
          Constructor for a SubCheckConstraintDescriptor
 
Method Summary
 java.lang.String getConstraintText()
          Get the text of the check constraint definition.
 ReferencedColumns getReferencedColumnsDescriptor()
          Get the ReferencedColumns.
 boolean hasBackingIndex()
          Does this constraint have a backing index?
 java.lang.String toString()
          Convert the SubCheckConstraintDescriptor 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

referencedColumns

private ReferencedColumns referencedColumns
public interface to this class:
  1. public String getConstraintText();
  2. public ReferencedColumns getReferencedColumnsDescriptor();


constraintText

private java.lang.String constraintText
Constructor Detail

SubCheckConstraintDescriptor

public SubCheckConstraintDescriptor(UUID constraintId,
                                    java.lang.String constraintText,
                                    ReferencedColumns referencedColumns)
Constructor for a SubCheckConstraintDescriptor

Parameters:
constraintId - The UUID of the constraint.
constraintText - The text of the constraint definition.
referencedColumns - The columns referenced by the check constraint
Method Detail

getConstraintText

public java.lang.String getConstraintText()
Get the text of the check constraint definition.

Returns:
The text of the check constraint definition.

getReferencedColumnsDescriptor

public ReferencedColumns getReferencedColumnsDescriptor()
Get the ReferencedColumns.

Returns:
The ReferencedColumns.

hasBackingIndex

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

Specified by:
hasBackingIndex in class SubConstraintDescriptor
Returns:
boolean Whether or not there is a backing index for this constraint.

toString

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

Overrides:
toString in class SubConstraintDescriptor
Returns:
A String representation of this SubCheckConstraintDescriptor

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.