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 java.lang.Object
Model of an annotation.
-
-
Constructor Summary
Constructors Constructor Description Annot(java.lang.String key, java.lang.Object value)
Constructs an annotation with the given key and value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
key()
Returns the annotation's key.java.lang.Object
value()
Returns the annotation's value.java.lang.String
valueAsString()
Returns the value as a string.
-
-
-
Method Detail
-
key
public java.lang.String key()
Returns the annotation's key.- Returns:
- key
-
value
public java.lang.Object value()
Returns the annotation's value.- Returns:
- value
-
valueAsString
public java.lang.String valueAsString()
Returns the value as a string. This default implementation uses the value's toString() method.- Returns:
- the value as a string
-
-