Class CCMessageID.Text

  • All Implemented Interfaces:
    DataObject, Serializable
    Enclosing class:

    public static class CCMessageID.Text
    extends AbstractFieldsObject
    API for CC-DataTypes.MessageID.text. Generated from the following ASN.1 type definition and the adaptations below.
     text ::=
         SEQUENCE {
             messageContent IA5String,
             attributes     OCTET STRING OPTIONAL
     CC-DataTypes {
         MessageID {
             text {
                 attributes {

    Used as field type by CCMessageID.

    See Also:
    Serialized Form
    • Constructor Detail

      • Text

        public Text()
        Constructs an object with uninitialised state.
    • Method Detail

      • copyOf

        public 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.
        from - the object from which to copy
      • getAttributes

        public CCMessageID.Text.Attributes getAttributes()
        Gets the value of the field attributes.
        value of field attributes, or null if not present
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
      • getFieldsMap

        public Map<String,​Object> getFieldsMap​(boolean withAbsents)
        Gets a Map from field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        withAbsents - whether to put absent optional fields into Map
        Map from field-name to field-value
      • getMessageContent

        public String getMessageContent()
        Gets the value of the field messageContent.
        value of field messageContent, or null if not present
      • hasAttributes

        public boolean hasAttributes()
        Tests whether the field attributes has a value.
        whether the field attributes has a value
      • hasMessageContent

        public boolean hasMessageContent()
        Tests whether the field messageContent has a value.
        whether the field messageContent has a value