Class MAPCellGlobalIdOrServiceAreaIdOrLAI
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPCellGlobalIdOrServiceAreaIdOrLAI
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPCellGlobalIdOrServiceAreaIdOrLAI extends AbstractFieldsObject
API for MAP-CommonDataTypes.CellGlobalIdOrServiceAreaIdOrLAI. Generated from the following ASN.1 type definition.CellGlobalIdOrServiceAreaIdOrLAI ::= CHOICE { cellGlobalIdOrServiceAreaIdFixedLength CellGlobalIdOrServiceAreaIdFixedLength, laiFixedLength LAIFixedLength }
Added in R96. Renamed from CellIdOrLAI between R98 and R99.Used as field type by
MAPLocationInformation
.Used as field type by
MAPLocationInformationGPRS
.Used as field type by
MAPProvideSubscriberLocation_Res
.Used as field type by
MAPSubscriberLocationReport_Arg
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPCellGlobalIdOrServiceAreaIdOrLAI.Choice
API for MAP-CommonDataTypes.CellGlobalIdOrServiceAreaIdOrLAI.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPCellGlobalIdOrServiceAreaIdOrLAI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPCellGlobalIdOrServiceAreaIdOrLAI
clone()
Constructs a copy of this object and everything reachable from it.static MAPCellGlobalIdOrServiceAreaIdOrLAI
copyOf(MAPCellGlobalIdOrServiceAreaIdOrLAI 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.CellGlobalId
getCellGlobalIdOrServiceAreaIdFixedLength()
Gets the value of the cellGlobalIdOrServiceAreaIdFixedLength choice.MAPCellGlobalIdOrServiceAreaIdOrLAI.Choice
getChoice()
Gets the discriminant of the current choice.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 :discriminant-name to associated-value.LocationAreaId
getLaiFixedLength()
Gets the value of the laiFixedLength choice.boolean
isCellGlobalIdOrServiceAreaIdFixedLengthChosen()
Tests whether the choice is cellGlobalIdOrServiceAreaIdFixedLength.boolean
isLaiFixedLengthChosen()
Tests whether the choice is laiFixedLength.MAPCellGlobalIdOrServiceAreaIdOrLAI
setCellGlobalIdOrServiceAreaIdFixedLength(CellGlobalId value)
Sets the value of the cellGlobalIdOrServiceAreaIdFixedLength choice.MAPCellGlobalIdOrServiceAreaIdOrLAI
setLaiFixedLength(LocationAreaId value)
Sets the value of the laiFixedLength choice.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPCellGlobalIdOrServiceAreaIdOrLAI clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPCellGlobalIdOrServiceAreaIdOrLAI copyOf(MAPCellGlobalIdOrServiceAreaIdOrLAI 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:
- MAPCellGlobalIdOrServiceAreaIdOrLAI
-
getCellGlobalIdOrServiceAreaIdFixedLength
public CellGlobalId getCellGlobalIdOrServiceAreaIdFixedLength()
Gets the value of the cellGlobalIdOrServiceAreaIdFixedLength choice.- Returns:
- value of the choice, if choice is cellGlobalIdOrServiceAreaIdFixedLength, else null
-
getChoice
public MAPCellGlobalIdOrServiceAreaIdOrLAI.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getLaiFixedLength
public LocationAreaId getLaiFixedLength()
Gets the value of the laiFixedLength choice.- Returns:
- value of the choice, if choice is laiFixedLength, else null
-
isCellGlobalIdOrServiceAreaIdFixedLengthChosen
public boolean isCellGlobalIdOrServiceAreaIdFixedLengthChosen()
Tests whether the choice is cellGlobalIdOrServiceAreaIdFixedLength.- Returns:
- true if chosen, false if not
-
isLaiFixedLengthChosen
public boolean isLaiFixedLengthChosen()
Tests whether the choice is laiFixedLength.- Returns:
- true if chosen, false if not
-
setCellGlobalIdOrServiceAreaIdFixedLength
public MAPCellGlobalIdOrServiceAreaIdOrLAI setCellGlobalIdOrServiceAreaIdFixedLength(CellGlobalId value) throws IllegalStateException, NullPointerException
Sets the value of the cellGlobalIdOrServiceAreaIdFixedLength choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setLaiFixedLength
public MAPCellGlobalIdOrServiceAreaIdOrLAI setLaiFixedLength(LocationAreaId value) throws IllegalStateException, NullPointerException
Sets the value of the laiFixedLength choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-