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