public class MAPSuperChargerInfo extends AbstractFieldsObject
SuperChargerInfo ::= CHOICE { sendSubscriberData NULL, subscriberDataStored AgeIndicator }Added in R99.
Used as field type by MAPVLR_Capability
.
Used as field type by MAPSGSN_Capability
.
Modifier and Type | Class and Description |
---|---|
static class |
MAPSuperChargerInfo.Choice
API for MAP-MS-DataTypes.SuperChargerInfo.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSuperChargerInfo() |
Modifier and Type | Method and Description |
---|---|
MAPSuperChargerInfo |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPSuperChargerInfo |
copyOf(MAPSuperChargerInfo 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.
|
MAPSuperChargerInfo.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[] |
getSubscriberDataStored()
Gets the value of the subscriberDataStored choice.
|
boolean |
isSendSubscriberDataChosen()
Tests whether the choice is sendSubscriberData.
|
boolean |
isSubscriberDataStoredChosen()
Tests whether the choice is subscriberDataStored.
|
MAPSuperChargerInfo |
setSendSubscriberData()
Sets the sendSubscriberData choice.
|
MAPSuperChargerInfo |
setSubscriberDataStored(byte[] value)
Sets the value of the subscriberDataStored choice.
|
equals, hashCode, toString
checkModify, isReadOnly, setReadOnly
public MAPSuperChargerInfo clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSuperChargerInfo copyOf(MAPSuperChargerInfo from)
from
- the object from which to copypublic MAPSuperChargerInfo.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[] getSubscriberDataStored()
public boolean isSendSubscriberDataChosen()
public boolean isSubscriberDataStoredChosen()
public MAPSuperChargerInfo setSendSubscriberData() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic MAPSuperChargerInfo setSubscriberDataStored(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 null