public interface ModelData
Modifier and Type | Method and Description |
---|---|
<X> X |
get(String property)
Returns the named property from this model instance.
|
Map<String,Object> |
getProperties()
Returns the model's properties and values as a map.
|
Collection<String> |
getPropertyNames()
Returns an collection of the model's property names.
|
<X> X |
remove(String property)
Removes the named property from this model instance.
|
<X> X |
set(String property,
X value)
Sets a property.
|
<X> X get(String property)
property
- the property nameMap<String,Object> getProperties()
Collection<String> getPropertyNames()
<X> X remove(String property)
property
- the property name<X> X set(String property, X value)
property
- the property namevalue
- property valueCopyright © 2015. All rights reserved.