public class TerminalManagementStandard extends GenericParcelable implements Validator, JSONifiable
Modifier and Type | Class and Description |
---|---|
static interface |
TerminalManagementStandard.Constraints |
JSONifiable.Creator<T>
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<TerminalManagementStandard> |
CREATOR |
static JSONifiable.Creator<TerminalManagementStandard> |
JSON_CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier | Constructor and Description |
---|---|
|
TerminalManagementStandard()
Constructs a new empty instance.
|
protected |
TerminalManagementStandard(boolean noInit)
Constructs a new empty instance.
|
|
TerminalManagementStandard(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.
|
|
TerminalManagementStandard(String json)
Constructs a new instance from the given JSON String.
|
|
TerminalManagementStandard(TerminalManagementStandard src)
Constructs a new instance that is a deep copy of the source instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clearAssessmentIdentifier()
Clears the 'assessmentIdentifier' field, the 'has' method for this field will now return false
|
void |
clearAssigner()
Clears the 'assigner' field, the 'has' method for this field will now return false
|
void |
clearComponent()
Clears the 'component' field, the 'has' method for this field will now return false
|
void |
clearIdentification()
Clears the 'identification' field, the 'has' method for this field will now return false
|
void |
clearIssuer()
Clears the 'issuer' field, the 'has' method for this field will now return false
|
void |
clearType()
Clears the 'type' field, the 'has' method for this field will now return false
|
void |
clearVersion()
Clears the 'version' field, the 'has' method for this field will now return false
|
boolean |
containsChanges()
Returns true if this instance has any changes.
|
TerminalManagementStandard |
copyChanges()
Create a copy of this instance that contains only fields that were set after the constructor was called.
|
String |
getAssessmentIdentifier()
approval number or other identifier for the assessment
|
String |
getAssigner()
the assessment assigner
|
String |
getComponent()
The compnent this standard applies to (e.g.
|
protected GenericClient |
getGenericClient() |
String |
getIdentification()
The standard identifier e.g.
|
String |
getIssuer()
The standard issuer
|
JSONObject |
getJSONObject()
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.
|
String |
getType()
assessment type for the standard
|
String |
getVersion()
The standard version
|
boolean |
hasAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field has been set, however the value could be null
|
boolean |
hasAssigner()
Checks whether the 'assigner' field has been set, however the value could be null
|
boolean |
hasComponent()
Checks whether the 'component' field has been set, however the value could be null
|
boolean |
hasIdentification()
Checks whether the 'identification' field has been set, however the value could be null
|
boolean |
hasIssuer()
Checks whether the 'issuer' field has been set, however the value could be null
|
boolean |
hasType()
Checks whether the 'type' field has been set, however the value could be null
|
boolean |
hasVersion()
Checks whether the 'version' field has been set, however the value could be null
|
boolean |
isNotNullAssessmentIdentifier()
Checks whether the 'assessmentIdentifier' field is set and is not null
|
boolean |
isNotNullAssigner()
Checks whether the 'assigner' field is set and is not null
|
boolean |
isNotNullComponent()
Checks whether the 'component' field is set and is not null
|
boolean |
isNotNullIdentification()
Checks whether the 'identification' field is set and is not null
|
boolean |
isNotNullIssuer()
Checks whether the 'issuer' field is set and is not null
|
boolean |
isNotNullType()
Checks whether the 'type' field is set and is not null
|
boolean |
isNotNullVersion()
Checks whether the 'version' field is set and is not null
|
void |
mergeChanges(TerminalManagementStandard src)
Copy all the changed fields from the given source to this instance.
|
void |
resetChangeLog()
Reset the log of changes made to this instance, calling copyChanges() after this would return an empty instance.
|
TerminalManagementStandard |
setAssessmentIdentifier(String assessmentIdentifier)
Sets the field 'assessmentIdentifier'.
|
TerminalManagementStandard |
setAssigner(String assigner)
Sets the field 'assigner'.
|
TerminalManagementStandard |
setComponent(String component)
Sets the field 'component'.
|
TerminalManagementStandard |
setIdentification(String identification)
Sets the field 'identification'.
|
TerminalManagementStandard |
setIssuer(String issuer)
Sets the field 'issuer'.
|
TerminalManagementStandard |
setType(String type)
Sets the field 'type'.
|
TerminalManagementStandard |
setVersion(String version)
Sets the field 'version'.
|
void |
validate() |
describeContents, getBundle, toString, writeToParcel
public static final Parcelable.Creator<TerminalManagementStandard> CREATOR
public static final JSONifiable.Creator<TerminalManagementStandard> JSON_CREATOR
public TerminalManagementStandard()
protected TerminalManagementStandard(boolean noInit)
public TerminalManagementStandard(String json) throws IllegalArgumentException
IllegalArgumentException
public TerminalManagementStandard(JSONObject jsonObject)
public TerminalManagementStandard(TerminalManagementStandard src)
public String getComponent()
public String getIdentification()
public String getVersion()
public String getIssuer()
public String getType()
public String getAssigner()
public String getAssessmentIdentifier()
protected GenericClient getGenericClient()
getGenericClient
in class GenericParcelable
public JSONObject getJSONObject()
getJSONObject
in interface JSONifiable
public boolean isNotNullComponent()
public boolean isNotNullIdentification()
public boolean isNotNullVersion()
public boolean isNotNullIssuer()
public boolean isNotNullType()
public boolean isNotNullAssigner()
public boolean isNotNullAssessmentIdentifier()
public boolean hasComponent()
public boolean hasIdentification()
public boolean hasVersion()
public boolean hasIssuer()
public boolean hasType()
public boolean hasAssigner()
public boolean hasAssessmentIdentifier()
public TerminalManagementStandard setComponent(String component)
public TerminalManagementStandard setIdentification(String identification)
public TerminalManagementStandard setVersion(String version)
public TerminalManagementStandard setIssuer(String issuer)
public TerminalManagementStandard setType(String type)
public TerminalManagementStandard setAssigner(String assigner)
public TerminalManagementStandard setAssessmentIdentifier(String assessmentIdentifier)
public void clearComponent()
public void clearIdentification()
public void clearVersion()
public void clearIssuer()
public void clearType()
public void clearAssigner()
public void clearAssessmentIdentifier()
public boolean containsChanges()
public void resetChangeLog()
public TerminalManagementStandard copyChanges()
public void mergeChanges(TerminalManagementStandard src)