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.Object
Simple 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 boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
key()
Returns the property's key.java.lang.String
label()
Returns the property's (localized) label.java.lang.String
toString()
java.lang.String
value()
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-