public class DeviceCountInfo extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceCountInfo.Constraints
Deprecated.
|
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<DeviceCountInfo> |
CREATOR
Deprecated.
|
static JSONifiable.Creator<DeviceCountInfo> |
JSON_CREATOR
Deprecated.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
DeviceCountInfo()
Deprecated.
Constructs a new empty instance.
|
protected |
DeviceCountInfo(boolean noInit)
Deprecated.
Constructs a new empty instance.
|
|
DeviceCountInfo(DeviceCountInfo src)
Deprecated.
Constructs a new instance that is a deep copy of the source instance.
|
|
DeviceCountInfo(JSONObject jsonObject)
Deprecated.
Construct a new instance backed by the given JSONObject, the parameter is not copied so changes to it will be
reflected in this instance and vice-versa.
|
|
DeviceCountInfo(String json)
Deprecated.
Constructs a new instance from the given JSON String.
|
Modifier and Type | Method and Description |
---|---|
void |
clearNumBambooleafs()
Deprecated.
Clears the 'numBambooleafs' field, the 'has' method for this field will now return false
|
void |
clearNumBayleafs()
Deprecated.
Clears the 'numBayleafs' field, the 'has' method for this field will now return false
|
void |
clearNumGMCs()
Deprecated.
Clears the 'numGMCs' field, the 'has' method for this field will now return false
|
void |
clearNumGoldenoaks()
Deprecated.
Clears the 'numGoldenoaks' field, the 'has' method for this field will now return false
|
void |
clearNumMinis()
Deprecated.
Clears the 'numMinis' field, the 'has' method for this field will now return false
|
void |
clearNumMobiles()
Deprecated.
Clears the 'numMobiles' field, the 'has' method for this field will now return false
|
void |
clearNumStations()
Deprecated.
Clears the 'numStations' field, the 'has' method for this field will now return false
|
void |
clearTotalDevices()
Deprecated.
Clears the 'totalDevices' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Deprecated.
Returns true if this instance has any changes.
|
DeviceCountInfo |
copyChanges()
Deprecated.
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
protected GenericClient |
getGenericClient()
Deprecated.
|
JSONObject |
getJSONObject()
Deprecated.
Returns the internal JSONObject backing this instance, the return value is not a copy so changes to it will be
reflected in this instance and vice-versa.
|
Long |
getNumBambooleafs()
Deprecated.
|
Long |
getNumBayleafs()
Deprecated.
|
Long |
getNumGMCs()
Deprecated.
|
Long |
getNumGoldenoaks()
Deprecated.
|
Long |
getNumMinis()
Deprecated.
|
Long |
getNumMobiles()
Deprecated.
|
Long |
getNumStations()
Deprecated.
|
Long |
getTotalDevices()
Deprecated.
|
boolean |
hasNumBambooleafs()
Deprecated.
Checks whether the 'numBambooleafs' field has been set, however the value could be null
|
boolean |
hasNumBayleafs()
Deprecated.
Checks whether the 'numBayleafs' field has been set, however the value could be null
|
boolean |
hasNumGMCs()
Deprecated.
Checks whether the 'numGMCs' field has been set, however the value could be null
|
boolean |
hasNumGoldenoaks()
Deprecated.
Checks whether the 'numGoldenoaks' field has been set, however the value could be null
|
boolean |
hasNumMinis()
Deprecated.
Checks whether the 'numMinis' field has been set, however the value could be null
|
boolean |
hasNumMobiles()
Deprecated.
Checks whether the 'numMobiles' field has been set, however the value could be null
|
boolean |
hasNumStations()
Deprecated.
Checks whether the 'numStations' field has been set, however the value could be null
|
boolean |
hasTotalDevices()
Deprecated.
Checks whether the 'totalDevices' field has been set, however the value could be null
|
boolean |
isNotNullNumBambooleafs()
Deprecated.
Checks whether the 'numBambooleafs' field is set and is not null
|
boolean |
isNotNullNumBayleafs()
Deprecated.
Checks whether the 'numBayleafs' field is set and is not null
|
boolean |
isNotNullNumGMCs()
Deprecated.
Checks whether the 'numGMCs' field is set and is not null
|
boolean |
isNotNullNumGoldenoaks()
Deprecated.
Checks whether the 'numGoldenoaks' field is set and is not null
|
boolean |
isNotNullNumMinis()
Deprecated.
Checks whether the 'numMinis' field is set and is not null
|
boolean |
isNotNullNumMobiles()
Deprecated.
Checks whether the 'numMobiles' field is set and is not null
|
boolean |
isNotNullNumStations()
Deprecated.
Checks whether the 'numStations' field is set and is not null
|
boolean |
isNotNullTotalDevices()
Deprecated.
Checks whether the 'totalDevices' field is set and is not null
|
void |
mergeChanges(DeviceCountInfo src)
Deprecated.
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Deprecated.
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
DeviceCountInfo |
setNumBambooleafs(Long numBambooleafs)
Deprecated.
Sets the field 'numBambooleafs'.
|
DeviceCountInfo |
setNumBayleafs(Long numBayleafs)
Deprecated.
Sets the field 'numBayleafs'.
|
DeviceCountInfo |
setNumGMCs(Long numGMCs)
Deprecated.
Sets the field 'numGMCs'.
|
DeviceCountInfo |
setNumGoldenoaks(Long numGoldenoaks)
Deprecated.
Sets the field 'numGoldenoaks'.
|
DeviceCountInfo |
setNumMinis(Long numMinis)
Deprecated.
Sets the field 'numMinis'.
|
DeviceCountInfo |
setNumMobiles(Long numMobiles)
Deprecated.
Sets the field 'numMobiles'.
|
DeviceCountInfo |
setNumStations(Long numStations)
Deprecated.
Sets the field 'numStations'.
|
DeviceCountInfo |
setTotalDevices(Long totalDevices)
Deprecated.
Sets the field 'totalDevices'.
|
void |
validate()
Deprecated.
|
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<DeviceCountInfo> CREATOR
public static final JSONifiable.Creator<DeviceCountInfo> JSON_CREATOR
public DeviceCountInfo()
protected DeviceCountInfo(boolean noInit)
public DeviceCountInfo(String json) throws IllegalArgumentException
IllegalArgumentException
public DeviceCountInfo(JSONObject jsonObject)
public DeviceCountInfo(DeviceCountInfo src)
public Long getTotalDevices()
public Long getNumStations()
public Long getNumMobiles()
public Long getNumMinis()
public Long getNumBayleafs()
public Long getNumBambooleafs()
public Long getNumGMCs()
public Long getNumGoldenoaks()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullTotalDevices()
public boolean isNotNullNumStations()
public boolean isNotNullNumMobiles()
public boolean isNotNullNumMinis()
public boolean isNotNullNumBayleafs()
public boolean isNotNullNumBambooleafs()
public boolean isNotNullNumGMCs()
public boolean isNotNullNumGoldenoaks()
public boolean hasTotalDevices()
public boolean hasNumStations()
public boolean hasNumMobiles()
public boolean hasNumMinis()
public boolean hasNumBayleafs()
public boolean hasNumBambooleafs()
public boolean hasNumGMCs()
public boolean hasNumGoldenoaks()
public DeviceCountInfo setTotalDevices(Long totalDevices)
public DeviceCountInfo setNumStations(Long numStations)
public DeviceCountInfo setNumMobiles(Long numMobiles)
public DeviceCountInfo setNumMinis(Long numMinis)
public DeviceCountInfo setNumBayleafs(Long numBayleafs)
public DeviceCountInfo setNumBambooleafs(Long numBambooleafs)
public DeviceCountInfo setNumGMCs(Long numGMCs)
public DeviceCountInfo setNumGoldenoaks(Long numGoldenoaks)
public void clearTotalDevices()
public void clearNumStations()
public void clearNumMobiles()
public void clearNumMinis()
public void clearNumBayleafs()
public void clearNumBambooleafs()
public void clearNumGMCs()
public void clearNumGoldenoaks()
public boolean containsChanges()
public void resetChangeLog()
public DeviceCountInfo copyChanges()
public void mergeChanges(DeviceCountInfo src)