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

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.apache.derby.iapi.sql.dictionary.GenericDescriptorList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class GenericDescriptorList
extends java.util.ArrayList

See Also:
Serialized Form

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
GenericDescriptorList()
           
 
Method Summary
 java.util.Enumeration elements()
           
 boolean getScanned()
          Return whether or not the underlying system table has been scanned.
 UniqueTupleDescriptor getUniqueTupleDescriptor(UUID uuid)
          Get the UniqueTupleDescriptor that matches the input uuid.
 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

scanned

private boolean scanned
Constructor Detail

GenericDescriptorList

public GenericDescriptorList()
Method Detail

setScanned

public void setScanned(boolean scanned)
Mark whether or not the underlying system table has been scanned. (If a table does not have any constraints then the size of its CDL will always be 0. We used these get/set methods to determine when we need to scan the table.

Parameters:
scanned - Whether or not the underlying system table has been scanned.
Returns:
Nothing.

getScanned

public boolean getScanned()
Return whether or not the underlying system table has been scanned.

Returns:
Where or not the underlying system table has been scanned.

getUniqueTupleDescriptor

public UniqueTupleDescriptor getUniqueTupleDescriptor(UUID uuid)
Get the UniqueTupleDescriptor that matches the input uuid.

Parameters:
uuid - The UUID for the object
Returns:
The matching UniqueTupleDescriptor.

elements

public java.util.Enumeration elements()

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.