org.mmbase.storage.util
Class Index
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Field>
org.mmbase.storage.util.Index
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<Field>, Collection<Field>, List<Field>, RandomAccess
public class Index
- extends ArrayList<Field>
- Since:
- MMBase-1.8
- Version:
- $Id: Index.java 35523 2009-05-29 13:39:38Z michiel $
- Author:
- Pierre van Rooden
- See Also:
- Serialized Form
- Javadoc:
|
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, 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(Field field)
- Specified by:
add in interface Collection<Field>- Specified by:
add in interface List<Field>- Overrides:
add in class ArrayList<Field>
remove
public boolean remove(Field field)
MMBase 2.0-SNAPSHOT - null