public class BeanAttributeList extends AbstractList
BeanAttributeList
implements a list of Attributes
which are the properties of a JavaBean.
Modifier and Type | Field and Description |
---|---|
private BeanAttribute[] |
attributes
The attributes
|
private BeanMetaData |
beanMetaData
The BeanElement that this
|
private BeanElement |
parent
The BeanElement that this
|
modCount
Constructor and Description |
---|
BeanAttributeList(BeanElement parent) |
BeanAttributeList(BeanElement parent,
BeanMetaData beanMetaData) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object object) |
boolean |
add(Object object) |
BeanAttribute |
attribute(int index) |
Attribute |
attribute(QName qname) |
Attribute |
attribute(String name) |
void |
clear() |
protected BeanAttribute |
createAttribute(BeanElement parent,
int index) |
Object |
get(int index) |
Object |
getData(int index) |
BeanElement |
getParent() |
QName |
getQName(int index) |
Object |
remove(int index) |
boolean |
remove(Object object) |
Object |
set(int index,
Object object) |
void |
setData(int index,
Object data) |
int |
size() |
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
private BeanElement parent
private BeanMetaData beanMetaData
private BeanAttribute[] attributes
public BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData)
public BeanAttributeList(BeanElement parent)
public BeanAttribute attribute(int index)
public BeanElement getParent()
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int index)
get
in interface List
get
in class AbstractList
public boolean add(Object object)
add
in interface Collection
add
in interface List
add
in class AbstractList
public void add(int index, Object object)
add
in interface List
add
in class AbstractList
public Object set(int index, Object object)
set
in interface List
set
in class AbstractList
public boolean remove(Object object)
remove
in interface Collection
remove
in interface List
remove
in class AbstractCollection
public Object remove(int index)
remove
in interface List
remove
in class AbstractList
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractList
protected BeanAttribute createAttribute(BeanElement parent, int index)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses