Class MAPPS_SubscriberState
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPPS_SubscriberState
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPPS_SubscriberState extends AbstractFieldsObject
API for MAP-MS-DataTypes.PS-SubscriberState. Generated from the following ASN.1 type definition.PS-SubscriberState ::= CHOICE { notProvidedFromSGSNorMME NULL, -- Renamed from notProvidedFromSGSN between releases 8 and 9. ps-Detached NULL, ps-AttachedNotReachableForPaging NULL, ps-AttachedReachableForPaging NULL, ps-PDP-ActiveNotReachableForPaging PDP-ContextInfoList, ps-PDP-ActiveReachableForPaging PDP-ContextInfoList, netDetNotReachable NotReachableReason }
Added in release 5.Used as field type by
MAPSubscriberInfo
.Used as field type by
MAPSubscriberInfo
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MAPPS_SubscriberState.Choice
API for MAP-MS-DataTypes.PS-SubscriberState.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPPS_SubscriberState()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPS_SubscriberState
clone()
Constructs a copy of this object and everything reachable from it.static MAPPS_SubscriberState
copyOf(MAPPS_SubscriberState 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.MAPPS_SubscriberState.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.MAPPDP_ContextInfo[]
getPs_PDP_ActiveNotReachableForPaging()
Gets the value of the ps-PDP-ActiveNotReachableForPaging choice.MAPPDP_ContextInfo[]
getPs_PDP_ActiveReachableForPaging()
Gets the value of the ps-PDP-ActiveReachableForPaging choice.boolean
isNetDetNotReachableChosen()
Tests whether the choice is netDetNotReachable.boolean
isNotProvidedFromSGSNorMMEChosen()
Tests whether the choice is notProvidedFromSGSNorMME.boolean
isPs_AttachedNotReachableForPagingChosen()
Tests whether the choice is ps-AttachedNotReachableForPaging.boolean
isPs_AttachedReachableForPagingChosen()
Tests whether the choice is ps-AttachedReachableForPaging.boolean
isPs_DetachedChosen()
Tests whether the choice is ps-Detached.boolean
isPs_PDP_ActiveNotReachableForPagingChosen()
Tests whether the choice is ps-PDP-ActiveNotReachableForPaging.boolean
isPs_PDP_ActiveReachableForPagingChosen()
Tests whether the choice is ps-PDP-ActiveReachableForPaging.MAPPS_SubscriberState
setNetDetNotReachable(MAPNotReachableReason value)
Sets the value of the netDetNotReachable choice.MAPPS_SubscriberState
setNotProvidedFromSGSNorMME()
Sets the notProvidedFromSGSNorMME choice.MAPPS_SubscriberState
setPs_AttachedNotReachableForPaging()
Sets the ps-AttachedNotReachableForPaging choice.MAPPS_SubscriberState
setPs_AttachedReachableForPaging()
Sets the ps-AttachedReachableForPaging choice.MAPPS_SubscriberState
setPs_Detached()
Sets the ps-Detached choice.MAPPS_SubscriberState
setPs_PDP_ActiveNotReachableForPaging(MAPPDP_ContextInfo[] value)
Sets the value of the ps-PDP-ActiveNotReachableForPaging choice.MAPPS_SubscriberState
setPs_PDP_ActiveReachableForPaging(MAPPDP_ContextInfo[] value)
Sets the value of the ps-PDP-ActiveReachableForPaging 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 MAPPS_SubscriberState 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 MAPPS_SubscriberState copyOf(MAPPS_SubscriberState 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:
- MAPPS_SubscriberState
-
getChoice
public MAPPS_SubscriberState.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:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getNetDetNotReachable
public MAPNotReachableReason getNetDetNotReachable()
Gets the value of the netDetNotReachable choice.- Returns:
- value of the choice, if choice is netDetNotReachable, else null
-
getPs_PDP_ActiveNotReachableForPaging
public MAPPDP_ContextInfo[] getPs_PDP_ActiveNotReachableForPaging()
Gets the value of the ps-PDP-ActiveNotReachableForPaging choice.- Returns:
- value of the choice, if choice is ps-PDP-ActiveNotReachableForPaging, else null
-
getPs_PDP_ActiveReachableForPaging
public MAPPDP_ContextInfo[] getPs_PDP_ActiveReachableForPaging()
Gets the value of the ps-PDP-ActiveReachableForPaging choice.- Returns:
- value of the choice, if choice is ps-PDP-ActiveReachableForPaging, else null
-
isNetDetNotReachableChosen
public boolean isNetDetNotReachableChosen()
Tests whether the choice is netDetNotReachable.- Returns:
- true if chosen, false if not
-
isNotProvidedFromSGSNorMMEChosen
public boolean isNotProvidedFromSGSNorMMEChosen()
Tests whether the choice is notProvidedFromSGSNorMME.- Returns:
- true if chosen, false if not
-
isPs_AttachedNotReachableForPagingChosen
public boolean isPs_AttachedNotReachableForPagingChosen()
Tests whether the choice is ps-AttachedNotReachableForPaging.- Returns:
- true if chosen, false if not
-
isPs_AttachedReachableForPagingChosen
public boolean isPs_AttachedReachableForPagingChosen()
Tests whether the choice is ps-AttachedReachableForPaging.- Returns:
- true if chosen, false if not
-
isPs_DetachedChosen
public boolean isPs_DetachedChosen()
Tests whether the choice is ps-Detached.- Returns:
- true if chosen, false if not
-
isPs_PDP_ActiveNotReachableForPagingChosen
public boolean isPs_PDP_ActiveNotReachableForPagingChosen()
Tests whether the choice is ps-PDP-ActiveNotReachableForPaging.- Returns:
- true if chosen, false if not
-
isPs_PDP_ActiveReachableForPagingChosen
public boolean isPs_PDP_ActiveReachableForPagingChosen()
Tests whether the choice is ps-PDP-ActiveReachableForPaging.- Returns:
- true if chosen, false if not
-
setNetDetNotReachable
public MAPPS_SubscriberState setNetDetNotReachable(MAPNotReachableReason value) throws IllegalStateException, NullPointerException
Sets the value of the netDetNotReachable 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
-
setNotProvidedFromSGSNorMME
public MAPPS_SubscriberState setNotProvidedFromSGSNorMME() throws IllegalStateException
Sets the notProvidedFromSGSNorMME choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPs_AttachedNotReachableForPaging
public MAPPS_SubscriberState setPs_AttachedNotReachableForPaging() throws IllegalStateException
Sets the ps-AttachedNotReachableForPaging choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPs_AttachedReachableForPaging
public MAPPS_SubscriberState setPs_AttachedReachableForPaging() throws IllegalStateException
Sets the ps-AttachedReachableForPaging choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPs_Detached
public MAPPS_SubscriberState setPs_Detached() throws IllegalStateException
Sets the ps-Detached choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPs_PDP_ActiveNotReachableForPaging
public MAPPS_SubscriberState setPs_PDP_ActiveNotReachableForPaging(MAPPDP_ContextInfo[] value) throws IllegalStateException, NullPointerException
Sets the value of the ps-PDP-ActiveNotReachableForPaging 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
-
setPs_PDP_ActiveReachableForPaging
public MAPPS_SubscriberState setPs_PDP_ActiveReachableForPaging(MAPPDP_ContextInfo[] value) throws IllegalStateException, NullPointerException
Sets the value of the ps-PDP-ActiveReachableForPaging 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
-
-