Package org.onosproject.ui.table
Class TableModel.Annot
- java.lang.Object
-
- org.onosproject.ui.table.TableModel.Annot
-
- Enclosing class:
- TableModel
public class TableModel.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
-
-