public static class CCMessageID.VariableMessage extends AbstractFieldsObject
variableMessage ::= SEQUENCE { elementaryMessageID Integer4, variableParts SEQUENCE OF VariablePart }
Used as field type by CCMessageID
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCMessageID.VariableMessage()
Constructs an object with uninitialised state.
|
CCMessageID.VariableMessage(int ElementaryMessageID_param,
CCVariablePart[] VariableParts_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
CCMessageID.VariableMessage |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCMessageID.VariableMessage |
copyOf(CCMessageID.VariableMessage 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.
|
int |
getElementaryMessageID()
Gets the value of the field elementaryMessageID.
|
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.
|
CCVariablePart[] |
getVariableParts()
Gets the value of the field variableParts.
|
boolean |
hasElementaryMessageID()
Tests whether the field elementaryMessageID has a value.
|
boolean |
hasVariableParts()
Tests whether the field variableParts has a value.
|
CCMessageID.VariableMessage |
setElementaryMessageID(int value)
Sets the value of the field elementaryMessageID and marks the field as present.
|
CCMessageID.VariableMessage |
setVariableParts(CCVariablePart[] value)
Sets the value of the field variableParts.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public CCMessageID.VariableMessage()
public CCMessageID.VariableMessage(int ElementaryMessageID_param, CCVariablePart[] VariableParts_param)
ElementaryMessageID_param
- value for that fieldVariableParts_param
- value for that fieldpublic CCMessageID.VariableMessage clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCMessageID.VariableMessage copyOf(CCMessageID.VariableMessage from)
from
- the object from which to copypublic int getElementaryMessageID()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic CCVariablePart[] getVariableParts()
public boolean hasElementaryMessageID()
public boolean hasVariableParts()
public CCMessageID.VariableMessage setElementaryMessageID(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCMessageID.VariableMessage setVariableParts(CCVariablePart[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only