T - type of return valueR - target objectpublic interface Accessor<T,R> extends Targetted<T>
DataObject as the target
An Accessor that can provide Filters based on the result type implements FilterProvider
An Accessor that also allows access via SQL implements SQLAccessor.
Unless an Accessor implements one or the other it won't be able to be used to filter results.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
canSet()
does this
Accessor support setting values. |
T |
getValue(R r)
get the value from the target object
|
default void |
setValue(R r,
T value)
Set value if supported otherwise throw a
UnsupportedOperationException. |