Class MAPMAP_DialoguePDU

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPMAP_DialoguePDU
    extends AbstractFieldsObject
    API for MAP-DialogueInformation.MAP-DialoguePDU. Generated from the following ASN.1 type definition.
     MAP-DialoguePDU ::=
         CHOICE {
             map-open          MAP-OpenInfo,
             map-accept        MAP-AcceptInfo,
             map-close         MAP-CloseInfo,
             map-refuse        MAP-RefuseInfo,
             map-userAbort     MAP-UserAbortInfo,
             map-providerAbort MAP-ProviderAbortInfo
         }
     
    Added in ph2. Spelt MAPMAP_DialoguePDU because it's generated from something in the MAP spec that's called MAP-DialoguePDU.
    See Also:
    Serialized Form
    • Constructor Detail

      • MAPMAP_DialoguePDU

        public MAPMAP_DialoguePDU()
    • Method Detail

      • copyOf

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

        public MAPMAP_DialoguePDU.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
      • getMap_accept

        public MAPMAP_AcceptInfo getMap_accept()
        Gets the value of the map-accept choice.
        Returns:
        value of the choice, if choice is map-accept, else null
      • getMap_close

        public MAPMAP_CloseInfo getMap_close()
        Gets the value of the map-close choice.
        Returns:
        value of the choice, if choice is map-close, else null
      • getMap_open

        public MAPMAP_OpenInfo getMap_open()
        Gets the value of the map-open choice.
        Returns:
        value of the choice, if choice is map-open, else null
      • getMap_providerAbort

        public MAPMAP_ProviderAbortInfo getMap_providerAbort()
        Gets the value of the map-providerAbort choice.
        Returns:
        value of the choice, if choice is map-providerAbort, else null
      • getMap_refuse

        public MAPMAP_RefuseInfo getMap_refuse()
        Gets the value of the map-refuse choice.
        Returns:
        value of the choice, if choice is map-refuse, else null
      • getMap_userAbort

        public MAPMAP_UserAbortInfo getMap_userAbort()
        Gets the value of the map-userAbort choice.
        Returns:
        value of the choice, if choice is map-userAbort, else null
      • isMap_acceptChosen

        public boolean isMap_acceptChosen()
        Tests whether the choice is map-accept.
        Returns:
        true if chosen, false if not
      • isMap_closeChosen

        public boolean isMap_closeChosen()
        Tests whether the choice is map-close.
        Returns:
        true if chosen, false if not
      • isMap_openChosen

        public boolean isMap_openChosen()
        Tests whether the choice is map-open.
        Returns:
        true if chosen, false if not
      • isMap_providerAbortChosen

        public boolean isMap_providerAbortChosen()
        Tests whether the choice is map-providerAbort.
        Returns:
        true if chosen, false if not
      • isMap_refuseChosen

        public boolean isMap_refuseChosen()
        Tests whether the choice is map-refuse.
        Returns:
        true if chosen, false if not
      • isMap_userAbortChosen

        public boolean isMap_userAbortChosen()
        Tests whether the choice is map-userAbort.
        Returns:
        true if chosen, false if not