public class UInt64 extends Message
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_DATA
The name of the data field for the message.
|
static String |
TYPE
The message type.
|
EMPTY_MESSAGEEMPTY_JSON| Constructor and Description |
|---|
UInt64()
Create a new UInt64 with a default of 0.
|
UInt64(long data)
Create a new UInt64 with the given data value treated as a 64-bit
unsigned integer.
|
| Modifier and Type | Method and Description |
|---|---|
UInt64 |
clone()
Create a clone of this UInt64.
|
static UInt64 |
fromJsonObject(javax.json.JsonObject jsonObject)
Create a new UInt64 based on the given JSON object.
|
static UInt64 |
fromJsonString(String jsonString)
Create a new UInt64 based on the given JSON string.
|
static UInt64 |
fromMessage(Message m)
Create a new UInt64 based on the given Message.
|
long |
getData()
Get the data value of this long.
|
getMessageType, setMessageTypeequals, hashCode, toJsonObject, toStringpublic static final String FIELD_DATA
public static final String TYPE
public UInt64()
public UInt64(long data)
data - The data value of the long.public long getData()
public static UInt64 fromJsonString(String jsonString)
jsonString - The JSON string to parse.public static UInt64 fromMessage(Message m)
m - The Message to parse.public static UInt64 fromJsonObject(javax.json.JsonObject jsonObject)
jsonObject - The JSON object to parse.Copyright © 2014. All rights reserved.