T
- the type of the propertypublic interface PropertyAccessor<T>
Modifier and Type | Method | Description |
---|---|---|
<S> T |
get(S instance) |
Gets the value for a given PropertyModel instance.
|
<S> void |
set(S instance,
T value) |
Sets a value on the given PropertyModel
|
<S> T get(S instance)
S
- the class instance typeinstance
- the class instance to get the property value from<S> void set(S instance, T value)
S
- the class instance typeinstance
- the instance to set the property value tovalue
- the new value for the property