public class MAPSubscriberState extends AbstractFieldsObject
SubscriberState ::= CHOICE { assumedIdle NULL, camelBusy NULL, netDetNotReachable NotReachableReason, notProvidedFromVLR NULL }Added in R96.
Used as field type by MAPSubscriberInfo
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSubscriberState.Choice
API for MAP-MS-DataTypes.SubscriberState.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSubscriberState() |
Modifier and Type | Method and Description |
---|---|
MAPSubscriberState |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSubscriberState |
copyOf(MAPSubscriberState 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.
|
MAPSubscriberState.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.
|
MAPNotReachableReason |
getNetDetNotReachable()
Gets the value of the netDetNotReachable choice.
|
boolean |
isAssumedIdleChosen()
Tests whether the choice is assumedIdle.
|
boolean |
isCamelBusyChosen()
Tests whether the choice is camelBusy.
|
boolean |
isNetDetNotReachableChosen()
Tests whether the choice is netDetNotReachable.
|
boolean |
isNotProvidedFromVLRChosen()
Tests whether the choice is notProvidedFromVLR.
|
MAPSubscriberState |
setAssumedIdle()
Sets the assumedIdle choice.
|
MAPSubscriberState |
setCamelBusy()
Sets the camelBusy choice.
|
MAPSubscriberState |
setNetDetNotReachable(MAPNotReachableReason value)
Sets the value of the netDetNotReachable choice.
|
MAPSubscriberState |
setNotProvidedFromVLR()
Sets the notProvidedFromVLR choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPSubscriberState clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSubscriberState copyOf(MAPSubscriberState from)
from
- the object from which to copypublic MAPSubscriberState.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic MAPNotReachableReason getNetDetNotReachable()
public boolean isAssumedIdleChosen()
public boolean isCamelBusyChosen()
public boolean isNetDetNotReachableChosen()
public boolean isNotProvidedFromVLRChosen()
public MAPSubscriberState setAssumedIdle() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic MAPSubscriberState setCamelBusy() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic MAPSubscriberState setNetDetNotReachable(MAPNotReachableReason 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 MAPSubscriberState setNotProvidedFromVLR() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-only