Package org.onosproject.ui.topo
Class PropertyPanel.Prop
- java.lang.Object
-
- org.onosproject.ui.topo.PropertyPanel.Prop
-
- Enclosing class:
- PropertyPanel
public static class PropertyPanel.Prop extends java.lang.ObjectSimple data carrier for a property, composed of a key/label/value trio.
-
-
Constructor Summary
Constructors Constructor Description Prop(java.lang.String key, java.lang.String label, java.lang.String value)Constructs a property data value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)inthashCode()java.lang.Stringkey()Returns the property's key.java.lang.Stringlabel()Returns the property's (localized) label.java.lang.StringtoString()java.lang.Stringvalue()Returns the property's value.
-
-
-
Method Detail
-
key
public java.lang.String key()
Returns the property's key.- Returns:
- the key
-
label
public java.lang.String label()
Returns the property's (localized) label.- Returns:
- the label
-
value
public java.lang.String value()
Returns the property's value.- Returns:
- the value
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-