public abstract class AbstractCompositeElement<T extends Element> extends ArrayList<T> implements Element
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected String |
id |
modCount
Constructor and Description |
---|
AbstractCompositeElement() |
AbstractCompositeElement(Collection<? extends T> c) |
AbstractCompositeElement(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
Collection<Field> |
fields() |
Field |
findFieldByPropertyName(String propertyName) |
String |
getId() |
void |
readFromObject(Object obj) |
void |
readFromRequest(HttpServletRequest req) |
void |
setId(String id) |
boolean |
validate() |
void |
writeToObject(Object obj) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
toXhtml
containsAll, equals, hashCode
public static final String copyright
protected String id
public AbstractCompositeElement(int initialCapacity)
public AbstractCompositeElement()
public AbstractCompositeElement(Collection<? extends T> c)
public void readFromRequest(HttpServletRequest req)
readFromRequest
in interface Element
public void readFromObject(Object obj)
readFromObject
in interface Element
public void writeToObject(Object obj)
writeToObject
in interface Element
public String getId()
public void setId(String id)
public Collection<Field> fields()