Class MAPResetArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPResetArg
    extends AbstractFieldsObject
    API for MAP-MS-DataTypes-ph1.ResetArg. Generated from the following ASN.1 type definition and the adaptations below.
     ResetArg ::=
         SEQUENCE {
             networkResource         NetworkResource,    -- Removed between ph1 and ph2.  For use only in -v1 contexts.
             originatingEntityNumber ISDN-AddressString, -- Renamed to hlr-Number between ph1 and ph2.
             hlrId                   HLR-List OPTIONAL   -- Renamed to hlr-List between ph1 and ph2.
         }
     MAP-MS-DataTypes-ph1 {
         ResetArg {
             hlrId {
                 @rename hlr-List
             }
             originatingEntityNumber {
                 @rename hlr-Number
             }
         }
     }
     
    Present in ph1. Evolved in ph2 by deletion of field networkResource, so this API suffices in -v2 contexts as well as -v1.

    Used as argument type by MAPOperations.reset_v1.

    Used as argument type by MAPOperations.reset.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPResetArg

        public MAPResetArg()
        Constructs an object with uninitialised state.
    • Method Detail

      • copyOf

        public static MAPResetArg copyOf​(MAPResetArg 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:
        MAPResetArg
      • 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 field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getHlr_List

        public IMSIAddress[] getHlr_List()
        Gets the value of the field hlrId.
        Returns:
        value of field hlrId, or null if not present
      • getHlr_Number

        public AddressString getHlr_Number()
        Gets the value of the field originatingEntityNumber.
        Returns:
        value of field originatingEntityNumber, or null if not present
      • getNetworkResource

        public MAPNetworkResource getNetworkResource()
        Gets the value of the field networkResource.
        Returns:
        value of field networkResource, or null if not present
      • hasHlr_List

        public boolean hasHlr_List()
        Tests whether the field hlrId has a value.
        Returns:
        whether the field hlrId has a value
      • hasHlr_Number

        public boolean hasHlr_Number()
        Tests whether the field originatingEntityNumber has a value.
        Returns:
        whether the field originatingEntityNumber has a value
      • hasNetworkResource

        public boolean hasNetworkResource()
        Tests whether the field networkResource has a value.
        Returns:
        whether the field networkResource has a value