public class MAPAdditional_Number extends AbstractFieldsObject
Additional-Number ::= CHOICE { msc-Number ISDN-AddressString, sgsn-Number ISDN-AddressString }Added in R97.
Used as field type by MAPLocationInfoWithLMSI
.
Used as field type by MAPLCSLocationInfo
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPAdditional_Number.Choice
API for MAP-SM-DataTypes.Additional-Number.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPAdditional_Number() |
Modifier and Type | Method and Description |
---|---|
MAPAdditional_Number |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPAdditional_Number |
copyOf(MAPAdditional_Number 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.
|
MAPAdditional_Number.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.
|
AddressString |
getMsc_Number()
Gets the value of the msc-Number choice.
|
AddressString |
getSgsn_Number()
Gets the value of the sgsn-Number choice.
|
boolean |
isMsc_NumberChosen()
Tests whether the choice is msc-Number.
|
boolean |
isSgsn_NumberChosen()
Tests whether the choice is sgsn-Number.
|
MAPAdditional_Number |
setMsc_Number(AddressString value)
Sets the value of the msc-Number choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPAdditional_Number |
setSgsn_Number(AddressString value)
Sets the value of the sgsn-Number choice.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPAdditional_Number clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPAdditional_Number copyOf(MAPAdditional_Number from)
from
- the object from which to copypublic MAPAdditional_Number.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic AddressString getMsc_Number()
public AddressString getSgsn_Number()
public boolean isMsc_NumberChosen()
public boolean isSgsn_NumberChosen()
public MAPAdditional_Number setMsc_Number(AddressString 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 DataObject
setReadOnly
in class AbstractDataObject
public MAPAdditional_Number setSgsn_Number(AddressString 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 null