Class PropertyKey
- java.lang.Object
-
- com.inductiveautomation.perspective.common.api.PropertyKey
-
public class PropertyKey extends java.lang.Object
Uniquely 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.String
path
PropertyType
scope
-
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 boolean
equals(java.lang.Object o)
static PropertyKey
fromString(java.lang.String s)
int
hashCode()
java.lang.String
toString()
-
-
-
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:
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
-
-