|
|||||||||
| 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 identifier
public PropertyClient.PropertyKey(int objType,
int pid)
objType - object type of the propertypid - property identifier| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||