| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_LOCATION |
static String |
KEY_STATUS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GateStatus()
Constructs a new GateStatus object
|
GateStatus(Grid location,
DoorStatusType status)
Constructs a new GateStatus object
|
GateStatus(Hashtable<String,Object> hash)
Constructs a new GateStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Grid |
getLocation()
Gets the location.
|
DoorStatusType |
getStatus()
Gets the status.
|
GateStatus |
setLocation(Grid location)
Sets the location.
|
GateStatus |
setStatus(DoorStatusType status)
Sets the status.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_LOCATION
public static final String KEY_STATUS
public GateStatus()
public GateStatus(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic GateStatus(@NonNull
Grid location,
@NonNull
DoorStatusType status)
location - status - public GateStatus setLocation(@NonNull Grid location)
location - public Grid getLocation()
public GateStatus setStatus(@NonNull DoorStatusType status)
status - public DoorStatusType getStatus()