Package org.onosproject.ui.chart
Class ChartModel.Annot
- java.lang.Object
-
- org.onosproject.ui.chart.ChartModel.Annot
-
- Enclosing class:
- ChartModel
public class ChartModel.Annot extends Object
Model of an annotation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
key()
Returns the annotation's key.Object
value()
Returns the annotation's value.String
valueAsString()
Returns the value as a string.
-
-
-
Method Detail
-
key
public String key()
Returns the annotation's key.- Returns:
- key
-
value
public Object value()
Returns the annotation's value.- Returns:
- value
-
valueAsString
public String valueAsString()
Returns the value as a string. This default implementation uses the value's toString() method.- Returns:
- the value as a string
-
-