@ThreadSafe public final class PointBinding extends Object implements Serializable, Comparable<PointBinding>
Instances of this class are created by a store to hold point binding
informations sent as response to a query encapsulated by the PointBinding.Request
nested class.
Note: the 'server UUID' field is meaningful only to the server who has created the instance and does not need to survive serialization.
| Modifier and Type | Class and Description |
|---|---|
static class |
PointBinding.Request
Request.
|
| Constructor and Description |
|---|
PointBinding(String name,
UUID clientUUID,
Optional<UUID> serverUUID)
Constructs a point binding.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PointBinding other) |
boolean |
equals(Object other) |
String |
getName()
Gets the point's name.
|
UUID |
getServerUUID()
Gets the point's UUID (server).
|
UUID |
getUUID()
Gets the point's UUID (client).
|
int |
hashCode() |
String |
toString() |
public int compareTo(PointBinding other)
compareTo in interface Comparable<PointBinding>public boolean equals(Object other)
equals in class Object@Nonnull @CheckReturnValue public String getName()
@Nonnull @CheckReturnValue public UUID getServerUUID()
@Nonnull @CheckReturnValue public UUID getUUID()
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class ObjectCopyright © 2003-2019 Serge Brisson. All Rights Reserved.