public class MAPGPRSSubscriptionDataWithdraw extends AbstractFieldsObject
GPRSSubscriptionDataWithdraw ::= CHOICE { allGPRSData NULL, contextIdList ContextIdList }Added in R97.
Used as field type by MAPDeleteSubscriberDataArg
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPGPRSSubscriptionDataWithdraw.Choice
API for MAP-MS-DataTypes.GPRSSubscriptionDataWithdraw.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPGPRSSubscriptionDataWithdraw() |
Modifier and Type | Method and Description |
---|---|
MAPGPRSSubscriptionDataWithdraw |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPGPRSSubscriptionDataWithdraw |
copyOf(MAPGPRSSubscriptionDataWithdraw 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.
|
MAPGPRSSubscriptionDataWithdraw.Choice |
getChoice()
Gets the discriminant of the current choice.
|
int[] |
getContextIdList()
Gets the value of the contextIdList 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.
|
boolean |
isAllGPRSDataChosen()
Tests whether the choice is allGPRSData.
|
boolean |
isContextIdListChosen()
Tests whether the choice is contextIdList.
|
MAPGPRSSubscriptionDataWithdraw |
setAllGPRSData()
Sets the allGPRSData choice.
|
MAPGPRSSubscriptionDataWithdraw |
setContextIdList(int[] value)
Sets the value of the contextIdList choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPGPRSSubscriptionDataWithdraw clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPGPRSSubscriptionDataWithdraw copyOf(MAPGPRSSubscriptionDataWithdraw from)
from
- the object from which to copypublic MAPGPRSSubscriptionDataWithdraw.Choice getChoice()
public int[] getContextIdList()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic boolean isAllGPRSDataChosen()
public boolean isContextIdListChosen()
public MAPGPRSSubscriptionDataWithdraw setAllGPRSData() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic MAPGPRSSubscriptionDataWithdraw setContextIdList(int[] 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