com.sun.xml.bind.v2.runtime.property
Class ArrayProperty<BeanT,ListT,ItemT>
java.lang.Object
com.sun.xml.bind.v2.runtime.property.PropertyImpl<BeanT>
com.sun.xml.bind.v2.runtime.property.ArrayProperty<BeanT,ListT,ItemT>
- All Implemented Interfaces:
- Property<BeanT>, StructureLoaderBuilder
- Direct Known Subclasses:
- ArrayERProperty, ListElementProperty
abstract class ArrayProperty<BeanT,ListT,ItemT>
- extends PropertyImpl<BeanT>
Property
implementation for multi-value properties
(including arrays and collections.)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.xml.bind.v2.runtime.property.Property |
getKind |
acc
protected final Accessor<BeanT,ListT> acc
lister
protected final Lister<BeanT,ListT,ItemT,Object> lister
ArrayProperty
protected ArrayProperty(JAXBContextImpl context,
RuntimePropertyInfo prop)
reset
public void reset(BeanT o)
throws AccessorException
- Description copied from interface:
Property
- Resets the property value on the given object.
... for example by setting 0 or null.
- Throws:
AccessorException
getIdValue
public final String getIdValue(BeanT bean)
- Description copied from interface:
Property
- Gets the value of the property.
This method is only used when the corresponding
PropertyInfo.id()
is ID.ID
,
and therefore the return type is fixed to String
.