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
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPReportingPLMN()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPReportingPLMNclone()Constructs a copy of this object and everything reachable from it.static MAPReportingPLMNcopyOf(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.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.byte[]getPlmn_Id()Gets the value of the field plmn-Id.MAPRAN_TechnologygetRan_Technology()Gets the value of the field ran-Technology.booleanhasPlmn_Id()Tests whether the field plmn-Id has a value.booleanhasRan_PeriodicLocationSupport()Tests whether the field ran-PeriodicLocationSupport is present.booleanhasRan_Technology()Tests whether the field ran-Technology has a value.MAPReportingPLMNsetPlmn_Id(byte[] value)Sets the value of the field plmn-Id.MAPReportingPLMNsetRan_PeriodicLocationSupportPresent(boolean flag)Sets the presence or absence of the optional field ran-PeriodicLocationSupport.MAPReportingPLMNsetRan_Technology(MAPRAN_Technology value)Sets the value of the field ran-Technology.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public MAPReportingPLMN 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 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:
getFieldsMapin classAbstractFieldsObject- 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
-
setPlmn_Id
public MAPReportingPLMN setPlmn_Id(byte[] value) throws IllegalStateException
Sets the value of the field plmn-Id.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
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
-
setRan_Technology
public MAPReportingPLMN setRan_Technology(MAPRAN_Technology value) throws IllegalStateException
Sets the value of the field ran-Technology. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-