public static class CS1GapTreatment.Both extends AbstractFieldsObject
both ::=
SEQUENCE {
informationToSend InformationToSend,
releaseCause Cause
}
Used as field type by CS1GapTreatment.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CS1GapTreatment.Both()
Constructs an object with uninitialised state.
|
CS1GapTreatment.Both(CS1InformationToSend InformationToSend_param,
Cause ReleaseCause_param)
Constructs an object from given values for all fields.
|
| Modifier and Type | Method and Description |
|---|---|
CS1GapTreatment.Both |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CS1GapTreatment.Both |
copyOf(CS1GapTreatment.Both from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from field-name to field-value.
|
CS1InformationToSend |
getInformationToSend()
Gets the value of the field informationToSend.
|
Cause |
getReleaseCause()
Gets the value of the field releaseCause.
|
boolean |
hasInformationToSend()
Tests whether the field informationToSend has a value.
|
boolean |
hasReleaseCause()
Tests whether the field releaseCause has a value.
|
CS1GapTreatment.Both |
setInformationToSend(CS1InformationToSend value)
Sets the value of the field informationToSend.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CS1GapTreatment.Both |
setReleaseCause(Cause value)
Sets the value of the field releaseCause.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CS1GapTreatment.Both()
public CS1GapTreatment.Both(CS1InformationToSend InformationToSend_param, Cause ReleaseCause_param)
InformationToSend_param - value for that fieldReleaseCause_param - value for that fieldpublic CS1GapTreatment.Both clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CS1GapTreatment.Both copyOf(CS1GapTreatment.Both from)
from - the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic CS1InformationToSend getInformationToSend()
public Cause getReleaseCause()
public boolean hasInformationToSend()
public boolean hasReleaseCause()
public CS1GapTreatment.Both setInformationToSend(CS1InformationToSend value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObjectpublic CS1GapTreatment.Both setReleaseCause(Cause value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only