CloverDeviceEvent

public class CloverDeviceEvent extends GenericParcelable implements Validator, JSONifiable

This is an auto-generated Clover data object.

Fields

Constructors

Link copied to clipboard
public void CloverDeviceEvent()
Constructs a new empty instance.
public void CloverDeviceEvent(String json)
Constructs a new instance from the given JSON String.
public void CloverDeviceEvent(JSONObject jsonObject)
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.
Constructs a new instance that is a deep copy of the source instance.

Types

Link copied to clipboard
public interface Constraints

Properties

Link copied to clipboard
public final static int CONTENTS_FILE_DESCRIPTOR
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final static int PARCELABLE_WRITE_RETURN_VALUE

Functions

Link copied to clipboard
public void clearCode()
Clears the 'code' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearEventState()
Clears the 'eventState' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearInputOptions()
Clears the 'inputOptions' field, the 'has' method for this field will now return false
Link copied to clipboard
public void clearMessage()
Clears the 'message' field, the 'has' method for this field will now return false
Link copied to clipboard
public boolean containsChanges()
Returns true if this instance has any changes.
Link copied to clipboard
Create a copy of this instance that contains only fields that were set after the constructor was called.
Link copied to clipboard
public final int describeContents()
Link copied to clipboard
public final Bundle getBundle()
Link copied to clipboard
public Integer getCode()
Link copied to clipboard
The event state
Link copied to clipboard
Available input options
Link copied to clipboard
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.
Link copied to clipboard
public String getMessage()
Identifier for the request
Link copied to clipboard
public boolean hasCode()
Checks whether the 'code' field has been set, however the value could be null
Link copied to clipboard
public boolean hasEventState()
Checks whether the 'eventState' field has been set, however the value could be null
Link copied to clipboard
public boolean hasInputOptions()
Checks whether the 'inputOptions' field has been set, however the value could be null
Link copied to clipboard
public boolean hasMessage()
Checks whether the 'message' field has been set, however the value could be null
Link copied to clipboard
public boolean isNotEmptyInputOptions()
Checks whether the 'inputOptions' field is set and is not null and is not empty
Link copied to clipboard
public boolean isNotNullCode()
Checks whether the 'code' field is set and is not null
Link copied to clipboard
public boolean isNotNullEventState()
Checks whether the 'eventState' field is set and is not null
Link copied to clipboard
public boolean isNotNullInputOptions()
Checks whether the 'inputOptions' field is set and is not null
Link copied to clipboard
public boolean isNotNullMessage()
Checks whether the 'message' field is set and is not null
Link copied to clipboard
public void mergeChanges(CloverDeviceEvent src)
Copy all the changed fields from the given source to this instance.
Link copied to clipboard
public void resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
Link copied to clipboard
Sets the field 'code'.
Link copied to clipboard
Sets the field 'eventState'.
Link copied to clipboard
Sets the field 'inputOptions'.
Link copied to clipboard
Sets the field 'message'.
Link copied to clipboard
public final String toString()
Link copied to clipboard
public void validate()
Link copied to clipboard
public final void writeToParcel(Parcel dest, int flags)