Class MAPReportingPLMN

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPReportingPLMN
    extends AbstractFieldsObject
    API for MAP-LCS-DataTypes.ReportingPLMN. Generated from the following ASN.1 type definition.
     ReportingPLMN ::=
         SEQUENCE {
             plmn-Id                     PLMN-Id,
             ran-Technology              RAN-Technology OPTIONAL,
             ran-PeriodicLocationSupport NULL OPTIONAL,
             ...
         }
     
    Added in release 7.

    Used in array as field type by MAPReportingPLMNList.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPReportingPLMN

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

      • copyOf

        public static MAPReportingPLMN copyOf​(MAPReportingPLMN 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:
        MAPReportingPLMN
      • 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
      • getPlmn_Id

        public byte[] getPlmn_Id()
        Gets the value of the field plmn-Id.
        Returns:
        value of field plmn-Id, or null if not present
      • getRan_Technology

        public MAPRAN_Technology getRan_Technology()
        Gets the value of the field ran-Technology.
        Returns:
        value of field ran-Technology, or null if not present
      • hasPlmn_Id

        public boolean hasPlmn_Id()
        Tests whether the field plmn-Id has a value.
        Returns:
        whether the field plmn-Id has a value
      • hasRan_PeriodicLocationSupport

        public boolean hasRan_PeriodicLocationSupport()
        Tests whether the field ran-PeriodicLocationSupport is present.
        Returns:
        whether the field ran-PeriodicLocationSupport is present
      • hasRan_Technology

        public boolean hasRan_Technology()
        Tests whether the field ran-Technology has a value.
        Returns:
        whether the field ran-Technology has a value
      • setRan_PeriodicLocationSupportPresent

        public MAPReportingPLMN setRan_PeriodicLocationSupportPresent​(boolean flag)
                                                               throws IllegalStateException
        Sets the presence or absence of the optional field ran-PeriodicLocationSupport.
        Parameters:
        flag - either true if the field should be marked as present or false if the field should be marked as absent
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only