V
- the property typepublic class ModelDataValueProvider<V> extends Object implements ValueProvider<ModelData,V>
ModelData
class, fetching properties with the given string key.Constructor and Description |
---|
ModelDataValueProvider(String property) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPath()
Returns the path that this ValueProvider makes available, from the object,
to the value.
|
V |
getValue(ModelData object)
Returns the property value of the given object.
|
int |
hashCode() |
void |
setValue(ModelData object,
V value)
Sets the value of the given object
|
public ModelDataValueProvider(String property)
public String getPath()
ValueProvider
getPath
in interface ValueProvider<ModelData,V>
public V getValue(ModelData object)
ValueProvider
getValue
in interface ValueProvider<ModelData,V>
object
- the target objectpublic void setValue(ModelData object, V value)
ValueProvider
setValue
in interface ValueProvider<ModelData,V>
Copyright © 2015. All rights reserved.