Class BeanAttributeList
- All Implemented Interfaces:
Iterable<Attribute>, Collection<Attribute>, List<Attribute>, SequencedCollection<Attribute>
BeanAttributeList implements a list of Attributes which are
the properties of a JavaBean.
- Version:
- $Revision: 1.9 $
- Author:
- James Strachan
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionBeanAttributeList(BeanElement parent) BeanAttributeList(BeanElement parent, BeanMetaData beanMetaData) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int index, BeanAttribute object) booleanadd(BeanAttribute object) attribute(int index) voidclear()protected BeanAttributecreateAttribute(BeanElement element, int index) get(int index) getData(int index) getQName(int index) remove(int index) booleanset(int index, BeanAttribute object) voidintsize()Methods inherited from class AbstractList
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
BeanAttributeList
-
BeanAttributeList
-
-
Method Details
-
attribute
-
attribute
-
attribute
-
getParent
-
getQName
-
getData
-
setData
-
size
public int size()- Specified by:
sizein interfaceCollection<Attribute>- Specified by:
sizein interfaceList<Attribute>- Specified by:
sizein classAbstractCollection<Attribute>
-
get
-
add
-
add
-
set
-
remove
- Specified by:
removein interfaceCollection<Attribute>- Specified by:
removein interfaceList<Attribute>- Overrides:
removein classAbstractCollection<Attribute>
-
remove
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Attribute>- Specified by:
clearin interfaceList<Attribute>- Overrides:
clearin classAbstractList<Attribute>
-
createAttribute
-