org.mmbase.storage.util
Class Index

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.mmbase.storage.util.Index
All Implemented Interfaces:
Cloneable, Collection, List, RandomAccess, Serializable

public class Index
extends ArrayList

Since:
MMBase-1.8
Version:
$Id: Index.java,v 1.1 2005/08/22 08:14:02 pierre Exp $
Author:
Pierre van Rooden
See Also:
Serialized Form
Warning: No Java Documentation Available.

Field Summary
static String MAIN
          Name of the 'main' index of a builder (the 'nameless' index of all fields whose 'key' attribute is true)
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Index(MMObjectBuilder builder, String name)
           
 
Method Summary
 boolean add(Object field)
           
 String getName()
           
 MMObjectBuilder getParent()
           
 boolean isUnique()
           
 boolean remove(Object field)
           
 void setUnique(boolean unique)
           
 
Methods inherited from class java.util.ArrayList
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, 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, removeAll, retainAll, subList
 

Field Detail

MAIN

public static final String MAIN
Name of the 'main' index of a builder (the 'nameless' index of all fields whose 'key' attribute is true)

See Also:
Constant Field Values
Constructor Detail

Index

public Index(MMObjectBuilder builder,
             String name)
Method Detail

getName

public String getName()

getParent

public MMObjectBuilder getParent()

isUnique

public boolean isUnique()

setUnique

public void setUnique(boolean unique)

add

public boolean add(Object field)

remove

public boolean remove(Object field)


MMBase build 1.8.1.20060716