Class MAPEPS_SubscriptionData
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPEPS_SubscriptionData
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPEPS_SubscriptionData extends AbstractFieldsObject
API for MAP-MS-DataTypes.EPS-SubscriptionData. Generated from the following ASN.1 type definition.EPS-SubscriptionData ::= SEQUENCE { apn-oi-Replacement APN-OI-Replacement OPTIONAL, -- This apn-oi-Replacement refers to the UE level apn-oi-Replacement. rfsp-id RFSP-ID OPTIONAL, ambr AMBR OPTIONAL, apn-ConfigurationProfile APN-ConfigurationProfile OPTIONAL, stn-sr ISDN-AddressString OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }
Added in release 8.Used as field type by
MAPInsertSubscriberDataArg
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPEPS_SubscriptionData()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPEPS_SubscriptionData
clone()
Constructs a copy of this object and everything reachable from it.static MAPEPS_SubscriptionData
copyOf(MAPEPS_SubscriptionData 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.MAPAMBR
getAmbr()
Gets the value of the field ambr.MAPAPN_ConfigurationProfile
getApn_ConfigurationProfile()
Gets the value of the field apn-ConfigurationProfile.AccessPointNameOperatorId
getApn_oi_Replacement()
Gets the value of the field apn-oi-Replacement.MAPExtensionContainer
getExtensionContainer()
Gets the value of the field extensionContainer.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 field-name to field-value.int
getRfsp_id()
Gets the value of the field rfsp-id.AddressString
getStn_sr()
Gets the value of the field stn-sr.boolean
hasAmbr()
Tests whether the field ambr has a value.boolean
hasApn_ConfigurationProfile()
Tests whether the field apn-ConfigurationProfile has a value.boolean
hasApn_oi_Replacement()
Tests whether the field apn-oi-Replacement has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasRfsp_id()
Tests whether the field rfsp-id has a value.boolean
hasStn_sr()
Tests whether the field stn-sr has a value.MAPEPS_SubscriptionData
setAmbr(MAPAMBR value)
Sets the value of the field ambr.MAPEPS_SubscriptionData
setApn_ConfigurationProfile(MAPAPN_ConfigurationProfile value)
Sets the value of the field apn-ConfigurationProfile.MAPEPS_SubscriptionData
setApn_oi_Replacement(AccessPointNameOperatorId value)
Sets the value of the field apn-oi-Replacement.MAPEPS_SubscriptionData
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.void
setReadOnly()
Sets this and all its fields to be immutable.MAPEPS_SubscriptionData
setRfsp_id(int value)
Sets the value of the field rfsp-id and marks the field as present.MAPEPS_SubscriptionData
setRfsp_idPresent(boolean flag)
Sets the presence or absence of the optional field rfsp-id.MAPEPS_SubscriptionData
setStn_sr(AddressString value)
Sets the value of the field stn-sr.-
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 MAPEPS_SubscriptionData 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 MAPEPS_SubscriptionData copyOf(MAPEPS_SubscriptionData 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:
- MAPEPS_SubscriptionData
-
getAmbr
public MAPAMBR getAmbr()
Gets the value of the field ambr.- Returns:
- value of field ambr, or null if not present
-
getApn_ConfigurationProfile
public MAPAPN_ConfigurationProfile getApn_ConfigurationProfile()
Gets the value of the field apn-ConfigurationProfile.- Returns:
- value of field apn-ConfigurationProfile, or null if not present
-
getApn_oi_Replacement
public AccessPointNameOperatorId getApn_oi_Replacement()
Gets the value of the field apn-oi-Replacement.- Returns:
- value of field apn-oi-Replacement, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, or null if not present
-
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 field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getRfsp_id
public int getRfsp_id()
Gets the value of the field rfsp-id.- Returns:
- value of field rfsp-id
-
getStn_sr
public AddressString getStn_sr()
Gets the value of the field stn-sr.- Returns:
- value of field stn-sr, or null if not present
-
hasAmbr
public boolean hasAmbr()
Tests whether the field ambr has a value.- Returns:
- whether the field ambr has a value
-
hasApn_ConfigurationProfile
public boolean hasApn_ConfigurationProfile()
Tests whether the field apn-ConfigurationProfile has a value.- Returns:
- whether the field apn-ConfigurationProfile has a value
-
hasApn_oi_Replacement
public boolean hasApn_oi_Replacement()
Tests whether the field apn-oi-Replacement has a value.- Returns:
- whether the field apn-oi-Replacement has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasRfsp_id
public boolean hasRfsp_id()
Tests whether the field rfsp-id has a value.- Returns:
- whether the field rfsp-id has a value
-
hasStn_sr
public boolean hasStn_sr()
Tests whether the field stn-sr has a value.- Returns:
- whether the field stn-sr has a value
-
setAmbr
public MAPEPS_SubscriptionData setAmbr(MAPAMBR value) throws IllegalStateException
Sets the value of the field ambr. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setApn_ConfigurationProfile
public MAPEPS_SubscriptionData setApn_ConfigurationProfile(MAPAPN_ConfigurationProfile value) throws IllegalStateException
Sets the value of the field apn-ConfigurationProfile. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setApn_oi_Replacement
public MAPEPS_SubscriptionData setApn_oi_Replacement(AccessPointNameOperatorId value) throws IllegalStateException
Sets the value of the field apn-oi-Replacement. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPEPS_SubscriptionData setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setRfsp_id
public MAPEPS_SubscriptionData setRfsp_id(int value) throws IllegalStateException
Sets the value of the field rfsp-id and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setRfsp_idPresent
public MAPEPS_SubscriptionData setRfsp_idPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field rfsp-id.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setStn_sr
public MAPEPS_SubscriptionData setStn_sr(AddressString value) throws IllegalStateException
Sets the value of the field stn-sr. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-