public class Index extends ArrayList<Field>
| Modifier and Type | Field and Description |
|---|---|
static String |
MAIN
Name of the 'main' index of a builder (the 'nameless' index of all fields whose 'key' attribute is true)
|
modCount| Constructor and Description |
|---|
Index(MMObjectBuilder builder,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Field field) |
String |
getName() |
MMObjectBuilder |
getParent() |
boolean |
isUnique() |
boolean |
remove(Field field) |
void |
setUnique(boolean unique) |
String |
toString() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static final String MAIN
public Index(MMObjectBuilder builder, String name)
public String getName()
public MMObjectBuilder getParent()
public boolean isUnique()
public void setUnique(boolean unique)
public boolean add(Field field)
public boolean remove(Field field)
public String toString()
toString in class AbstractCollection<Field>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}