|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.mgmt.PropertyClient.PropertyKey
public static final class PropertyClient.PropertyKey
Key value in the map returned by PropertyClient.getDefinitions()
.
A key consists of the interface object type and the property identifier of the
associated property. If the property is defined globally, the global object type
GLOBAL_OBJTYPE
is used.
Field Summary | |
---|---|
static int |
GLOBAL_OBJTYPE
Identifier for a property defined with global object type. |
Constructor Summary | |
---|---|
PropertyClient.PropertyKey(int pid)
Creates a new key for a global defined property. |
|
PropertyClient.PropertyKey(int objType,
int pid)
Creates a new key for a property. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
isGlobal()
Returns whether the property is defined with global object type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int GLOBAL_OBJTYPE
Constructor Detail |
---|
public PropertyClient.PropertyKey(int pid)
pid
- property identifierpublic PropertyClient.PropertyKey(int objType, int pid)
objType
- object type of the propertypid
- property identifierMethod Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isGlobal()
true
if property has global object type,
false
if property has a specific object type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |