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 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BeanAttribute[]
The attributesprivate BeanMetaData
The BeanElement that thisprivate BeanElement
The BeanElement that thisFields inherited from class AbstractList
modCount
-
Constructor Summary
ConstructorsConstructorDescriptionBeanAttributeList
(BeanElement parent) BeanAttributeList
(BeanElement parent, BeanMetaData beanMetaData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int index, BeanAttribute object) boolean
add
(BeanAttribute object) attribute
(int index) void
clear()
protected BeanAttribute
createAttribute
(BeanElement element, int index) get
(int index) getData
(int index) getQName
(int index) remove
(int index) boolean
set
(int index, BeanAttribute object) void
int
size()
Methods inherited from class AbstractList
add, add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList
Methods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
Methods inherited from interface Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
parent
The BeanElement that this -
beanMetaData
The BeanElement that this -
attributes
The attributes
-
-
Constructor Details
-
BeanAttributeList
-
BeanAttributeList
-
-
Method Details
-
attribute
-
attribute
-
attribute
-
getParent
-
getQName
-
getData
-
setData
-
size
public int size()- Specified by:
size
in interfaceCollection<Attribute>
- Specified by:
size
in interfaceList<Attribute>
- Specified by:
size
in classAbstractCollection<Attribute>
-
get
-
add
-
add
-
set
-
remove
- Specified by:
remove
in interfaceCollection<Attribute>
- Specified by:
remove
in interfaceList<Attribute>
- Overrides:
remove
in classAbstractCollection<Attribute>
-
remove
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<Attribute>
- Specified by:
clear
in interfaceList<Attribute>
- Overrides:
clear
in classAbstractList<Attribute>
-
createAttribute
-