public static class CCMessageID.Text extends AbstractFieldsObject
text ::= SEQUENCE { messageContent IA5String, attributes OCTET STRING OPTIONAL } CC-DataTypes { MessageID { text { attributes { @extendible } } } }
Used as field type by CCMessageID
.
Modifier and Type | Class and Description |
---|---|
static class |
CCMessageID.Text.Attributes
API for CC-DataTypes.MessageID.text.attributes.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CCMessageID.Text()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
CCMessageID.Text |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCMessageID.Text |
copyOf(CCMessageID.Text 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.
|
CCMessageID.Text.Attributes |
getAttributes()
Gets the value of the field attributes.
|
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.
|
String |
getMessageContent()
Gets the value of the field messageContent.
|
boolean |
hasAttributes()
Tests whether the field attributes has a value.
|
boolean |
hasMessageContent()
Tests whether the field messageContent has a value.
|
CCMessageID.Text |
setAttributes(CCMessageID.Text.Attributes value)
Sets the value of the field attributes.
|
CCMessageID.Text |
setMessageContent(String value)
Sets the value of the field messageContent.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public CCMessageID.Text()
public CCMessageID.Text clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CCMessageID.Text copyOf(CCMessageID.Text from)
from
- the object from which to copypublic CCMessageID.Text.Attributes getAttributes()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic String getMessageContent()
public boolean hasAttributes()
public boolean hasMessageContent()
public CCMessageID.Text setAttributes(CCMessageID.Text.Attributes value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic CCMessageID.Text setMessageContent(String value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject