V
- the valuespublic abstract class AbstractValueModel<V> extends Object
Abstract model which holds the values of the client response.
Modifier | Constructor and Description |
---|---|
protected |
AbstractValueModel()
Default constructor.
|
protected |
AbstractValueModel(List<ValueNode<V>> values)
Overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ValueNode<V> |
getValue(String key)
Get the value node for a specific contents code.
|
List<ValueNode<V>> |
getValues()
Getter for values.
|
int |
hashCode() |
void |
setValue(String key,
V value)
Set the value for a specific contents code.
|
void |
setValues(List<ValueNode<V>> values)
Setter for values.
|
abstract String |
toString() |
public void setValues(List<ValueNode<V>> values)
Setter for values.
values
- the valuespublic void setValue(String key, V value)
Set the value for a specific contents code.
key
- the contents code to set the value forvalue
- the valueCopyright © 2016. All rights reserved.