Class MAPSM_RP_DA_v1

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

    public class MAPSM_RP_DA_v1
    extends AbstractFieldsObject
    API for MAP-SM-DataTypes-ph1.SM-RP-DA-v1. Generated from the following ASN.1 type definition and the adaptations below.
     SM-RP-DA-v1 ::=
         CHOICE {
             imsi                 IMSI,
             lMsId                LMSI,               -- Renamed to lmsi between ph1 and ph2.
             roamingNumber        ISDN-AddressString, -- Removed between ph1 and ph2.
             serviceCentreAddress AddressString       -- Renamed to serviceCentreAddressDA between ph1 and ph2.
         }
     MAP-SM-DataTypes-ph1 {
         SM-RP-DA-v1 {
             @extendible
             lMsId {
                 @rename lmsi
             }
             serviceCentreAddress {
                 @rename serviceCentreAddressDA
             }
         }
     }
     
    Present in ph1. Evolved to MAPSM_RP_DA in ph2.

    Used as field type by MAPMO_ForwardSM_Arg.

    Used as field type by MAPMT_ForwardSM_Arg.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSM_RP_DA_v1

        public MAPSM_RP_DA_v1()
    • Method Detail

      • copyOf

        public static MAPSM_RP_DA_v1 copyOf​(MAPSM_RP_DA_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:
        MAPSM_RP_DA_v1
      • getChoice

        public MAPSM_RP_DA_v1.Choice getChoice()
        Gets the discriminant of the current choice.
        Returns:
        the current discriminant
      • 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
      • getLmsi

        public LMSIAddress getLmsi()
        Gets the value of the lMsId choice.
        Returns:
        value of the choice, if choice is lMsId, else null
      • getRoamingNumber

        public AddressString getRoamingNumber()
        Gets the value of the roamingNumber choice.
        Returns:
        value of the choice, if choice is roamingNumber, else null
      • getServiceCentreAddressDA

        public AddressString getServiceCentreAddressDA()
        Gets the value of the serviceCentreAddress choice.
        Returns:
        value of the choice, if choice is serviceCentreAddress, else null
      • isImsiChosen

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

        public boolean isLmsiChosen()
        Tests whether the choice is lMsId.
        Returns:
        true if chosen, false if not
      • isRoamingNumberChosen

        public boolean isRoamingNumberChosen()
        Tests whether the choice is roamingNumber.
        Returns:
        true if chosen, false if not
      • isServiceCentreAddressDAChosen

        public boolean isServiceCentreAddressDAChosen()
        Tests whether the choice is serviceCentreAddress.
        Returns:
        true if chosen, false if not
      • setChoice

        protected void setChoice​(MAPSM_RP_DA_v1.Choice arg)
        Sets the discriminant of the current choice.
        Parameters:
        arg - the new discriminant