Class PropertyKey
- java.lang.Object
-
- com.inductiveautomation.perspective.common.api.PropertyKey
-
public class PropertyKey extends java.lang.ObjectUniquely identifies a property of a component by combining it's path and it's property scope.Suitable to be used as a map key.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringpathPropertyTypescope
-
Constructor Summary
Constructors Constructor Description PropertyKey(PropertyType scope, java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static PropertyKeyfromString(java.lang.String s)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
scope
public final PropertyType scope
-
path
public final java.lang.String path
-
-
Constructor Detail
-
PropertyKey
public PropertyKey(PropertyType scope, java.lang.String path)
-
-
Method Detail
-
fromString
public static PropertyKey fromString(java.lang.String s)
-
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
-
-