Class MAPSM_DeliveryFailureCause

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPSM_DeliveryFailureCause
    extends AbstractFieldsObject
    API for MAP-ER-DataTypes.SM-DeliveryFailureCause. Generated from the following ASN.1 type definition.
     SM-DeliveryFailureCause ::=
         CHOICE {
             sm-DeliveryFailureCauseWithDiagnostic SM-DeliveryFailureCauseWithDiagnostic,
             sm-EnumeratedDeliveryFailureCause     SM-EnumeratedDeliveryFailureCause
         }
     

    Used as parameter type by MAPErrors.sm_DeliveryFailure.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPSM_DeliveryFailureCause

        public MAPSM_DeliveryFailureCause()
    • Method Detail

      • copyOf

        public static MAPSM_DeliveryFailureCause copyOf​(MAPSM_DeliveryFailureCause 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_DeliveryFailureCause
      • 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
      • getSm_DeliveryFailureCauseWithDiagnostic

        public MAPSM_DeliveryFailureCauseWithDiagnostic getSm_DeliveryFailureCauseWithDiagnostic()
        Gets the value of the sm-DeliveryFailureCauseWithDiagnostic choice.
        Returns:
        value of the choice, if choice is sm-DeliveryFailureCauseWithDiagnostic, else null
      • getSm_EnumeratedDeliveryFailureCause

        public MAPSM_EnumeratedDeliveryFailureCause getSm_EnumeratedDeliveryFailureCause()
        Gets the value of the sm-EnumeratedDeliveryFailureCause choice.
        Returns:
        value of the choice, if choice is sm-EnumeratedDeliveryFailureCause, else null
      • isSm_DeliveryFailureCauseWithDiagnosticChosen

        public boolean isSm_DeliveryFailureCauseWithDiagnosticChosen()
        Tests whether the choice is sm-DeliveryFailureCauseWithDiagnostic.
        Returns:
        true if chosen, false if not
      • isSm_EnumeratedDeliveryFailureCauseChosen

        public boolean isSm_EnumeratedDeliveryFailureCauseChosen()
        Tests whether the choice is sm-EnumeratedDeliveryFailureCause.
        Returns:
        true if chosen, false if not