Class MAPSentParameter
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPSentParameter extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph1.SentParameter. Generated from the following ASN.1 type definition.SentParameter ::= CHOICE { imsi IMSI, authenticationSet AuthenticationSet, susbcriberData SubscriberData, cug-information CUG-Information, ki Ki }
Present in ph1. Removed between ph1 and ph2.Used in array as result type by
MAPOperations.sendParameters_v1
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPSentParameter.Choice
API for MAP-MS-DataTypes-ph1.SentParameter.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSentParameter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSentParameter
clone()
Constructs a copy of this object and everything reachable from it.static MAPSentParameter
copyOf(MAPSentParameter 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.MAPAuthenticationSet
getAuthenticationSet()
Gets the value of the authenticationSet choice.MAPSentParameter.Choice
getChoice()
Gets the discriminant of the current choice.MAPCUG_Information
getCug_information()
Gets the value of the cug-information 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.IMSIAddress
getImsi()
Gets the value of the imsi choice.byte[]
getKi()
Gets the value of the ki choice.MAPSubscriberData
getSusbcriberData()
Gets the value of the susbcriberData choice.boolean
isAuthenticationSetChosen()
Tests whether the choice is authenticationSet.boolean
isCug_informationChosen()
Tests whether the choice is cug-information.boolean
isImsiChosen()
Tests whether the choice is imsi.boolean
isKiChosen()
Tests whether the choice is ki.boolean
isSusbcriberDataChosen()
Tests whether the choice is susbcriberData.MAPSentParameter
setAuthenticationSet(MAPAuthenticationSet value)
Sets the value of the authenticationSet choice.MAPSentParameter
setCug_information(MAPCUG_Information value)
Sets the value of the cug-information choice.MAPSentParameter
setImsi(IMSIAddress value)
Sets the value of the imsi choice.MAPSentParameter
setKi(byte[] value)
Sets the value of the ki choice.void
setReadOnly()
Sets this and all its fields to be immutable.MAPSentParameter
setSusbcriberData(MAPSubscriberData value)
Sets the value of the susbcriberData choice.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPSentParameter clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPSentParameter copyOf(MAPSentParameter 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:
- MAPSentParameter
-
getAuthenticationSet
public MAPAuthenticationSet getAuthenticationSet()
Gets the value of the authenticationSet choice.- Returns:
- value of the choice, if choice is authenticationSet, else null
-
getChoice
public MAPSentParameter.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getCug_information
public MAPCUG_Information getCug_information()
Gets the value of the cug-information choice.- Returns:
- value of the choice, if choice is cug-information, else null
-
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:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getImsi
public IMSIAddress getImsi()
Gets the value of the imsi choice.- Returns:
- value of the choice, if choice is imsi, else null
-
getKi
public byte[] getKi()
Gets the value of the ki choice.- Returns:
- value of the choice, if choice is ki, else null
-
getSusbcriberData
public MAPSubscriberData getSusbcriberData()
Gets the value of the susbcriberData choice.- Returns:
- value of the choice, if choice is susbcriberData, else null
-
isAuthenticationSetChosen
public boolean isAuthenticationSetChosen()
Tests whether the choice is authenticationSet.- Returns:
- true if chosen, false if not
-
isCug_informationChosen
public boolean isCug_informationChosen()
Tests whether the choice is cug-information.- Returns:
- true if chosen, false if not
-
isImsiChosen
public boolean isImsiChosen()
Tests whether the choice is imsi.- Returns:
- true if chosen, false if not
-
isKiChosen
public boolean isKiChosen()
Tests whether the choice is ki.- Returns:
- true if chosen, false if not
-
isSusbcriberDataChosen
public boolean isSusbcriberDataChosen()
Tests whether the choice is susbcriberData.- Returns:
- true if chosen, false if not
-
setAuthenticationSet
public MAPSentParameter setAuthenticationSet(MAPAuthenticationSet value) throws IllegalStateException, NullPointerException
Sets the value of the authenticationSet 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
-
setCug_information
public MAPSentParameter setCug_information(MAPCUG_Information value) throws IllegalStateException, NullPointerException
Sets the value of the cug-information 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
-
setImsi
public MAPSentParameter setImsi(IMSIAddress value) throws IllegalStateException, NullPointerException
Sets the value of the imsi 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
-
setKi
public MAPSentParameter setKi(byte[] value) throws IllegalStateException, NullPointerException
Sets the value of the ki 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSusbcriberData
public MAPSentParameter setSusbcriberData(MAPSubscriberData value) throws IllegalStateException, NullPointerException
Sets the value of the susbcriberData 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
-
-