Class MAPSubscriberData
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSubscriberData
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPSubscriberData extends AbstractFieldsObject
API for MAP-MS-DataTypes.SubscriberData. Generated from the following ASN.1 type definition.SubscriberData ::= SEQUENCE { msisdn ISDN-AddressString OPTIONAL, -- Renamed from msIsdn between ph1 and ph2. category Category OPTIONAL, subscriberStatus SubscriberStatus OPTIONAL, bearerServiceList BearerServiceList OPTIONAL, teleserviceList TeleserviceList OPTIONAL, provisionedSS Ext-SS-InfoList OPTIONAL, -- Renamed from provisonedSupplServices between ph1 and ph2. odb-Data ODB-Data OPTIONAL, -- Added in ph2. roamingRestrictionDueToUnsupportedFeature NULL OPTIONAL, -- Added in ph2. regionalSubscriptionData ZoneCodeList OPTIONAL, -- Added in ph2. vbsSubscriptionData VBSDataList OPTIONAL, -- Added in R96. vgcsSubscriptionData VGCSDataList OPTIONAL, -- Added in R96. vlrCamelSubscriptionInfo VlrCamelSubscriptionInfo OPTIONAL -- Added in R96. }The components of this type also appear inMAPInsertSubscriberDataArgandMAPInsertSubscriberDataArg_v1.Used as field type by
MAPSentParameter.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSubscriberData()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSubscriberDataclone()Constructs a copy of this object and everything reachable from it.static MAPSubscriberDatacopyOf(MAPSubscriberData 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.byte[][]getBearerServiceList()Gets the value of the field bearerServiceList.byte[]getCategory()Gets the value of the field category.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.AddressStringgetMsisdn()Gets the value of the field msisdn.MAPODB_DatagetOdb_Data()Gets the value of the field odb-Data.MAPExt_SS_Info[]getProvisionedSS()Gets the value of the field provisionedSS.byte[][]getRegionalSubscriptionData()Gets the value of the field regionalSubscriptionData.MAPSubscriberStatusgetSubscriberStatus()Gets the value of the field subscriberStatus.byte[][]getTeleserviceList()Gets the value of the field teleserviceList.MAPVoiceBroadcastData[]getVbsSubscriptionData()Gets the value of the field vbsSubscriptionData.MAPVoiceGroupCallData[]getVgcsSubscriptionData()Gets the value of the field vgcsSubscriptionData.MAPVlrCamelSubscriptionInfogetVlrCamelSubscriptionInfo()Gets the value of the field vlrCamelSubscriptionInfo.booleanhasBearerServiceList()Tests whether the field bearerServiceList has a value.booleanhasCategory()Tests whether the field category has a value.booleanhasMsisdn()Tests whether the field msisdn has a value.booleanhasOdb_Data()Tests whether the field odb-Data has a value.booleanhasProvisionedSS()Tests whether the field provisionedSS has a value.booleanhasRegionalSubscriptionData()Tests whether the field regionalSubscriptionData has a value.booleanhasRoamingRestrictionDueToUnsupportedFeature()Tests whether the field roamingRestrictionDueToUnsupportedFeature is present.booleanhasSubscriberStatus()Tests whether the field subscriberStatus has a value.booleanhasTeleserviceList()Tests whether the field teleserviceList has a value.booleanhasVbsSubscriptionData()Tests whether the field vbsSubscriptionData has a value.booleanhasVgcsSubscriptionData()Tests whether the field vgcsSubscriptionData has a value.booleanhasVlrCamelSubscriptionInfo()Tests whether the field vlrCamelSubscriptionInfo has a value.MAPSubscriberDatasetBearerServiceList(byte[][] value)Sets the value of the field bearerServiceList.MAPSubscriberDatasetCategory(byte[] value)Sets the value of the field category.MAPSubscriberDatasetMsisdn(AddressString value)Sets the value of the field msisdn.MAPSubscriberDatasetOdb_Data(MAPODB_Data value)Sets the value of the field odb-Data.MAPSubscriberDatasetProvisionedSS(MAPExt_SS_Info[] value)Sets the value of the field provisionedSS.voidsetReadOnly()Sets this and all its fields to be immutable.MAPSubscriberDatasetRegionalSubscriptionData(byte[][] value)Sets the value of the field regionalSubscriptionData.MAPSubscriberDatasetRoamingRestrictionDueToUnsupportedFeaturePresent(boolean flag)Sets the presence or absence of the optional field roamingRestrictionDueToUnsupportedFeature.MAPSubscriberDatasetSubscriberStatus(MAPSubscriberStatus value)Sets the value of the field subscriberStatus.MAPSubscriberDatasetTeleserviceList(byte[][] value)Sets the value of the field teleserviceList.MAPSubscriberDatasetVbsSubscriptionData(MAPVoiceBroadcastData[] value)Sets the value of the field vbsSubscriptionData.MAPSubscriberDatasetVgcsSubscriptionData(MAPVoiceGroupCallData[] value)Sets the value of the field vgcsSubscriptionData.MAPSubscriberDatasetVlrCamelSubscriptionInfo(MAPVlrCamelSubscriptionInfo value)Sets the value of the field vlrCamelSubscriptionInfo.-
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 MAPSubscriberData 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 MAPSubscriberData copyOf(MAPSubscriberData 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:
- MAPSubscriberData
-
getBearerServiceList
public byte[][] getBearerServiceList()
Gets the value of the field bearerServiceList.- Returns:
- value of field bearerServiceList, or null if not present
-
getCategory
public byte[] getCategory()
Gets the value of the field category.- Returns:
- value of field category, 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:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getMsisdn
public AddressString getMsisdn()
Gets the value of the field msisdn.- Returns:
- value of field msisdn, or null if not present
-
getOdb_Data
public MAPODB_Data getOdb_Data()
Gets the value of the field odb-Data.- Returns:
- value of field odb-Data, or null if not present
-
getProvisionedSS
public MAPExt_SS_Info[] getProvisionedSS()
Gets the value of the field provisionedSS.- Returns:
- value of field provisionedSS, or null if not present
-
getRegionalSubscriptionData
public byte[][] getRegionalSubscriptionData()
Gets the value of the field regionalSubscriptionData.- Returns:
- value of field regionalSubscriptionData, or null if not present
-
getSubscriberStatus
public MAPSubscriberStatus getSubscriberStatus()
Gets the value of the field subscriberStatus.- Returns:
- value of field subscriberStatus, or null if not present
-
getTeleserviceList
public byte[][] getTeleserviceList()
Gets the value of the field teleserviceList.- Returns:
- value of field teleserviceList, or null if not present
-
getVbsSubscriptionData
public MAPVoiceBroadcastData[] getVbsSubscriptionData()
Gets the value of the field vbsSubscriptionData.- Returns:
- value of field vbsSubscriptionData, or null if not present
-
getVgcsSubscriptionData
public MAPVoiceGroupCallData[] getVgcsSubscriptionData()
Gets the value of the field vgcsSubscriptionData.- Returns:
- value of field vgcsSubscriptionData, or null if not present
-
getVlrCamelSubscriptionInfo
public MAPVlrCamelSubscriptionInfo getVlrCamelSubscriptionInfo()
Gets the value of the field vlrCamelSubscriptionInfo.- Returns:
- value of field vlrCamelSubscriptionInfo, or null if not present
-
hasBearerServiceList
public boolean hasBearerServiceList()
Tests whether the field bearerServiceList has a value.- Returns:
- whether the field bearerServiceList has a value
-
hasCategory
public boolean hasCategory()
Tests whether the field category has a value.- Returns:
- whether the field category has a value
-
hasMsisdn
public boolean hasMsisdn()
Tests whether the field msisdn has a value.- Returns:
- whether the field msisdn has a value
-
hasOdb_Data
public boolean hasOdb_Data()
Tests whether the field odb-Data has a value.- Returns:
- whether the field odb-Data has a value
-
hasProvisionedSS
public boolean hasProvisionedSS()
Tests whether the field provisionedSS has a value.- Returns:
- whether the field provisionedSS has a value
-
hasRegionalSubscriptionData
public boolean hasRegionalSubscriptionData()
Tests whether the field regionalSubscriptionData has a value.- Returns:
- whether the field regionalSubscriptionData has a value
-
hasRoamingRestrictionDueToUnsupportedFeature
public boolean hasRoamingRestrictionDueToUnsupportedFeature()
Tests whether the field roamingRestrictionDueToUnsupportedFeature is present.- Returns:
- whether the field roamingRestrictionDueToUnsupportedFeature is present
-
hasSubscriberStatus
public boolean hasSubscriberStatus()
Tests whether the field subscriberStatus has a value.- Returns:
- whether the field subscriberStatus has a value
-
hasTeleserviceList
public boolean hasTeleserviceList()
Tests whether the field teleserviceList has a value.- Returns:
- whether the field teleserviceList has a value
-
hasVbsSubscriptionData
public boolean hasVbsSubscriptionData()
Tests whether the field vbsSubscriptionData has a value.- Returns:
- whether the field vbsSubscriptionData has a value
-
hasVgcsSubscriptionData
public boolean hasVgcsSubscriptionData()
Tests whether the field vgcsSubscriptionData has a value.- Returns:
- whether the field vgcsSubscriptionData has a value
-
hasVlrCamelSubscriptionInfo
public boolean hasVlrCamelSubscriptionInfo()
Tests whether the field vlrCamelSubscriptionInfo has a value.- Returns:
- whether the field vlrCamelSubscriptionInfo has a value
-
setBearerServiceList
public MAPSubscriberData setBearerServiceList(byte[][] value) throws IllegalStateException
Sets the value of the field bearerServiceList. 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
-
setCategory
public MAPSubscriberData setCategory(byte[] value) throws IllegalStateException
Sets the value of the field category. 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
-
setMsisdn
public MAPSubscriberData setMsisdn(AddressString value) throws IllegalStateException
Sets the value of the field msisdn. 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
-
setOdb_Data
public MAPSubscriberData setOdb_Data(MAPODB_Data value) throws IllegalStateException
Sets the value of the field odb-Data. 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
-
setProvisionedSS
public MAPSubscriberData setProvisionedSS(MAPExt_SS_Info[] value) throws IllegalStateException
Sets the value of the field provisionedSS. 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setRegionalSubscriptionData
public MAPSubscriberData setRegionalSubscriptionData(byte[][] value) throws IllegalStateException
Sets the value of the field regionalSubscriptionData. 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
-
setRoamingRestrictionDueToUnsupportedFeaturePresent
public MAPSubscriberData setRoamingRestrictionDueToUnsupportedFeaturePresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field roamingRestrictionDueToUnsupportedFeature.- 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
-
setSubscriberStatus
public MAPSubscriberData setSubscriberStatus(MAPSubscriberStatus value) throws IllegalStateException
Sets the value of the field subscriberStatus. 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
-
setTeleserviceList
public MAPSubscriberData setTeleserviceList(byte[][] value) throws IllegalStateException
Sets the value of the field teleserviceList. 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
-
setVbsSubscriptionData
public MAPSubscriberData setVbsSubscriptionData(MAPVoiceBroadcastData[] value) throws IllegalStateException
Sets the value of the field vbsSubscriptionData. 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
-
setVgcsSubscriptionData
public MAPSubscriberData setVgcsSubscriptionData(MAPVoiceGroupCallData[] value) throws IllegalStateException
Sets the value of the field vgcsSubscriptionData. 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
-
setVlrCamelSubscriptionInfo
public MAPSubscriberData setVlrCamelSubscriptionInfo(MAPVlrCamelSubscriptionInfo value) throws IllegalStateException
Sets the value of the field vlrCamelSubscriptionInfo. 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
-
-