public class CAP4BCSM_Failure extends AbstractFieldsObject
BCSM-Failure ::=
SEQUENCE {
legID LegID OPTIONAL,
cause Cause OPTIONAL,
...
}
Used as field type by CAP4EntityReleasedArg.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CAP4BCSM_Failure()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
CAP4BCSM_Failure |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4BCSM_Failure |
copyOf(CAP4BCSM_Failure 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.
|
Cause |
getCause()
Gets the value of the field cause.
|
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.
|
CCLegID |
getLegID()
Gets the value of the field legID.
|
boolean |
hasCause()
Tests whether the field cause has a value.
|
boolean |
hasLegID()
Tests whether the field legID has a value.
|
CAP4BCSM_Failure |
setCause(Cause value)
Sets the value of the field cause.
|
CAP4BCSM_Failure |
setLegID(CCLegID value)
Sets the value of the field legID.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic CAP4BCSM_Failure()
public CAP4BCSM_Failure clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CAP4BCSM_Failure copyOf(CAP4BCSM_Failure from)
from - the object from which to copypublic Cause getCause()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic CCLegID getLegID()
public boolean hasCause()
public boolean hasLegID()
public CAP4BCSM_Failure setCause(Cause value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CAP4BCSM_Failure setLegID(CCLegID 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 AbstractDataObject