Class MAPPeriodicLDRInfo

  • All Implemented Interfaces:
    DataObject, Serializable

    public class MAPPeriodicLDRInfo
    extends AbstractFieldsObject
    API for MAP-LCS-DataTypes.PeriodicLDRInfo. Generated from the following ASN.1 type definition.
     PeriodicLDRInfo ::=
         SEQUENCE {
             reportingAmount   ReportingAmount,
             reportingInterval ReportingInterval,
             ...
         }
     
    Added in release 7. reportingInterval x reportingAmount shall not exceed 8639999 (99 days, 23 hours, 59 minutes and 59 seconds) for compatibility with OMA MLP and RLP.

    Used as field type by MAPProvideSubscriberLocation_Arg.

    Used as field type by MAPSubscriberLocationReport_Arg.

    See Also:
    Serialized Form
    • Constructor Detail

      • MAPPeriodicLDRInfo

        public MAPPeriodicLDRInfo()
        Constructs an object with uninitialised state.
      • MAPPeriodicLDRInfo

        public MAPPeriodicLDRInfo​(int ReportingAmount_param,
                                  int ReportingInterval_param)
        Constructs an object from given values for all fields.
        Parameters:
        ReportingAmount_param - value for that field
        ReportingInterval_param - value for that field
    • Method Detail

      • copyOf

        public static MAPPeriodicLDRInfo copyOf​(MAPPeriodicLDRInfo 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:
        MAPPeriodicLDRInfo
      • 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
      • getReportingAmount

        public int getReportingAmount()
        Gets the value of the field reportingAmount.
        Returns:
        value of field reportingAmount
      • getReportingInterval

        public int getReportingInterval()
        Gets the value of the field reportingInterval.
        Returns:
        value of field reportingInterval
      • hasReportingAmount

        public boolean hasReportingAmount()
        Tests whether the field reportingAmount has a value.
        Returns:
        whether the field reportingAmount has a value
      • hasReportingInterval

        public boolean hasReportingInterval()
        Tests whether the field reportingInterval has a value.
        Returns:
        whether the field reportingInterval has a value
      • setReportingAmount

        public MAPPeriodicLDRInfo setReportingAmount​(int value)
                                              throws IllegalStateException
        Sets the value of the field reportingAmount and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setReportingInterval

        public MAPPeriodicLDRInfo setReportingInterval​(int value)
                                                throws IllegalStateException
        Sets the value of the field reportingInterval and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only