Class MAPSS_Data_v1

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    MAPSS_Data

    public class MAPSS_Data_v1
    extends AbstractFieldsObject
    API for MAP-SS-DataTypes-ph1.SS-Data-v1. Generated from the following ASN.1 type definition.
     SS-Data-v1 ::=
         SEQUENCE {
             ss-Code                  SS-Code,
             ss-Status                SS-Status OPTIONAL,
             ss-SubscriptionOption-v1 SS-SubscriptionOption-v1 OPTIONAL -- Removed between ph1 and ph2.  (Replaced by ss-SubscriptionOption, which has a different type.)
         }
     
    Present in ph1. Evolved to MAPSS_Data in ph2.

    Used as field type by MAPSS_Information.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSS_Data_v1

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

      • copyOf

        public static MAPSS_Data_v1 copyOf​(MAPSS_Data_v1 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:
        MAPSS_Data_v1
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
        Returns:
        FieldAccessor[]
      • 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
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getSs_Code

        public SSCode getSs_Code()
        Gets the value of the field ss-Code.
        Returns:
        value of field ss-Code, or null if not present
      • getSs_Status

        public byte[] getSs_Status()
        Gets the value of the field ss-Status.
        Returns:
        value of field ss-Status, or null if not present
      • getSs_SubscriptionOption_v1

        public MAPSS_SubscriptionOption_v1 getSs_SubscriptionOption_v1()
        Gets the value of the field ss-SubscriptionOption-v1.
        Returns:
        value of field ss-SubscriptionOption-v1, or null if not present
      • hasSs_Code

        public boolean hasSs_Code()
        Tests whether the field ss-Code has a value.
        Returns:
        whether the field ss-Code has a value
      • hasSs_Status

        public boolean hasSs_Status()
        Tests whether the field ss-Status has a value.
        Returns:
        whether the field ss-Status has a value
      • hasSs_SubscriptionOption_v1

        public boolean hasSs_SubscriptionOption_v1()
        Tests whether the field ss-SubscriptionOption-v1 has a value.
        Returns:
        whether the field ss-SubscriptionOption-v1 has a value
      • setSs_Status

        public MAPSS_Data_v1 setSs_Status​(byte[] value)
                                   throws IllegalStateException
        Sets the value of the field ss-Status. If null, marks the field as absent.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only