Class MAPSuperChargerInfo
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSuperChargerInfo
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPSuperChargerInfo extends AbstractFieldsObject
API for MAP-MS-DataTypes.SuperChargerInfo. Generated from the following ASN.1 type definition.SuperChargerInfo ::= CHOICE { sendSubscriberData NULL, subscriberDataStored AgeIndicator }Added in R99.Used as field type by
MAPVLR_Capability.Used as field type by
MAPSGSN_Capability.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMAPSuperChargerInfo.ChoiceAPI for MAP-MS-DataTypes.SuperChargerInfo.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSuperChargerInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSuperChargerInfoclone()Constructs a copy of this object and everything reachable from it.static MAPSuperChargerInfocopyOf(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.ChoicegetChoice()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.booleanisSendSubscriberDataChosen()Tests whether the choice is sendSubscriberData.booleanisSubscriberDataStoredChosen()Tests whether the choice is subscriberDataStored.MAPSuperChargerInfosetSendSubscriberData()Sets the sendSubscriberData choice.MAPSuperChargerInfosetSubscriberDataStored(byte[] value)Sets the value of the subscriberDataStored choice.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly, setReadOnly
-
-
-
-
Method Detail
-
clone
public MAPSuperChargerInfo clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public 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.- Parameters:
from- the object from which to copy- Returns:
- MAPSuperChargerInfo
-
getChoice
public MAPSuperChargerInfo.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getSubscriberDataStored
public byte[] getSubscriberDataStored()
Gets the value of the subscriberDataStored choice.- Returns:
- value of the choice, if choice is subscriberDataStored, else null
-
isSendSubscriberDataChosen
public boolean isSendSubscriberDataChosen()
Tests whether the choice is sendSubscriberData.- Returns:
- true if chosen, false if not
-
isSubscriberDataStoredChosen
public boolean isSubscriberDataStoredChosen()
Tests whether the choice is subscriberDataStored.- Returns:
- true if chosen, false if not
-
setSendSubscriberData
public MAPSuperChargerInfo setSendSubscriberData() throws IllegalStateException
Sets the sendSubscriberData choice.- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setSubscriberDataStored
public MAPSuperChargerInfo setSubscriberDataStored(byte[] value) throws IllegalStateException, NullPointerException
Sets the value of the subscriberDataStored choice.- Parameters:
value- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-onlyNullPointerException- if the given value is null
-
-