| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_LOCATION |
static String |
KEY_STATUS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
DoorStatus()
Constructs a new DoorStatus object
|
DoorStatus(Grid location,
DoorStatusType status)
Constructs a new DoorStatus object
|
DoorStatus(Hashtable<String,Object> hash)
Constructs a new DoorStatus object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Grid |
getLocation()
Gets the location.
|
DoorStatusType |
getStatus()
Gets the status.
|
DoorStatus |
setLocation(Grid location)
Sets the location.
|
DoorStatus |
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 DoorStatus()
public DoorStatus(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic DoorStatus(@NonNull
Grid location,
@NonNull
DoorStatusType status)
location - status - public DoorStatus setLocation(@NonNull Grid location)
location - public Grid getLocation()
public DoorStatus setStatus(@NonNull DoorStatusType status)
status - public DoorStatusType getStatus()