Class MAPSS_SubscriptionOption_v1

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    MAPSS_SubscriptionOption, MAPSS_SubscriptionViolationParam

    public class MAPSS_SubscriptionOption_v1
    extends AbstractFieldsObject
    API for MAP-SS-DataTypes-ph1.SS-SubscriptionOption-v1. Generated from the following ASN.1 type definition and the adaptations below.
     SS-SubscriptionOption-v1 ::=
         CHOICE {
             perCallBasis                     BOOLEAN,                      -- Present in ph1.  Removed between ph1 and ph2.
             notificationToHeldRetrievedParty BOOLEAN,                      -- Present in ph1.  Removed between ph1 and ph2.
             userToUserServiceIndicator       UserToUserServiceIndicator,   -- Present in ph1.  Removed between ph1 and ph2.
             maximumConfereesNumber           MaximumConfereesNumber,       -- Present in ph1.  Removed between ph1 and ph2.
             huntGroupAccessSelectionOrder    HuntGroupAccessSelectionOrder -- Present in ph1.  Removed between ph1 and ph2.
         }
     MAP-SS-DataTypes-ph1 {
         SS-SubscriptionOption-v1 {
             @extendible
         }
     }
     
    Present in ph1. Evolved to MAPSS_SubscriptionOption in ph2.

    Used as field type by MAPSS_Data_v1.

    Used as parameter type by MAPErrors.ss_SubscriptionViolation_v1.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSS_SubscriptionOption_v1

        public MAPSS_SubscriptionOption_v1()
    • Method Detail

      • copyOf

        public static MAPSS_SubscriptionOption_v1 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.
        Parameters:
        from - the object from which to copy
        Returns:
        MAPSS_SubscriptionOption_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 :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.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • getHuntGroupAccessSelectionOrder

        public MAPHuntGroupAccessSelectionOrder getHuntGroupAccessSelectionOrder()
        Gets the value of the huntGroupAccessSelectionOrder choice.
        Returns:
        value of the choice, if choice is huntGroupAccessSelectionOrder, else null
      • getMaximumConfereesNumber

        public int getMaximumConfereesNumber()
                                      throws IllegalStateException
        Gets the value of the maximumConfereesNumber choice.
        Returns:
        value of the choice, if choice is maximumConfereesNumber
        Throws:
        IllegalStateException - if choice is not maximumConfereesNumber
      • getNotificationToHeldRetrievedParty

        public boolean getNotificationToHeldRetrievedParty()
                                                    throws IllegalStateException
        Gets the value of the notificationToHeldRetrievedParty choice.
        Returns:
        value of the choice, if choice is notificationToHeldRetrievedParty
        Throws:
        IllegalStateException - if choice is not notificationToHeldRetrievedParty
      • getPerCallBasis

        public boolean getPerCallBasis()
                                throws IllegalStateException
        Gets the value of the perCallBasis choice.
        Returns:
        value of the choice, if choice is perCallBasis
        Throws:
        IllegalStateException - if choice is not perCallBasis
      • getUserToUserServiceIndicator

        public byte[] getUserToUserServiceIndicator()
        Gets the value of the userToUserServiceIndicator choice.
        Returns:
        value of the choice, if choice is userToUserServiceIndicator, else null
      • isHuntGroupAccessSelectionOrderChosen

        public boolean isHuntGroupAccessSelectionOrderChosen()
        Tests whether the choice is huntGroupAccessSelectionOrder.
        Returns:
        true if chosen, false if not
      • isMaximumConfereesNumberChosen

        public boolean isMaximumConfereesNumberChosen()
        Tests whether the choice is maximumConfereesNumber.
        Returns:
        true if chosen, false if not
      • isNotificationToHeldRetrievedPartyChosen

        public boolean isNotificationToHeldRetrievedPartyChosen()
        Tests whether the choice is notificationToHeldRetrievedParty.
        Returns:
        true if chosen, false if not
      • isPerCallBasisChosen

        public boolean isPerCallBasisChosen()
        Tests whether the choice is perCallBasis.
        Returns:
        true if chosen, false if not
      • isUserToUserServiceIndicatorChosen

        public boolean isUserToUserServiceIndicatorChosen()
        Tests whether the choice is userToUserServiceIndicator.
        Returns:
        true if chosen, false if not
      • setNotificationToHeldRetrievedParty

        public MAPSS_SubscriptionOption_v1 setNotificationToHeldRetrievedParty​(boolean value)
                                                                        throws IllegalStateException
        Sets the value of the notificationToHeldRetrievedParty choice.
        Parameters:
        value - the new value for the choice
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only