Class MAPPeriodicLDRInfo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- 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
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPPeriodicLDRInfo()Constructs an object with uninitialised state.MAPPeriodicLDRInfo(int ReportingAmount_param, int ReportingInterval_param)Constructs an object from given values for all fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPeriodicLDRInfoclone()Constructs a copy of this object and everything reachable from it.static MAPPeriodicLDRInfocopyOf(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.static FieldAccessor[]getFieldAccessors()Gets a new array of the accessors for fields of this type.Map<String,Object>getFieldsMap(boolean withAbsents)Gets a Map from field-name to field-value.intgetReportingAmount()Gets the value of the field reportingAmount.intgetReportingInterval()Gets the value of the field reportingInterval.booleanhasReportingAmount()Tests whether the field reportingAmount has a value.booleanhasReportingInterval()Tests whether the field reportingInterval has a value.MAPPeriodicLDRInfosetReportingAmount(int value)Sets the value of the field reportingAmount and marks the field as present.MAPPeriodicLDRInfosetReportingInterval(int value)Sets the value of the field reportingInterval and marks the field as present.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
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 fieldReportingInterval_param- value for that field
-
-
Method Detail
-
clone
public MAPPeriodicLDRInfo clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
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:
getFieldsMapin classAbstractFieldsObject- 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
-
-