Class MAPSS_SubscriptionOption

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSS_SubscriptionOption
    extends MAPSS_SubscriptionOption_v1
    API for MAP-SS-DataTypes.SS-SubscriptionOption. Generated from the following ASN.1 type definition and the adaptations below.
     SS-SubscriptionOption ::=
         CHOICE {
             cliRestrictionOption CliRestrictionOption,
             overrideCategory     OverrideCategory
     MAP-SS-DataTypes {
         SS-SubscriptionOption {
             @parentASN1Type MAP-SS-DataTypes-ph1.SS-SubscriptionOption-v1
    Added in ph2 as an extension of SS-SubscriptionOption-v1. Note that all of the parent's components are for use only in -v1 contexts.

    Used as field type by MAPSS_Data.

    Used as field type by MAPExt_SS_Data.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSS_SubscriptionOption

        public MAPSS_SubscriptionOption()
    • Method Detail

      • copyOf

        public static MAPSS_SubscriptionOption copyOf​(MAPSS_SubscriptionOption_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.
        from - the object from which to copy
      • getCliRestrictionOption

        public MAPCliRestrictionOption getCliRestrictionOption()
        Gets the value of the cliRestrictionOption choice.
        value of the choice, if choice is cliRestrictionOption, else null
      • 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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.
        getFieldsMap in class MAPSS_SubscriptionOption_v1
        withAbsents - ignored, as value cannot be optional
        Map from :discriminant-name to associated-value
      • getOverrideCategory

        public MAPOverrideCategory getOverrideCategory()
        Gets the value of the overrideCategory choice.
        value of the choice, if choice is overrideCategory, else null
      • isCliRestrictionOptionChosen

        public boolean isCliRestrictionOptionChosen()
        Tests whether the choice is cliRestrictionOption.
        true if chosen, false if not
      • isOverrideCategoryChosen

        public boolean isOverrideCategoryChosen()
        Tests whether the choice is overrideCategory.
        true if chosen, false if not