|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.apache.derby.iapi.sql.dictionary.ConstraintDescriptorList
public class ConstraintDescriptorList
| Field Summary | |
|---|---|
private boolean |
scanned
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ConstraintDescriptorList()
|
|
| Method Summary | |
|---|---|
ConstraintDescriptor |
dropConstraintDescriptorById(UUID uuid)
Drop the constraint with the given UUID. |
ConstraintDescriptor |
elementAt(int n)
Return the nth (0-based) element in the list. |
ConstraintDescriptor |
getConstraintDescriptor(UUID indexUUID)
Get the ConstraintDescriptor with the matching UUID String for the backing index. |
ConstraintDescriptor |
getConstraintDescriptorById(UUID uuid)
Get the ConstraintDescriptor with the matching constraint id. |
ConstraintDescriptor |
getConstraintDescriptorByName(SchemaDescriptor sd,
java.lang.String name)
Get the ConstraintDescriptor with the matching constraint name. |
ConstraintDescriptorList |
getConstraintDescriptorList(boolean enabled)
Return a list of constraints where enabled is as passed in. |
ReferencedKeyConstraintDescriptor |
getPrimaryKey()
Get the ConstraintDescriptor with the matching constraint name. |
boolean |
getScanned()
Return whether or not the underlying system table has been scanned. |
ConstraintDescriptorList |
getSubList(int type)
Return a ConstraintDescriptorList containing the ConstraintDescriptors of the specified type that are in this list. |
void |
setScanned(boolean scanned)
Mark whether or not the underlying system table has been scanned. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode |
| Field Detail |
|---|
private boolean scanned
| Constructor Detail |
|---|
public ConstraintDescriptorList()
| Method Detail |
|---|
public void setScanned(boolean scanned)
scanned - Whether or not the underlying system table has been scanned.public boolean getScanned()
public ConstraintDescriptor getConstraintDescriptor(UUID indexUUID)
indexUUID - The UUID for the backing index.
public ConstraintDescriptor getConstraintDescriptorById(UUID uuid)
uuid - The constraint id.
public ConstraintDescriptor dropConstraintDescriptorById(UUID uuid)
uuid - The constraint id.
public ConstraintDescriptor getConstraintDescriptorByName(SchemaDescriptor sd,
java.lang.String name)
sd - The constraint schema descriptor.name - The constraint name.
public ReferencedKeyConstraintDescriptor getPrimaryKey()
public ConstraintDescriptorList getConstraintDescriptorList(boolean enabled)
enabled - true or false
public ConstraintDescriptor elementAt(int n)
n - Which element to return.
public ConstraintDescriptorList getSubList(int type)
type - The constraint type.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||