|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.apache.derby.iapi.sql.dictionary.ConstraintDescriptorList
Nested Class Summary |
Nested classes inherited from class java.util.AbstractList |
|
Field Summary | |
private boolean |
scanned
|
Fields inherited from class java.util.ArrayList |
|
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, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, 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, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |