org.mmbase.storage.util
Class Index
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.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) |
| 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 |
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
Index
public Index(MMObjectBuilder builder,
String name)
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