public static class NodeObject.Lock extends SimpleStreamableObject implements Comparable<NodeObject.Lock>, DSet.Entry
Streamable.Closure| Modifier and Type | Field and Description |
|---|---|
Comparable<?> |
id
The resource identifier, which can be
null for singleton resources. |
String |
type
The resource type.
|
| Constructor and Description |
|---|
Lock(String type,
Comparable<?> id) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NodeObject.Lock olock) |
boolean |
equals(Object other) |
Comparable<?> |
getKey()
Each entry provide an associated key which is used to determine its uniqueness in the
set.
|
int |
hashCode() |
toStringpublic final String type
public final Comparable<?> id
null for singleton resources.public Lock(String type, Comparable<?> id)
public int compareTo(NodeObject.Lock olock)
compareTo in interface Comparable<NodeObject.Lock>public Comparable<?> getKey()
DSet.EntryDSet class documentation for further information.getKey in interface DSet.EntryCopyright © 2015. All rights reserved.