Class MAPSentParameter

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSentParameter
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes-ph1.SentParameter. Generated from the following ASN.1 type definition.
     SentParameter ::=
         CHOICE {
             imsi              IMSI,
             authenticationSet AuthenticationSet,
             susbcriberData    SubscriberData,
             cug-information   CUG-Information,
             ki                Ki
         }
     
    Present in ph1. Removed between ph1 and ph2.

    Used in array as result type by MAPOperations.sendParameters_v1.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSentParameter

        public MAPSentParameter()
    • Method Detail

      • copyOf

        public static MAPSentParameter copyOf​(MAPSentParameter 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:
        MAPSentParameter
      • getAuthenticationSet

        public MAPAuthenticationSet getAuthenticationSet()
        Gets the value of the authenticationSet choice.
        Returns:
        value of the choice, if choice is authenticationSet, else null
      • getChoice

        public MAPSentParameter.Choice getChoice()
        Gets the discriminant of the current choice.
        Returns:
        the current discriminant
      • getCug_information

        public MAPCUG_Information getCug_information()
        Gets the value of the cug-information choice.
        Returns:
        value of the choice, if choice is cug-information, else null
      • 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
      • getImsi

        public IMSIAddress getImsi()
        Gets the value of the imsi choice.
        Returns:
        value of the choice, if choice is imsi, else null
      • getKi

        public byte[] getKi()
        Gets the value of the ki choice.
        Returns:
        value of the choice, if choice is ki, else null
      • getSusbcriberData

        public MAPSubscriberData getSusbcriberData()
        Gets the value of the susbcriberData choice.
        Returns:
        value of the choice, if choice is susbcriberData, else null
      • isAuthenticationSetChosen

        public boolean isAuthenticationSetChosen()
        Tests whether the choice is authenticationSet.
        Returns:
        true if chosen, false if not
      • isCug_informationChosen

        public boolean isCug_informationChosen()
        Tests whether the choice is cug-information.
        Returns:
        true if chosen, false if not
      • isImsiChosen

        public boolean isImsiChosen()
        Tests whether the choice is imsi.
        Returns:
        true if chosen, false if not
      • isKiChosen

        public boolean isKiChosen()
        Tests whether the choice is ki.
        Returns:
        true if chosen, false if not
      • isSusbcriberDataChosen

        public boolean isSusbcriberDataChosen()
        Tests whether the choice is susbcriberData.
        Returns:
        true if chosen, false if not