POJO
- is the generic type of the Pojo
to access.VALUE
- is the generic type of the POJOs
property to access.public interface PropertyAccessor<POJO,VALUE>
get
and set
the property abstracting from the way how to do this. PojoPathNavigator
). However, for environments such as GWT where no reflection
is available implementations for each property can be provided either hand-written or generated.Modifier and Type | Method and Description |
---|---|
VALUE |
getValue(POJO element)
This method gets the value of the property represented by this
PropertyAccessor from the given
element . |
void |
setValue(POJO element,
VALUE value)
This method sets the value of the property represented by this
PropertyAccessor in the given
element . |
VALUE getValue(POJO element)
PropertyAccessor
from the given
element
.element
- is the element where to get the value from.element
.void setValue(POJO element, VALUE value)
PropertyAccessor
in the given
element
.element
- is the element where to set the value.value
- is the new value for the property.Copyright © 2001–2016 mmm-Team. All rights reserved.