public class MAPLocationArea extends AbstractFieldsObject
LocationArea ::=
CHOICE {
laiFixedLength LAIFixedLength,
lac LAC
}
Added in release 8.
Used in array as field type by MAPUpdateLocationArg.
Used in array as field type by MAPProvideRoamingNumberArg_v3.
| Modifier and Type | Class and Description |
|---|---|
static class |
MAPLocationArea.Choice
API for MAP-MS-DataTypes.LocationArea.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPLocationArea() |
| Modifier and Type | Method and Description |
|---|---|
MAPLocationArea |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPLocationArea |
copyOf(MAPLocationArea 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.
|
MAPLocationArea.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.
|
byte[] |
getLac()
Gets the value of the lac choice.
|
LocationAreaId |
getLaiFixedLength()
Gets the value of the laiFixedLength choice.
|
boolean |
isLacChosen()
Tests whether the choice is lac.
|
boolean |
isLaiFixedLengthChosen()
Tests whether the choice is laiFixedLength.
|
MAPLocationArea |
setLac(byte[] value)
Sets the value of the lac choice.
|
MAPLocationArea |
setLaiFixedLength(LocationAreaId value)
Sets the value of the laiFixedLength choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPLocationArea clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPLocationArea copyOf(MAPLocationArea from)
from - the object from which to copypublic MAPLocationArea.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - ignored, as value cannot be optionalpublic byte[] getLac()
public LocationAreaId getLaiFixedLength()
public boolean isLacChosen()
public boolean isLaiFixedLengthChosen()
public MAPLocationArea setLac(byte[] value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic MAPLocationArea setLaiFixedLength(LocationAreaId value) throws IllegalStateException, NullPointerException
value - the new value for the choiceIllegalStateException - if this instance has been marked as read-onlyNullPointerException - if the given value is nullpublic void setReadOnly()
setReadOnly in interface DataObjectsetReadOnly in class AbstractDataObject