Accessor wrapper that replaces a null with an empty collection.
This is so that JAX-WS property accessor will work like an ordinary getter.
| Modifier and Type | Field and Description |
|---|---|
| private final Accessor | |
| private final Lister |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public V | get(B bean)
Implements abstract org. Gets the value of the property of the given bean object. |
| public void | set(B bean, V value)
Implements abstract org. Sets the value of the property of the given bean object. |
| core | back to summary |
|---|---|
| private final Accessor<B, V> core | |
| lister | back to summary |
|---|---|
| private final Lister<B, V, ?, P> lister | |
| NullSafeAccessor | back to summary |
|---|---|
| public NullSafeAccessor(Accessor<B, V> core, Lister<B, V, ?, P> lister) | |
| get | back to summary |
|---|---|
| public V get(B bean) throws AccessorException Implements abstract org. Doc from org. Gets the value of the property of the given bean object.
| |
| set | back to summary |
|---|---|
| public void set(B bean, V value) throws AccessorException Implements abstract org. Doc from org. Sets the value of the property of the given bean object.
| |