Class MAPCallBarredParam

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPCallBarredParam
    extends AbstractFieldsObject
    API for MAP-ER-DataTypes.CallBarredParam. Generated from the following ASN.1 type definition.
     CallBarredParam ::=
         CHOICE {
             callBarringCause          CallBarringCause,         -- callBarringCause must not be used in v3 and higher.
             extensibleCallBarredParam ExtensibleCallBarredParam -- Added in R96.
    Present in ph1 (anonymous before R96).

    Used as parameter type by MAPErrors.callBarred.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPCallBarredParam

        public MAPCallBarredParam()
    • Method Detail

      • copyOf

        public static MAPCallBarredParam copyOf​(MAPCallBarredParam 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.
        from - the object from which to copy
      • getCallBarringCause

        public MAPCallBarringCause getCallBarringCause()
        Gets the value of the callBarringCause choice.
        value of the choice, if choice is callBarringCause, else null
      • getChoice

        public MAPCallBarredParam.Choice getChoice()
        Gets the discriminant of the current choice.
        the current discriminant
      • getExtensibleCallBarredParam

        public MAPExtensibleCallBarredParam getExtensibleCallBarredParam()
        Gets the value of the extensibleCallBarredParam choice.
        value of the choice, if choice is extensibleCallBarredParam, else null
      • getFieldAccessors

        public static FieldAccessor[] getFieldAccessors()
        Gets a new array of the accessors for fields of this type.
      • 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
        withAbsents - ignored, as value cannot be optional
        Map from :discriminant-name to associated-value
      • isCallBarringCauseChosen

        public boolean isCallBarringCauseChosen()
        Tests whether the choice is callBarringCause.
        true if chosen, false if not
      • isExtensibleCallBarredParamChosen

        public boolean isExtensibleCallBarredParamChosen()
        Tests whether the choice is extensibleCallBarredParam.
        true if chosen, false if not