public class AnnotatedValue<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AnnotatedValue() |
|
AnnotatedValue(T value) |
|
AnnotatedValue(T value,
String label,
String description,
Map<String,Object> features) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Map<String,Object> |
getFeatures() |
String |
getLabel() |
T |
getValue() |
void |
setDescription(String description) |
void |
setFeatures(Map<String,Object> features) |
void |
setLabel(String label) |
void |
setValue(T value) |
AnnotatedValue<T> |
withDescription(String description) |
AnnotatedValue<T> |
withFeatures(Map<String,Object> features) |
AnnotatedValue<T> |
withLabel(String label) |
protected AnnotatedValue()
public AnnotatedValue(T value, String label, String description, Map<String,Object> features)
public AnnotatedValue(T value)
public T getValue()
public void setValue(T value)
public String getLabel()
public void setLabel(String label)
public String getDescription()
public void setDescription(String description)
public AnnotatedValue<T> withLabel(String label)
public AnnotatedValue<T> withDescription(String description)
public AnnotatedValue<T> withFeatures(Map<String,Object> features)
Copyright © 2016–2019 Softelnet. All rights reserved.