public class UInt32 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 |
|---|
UInt32()
Create a new UInt32 with a default of 0.
|
UInt32(int data)
Create a new UInt32 with the given data value treated as a 32-bit
unsigned integer.
|
| Modifier and Type | Method and Description |
|---|---|
UInt32 |
clone()
Create a clone of this UInt32.
|
static UInt32 |
fromJsonObject(javax.json.JsonObject jsonObject)
Create a new UInt32 based on the given JSON object.
|
static UInt32 |
fromJsonString(String jsonString)
Create a new UInt32 based on the given JSON string.
|
static UInt32 |
fromMessage(Message m)
Create a new UInt32 based on the given Message.
|
int |
getData()
Get the data value of this int.
|
getMessageType, setMessageTypeequals, hashCode, toJsonObject, toStringpublic static final String FIELD_DATA
public static final String TYPE
public UInt32()
public UInt32(int data)
data - The data value of the int.public int getData()
public static UInt32 fromJsonString(String jsonString)
jsonString - The JSON string to parse.public static UInt32 fromMessage(Message m)
m - The Message to parse.public static UInt32 fromJsonObject(javax.json.JsonObject jsonObject)
jsonObject - The JSON object to parse.Copyright © 2014. All rights reserved.