Class CCMessageID.Text.Attributes
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CCMessageID.Text
public static class CCMessageID.Text.Attributes extends ExtendibleOctetString
API for CC-DataTypes.MessageID.text.attributes. Generated from the following ASN.1 type definition and the adaptations below.attributes ::= OCTET STRING CC-DataTypes { MessageID { text { attributes { @extendible } } } }
Each subclass adds a ContainedValue field alongside the ByteArray field inherited from ExtendibleOctetString. The position of this class in the type hierarchy restricts what types of contained value can be used.Used as field type by
CCMessageID.Text
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description Attributes()
Nullary constructor.Attributes(byte[] byteArray)
Constructs from a given initial byte array value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CCMessageID.Text.Attributes
clone()
Constructs a copy of this object and everything reachable from it.static CCMessageID.Text.Attributes
copyOf(CCMessageID.Text.Attributes 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
setByteArray(byte[] value)
Sets the value of the field byteArray.-
Methods inherited from class com.opencloud.slee.resources.cgin.ExtendibleOctetString
getByteArray, getFieldAccessors, getFieldsMap, hasByteArray
-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public CCMessageID.Text.Attributes clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CCMessageID.Text.Attributes copyOf(CCMessageID.Text.Attributes 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.- Parameters:
from
- the object from which to copy- Returns:
- CCMessageID.Text.Attributes
-
setByteArray
public CCMessageID.Text.Attributes setByteArray(byte[] value) throws IllegalStateException
Sets the value of the field byteArray.- Overrides:
setByteArray
in classExtendibleOctetString
- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-