public class ModelValueProvider extends Object implements IModelValueProvider
Modifier and Type | Field and Description |
---|---|
static String |
ANY_CONFIG
Constant for no configuration selected.
|
Constructor and Description |
---|
ModelValueProvider()
Create a new provider.
|
ModelValueProvider(Map<String,Object> values)
Create a new provider.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue(String configname)
Get the value.
|
Map<String,Object> |
getValues()
Get the values.
|
void |
setValue(Object value)
Set the value.
|
void |
setValue(String configname,
Object value)
Set the value.
|
void |
setValues(Map<String,Object> values)
Set the values.
|
public static final String ANY_CONFIG
public Object getValue(String configname)
getValue
in interface IModelValueProvider
public void setValue(Object value)
value
- The value to set.public void setValue(String configname, Object value)
value
- The value to set.Copyright © 2013. All Rights Reserved.