Class MAPInsertSubscriberDataArg_v1
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPInsertSubscriberDataArg_v1
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPInsertSubscriberDataArg
public class MAPInsertSubscriberDataArg_v1 extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph1.InsertSubscriberDataArg-v1. Generated from the following ASN.1 type definition.InsertSubscriberDataArg-v1 ::= SEQUENCE { imsi IMSI OPTIONAL, msisdn ISDN-AddressString OPTIONAL, -- Renamed from msIsdn between ph1 and ph2. category Category OPTIONAL, subscriberStatus SubscriberStatus OPTIONAL, bearerServiceList BearerServiceList OPTIONAL, teleserviceList TeleserviceList OPTIONAL, provisionedSS SS-InfoList-v1 OPTIONAL -- Renamed from provisonedSupplServices between ph1 and ph2. }
Present in ph1. Evolved toMAPInsertSubscriberDataArg
in ph2.Used as argument type by
MAPOperations.insertSubscriberData_v1
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPInsertSubscriberDataArg_v1()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPInsertSubscriberDataArg_v1
clone()
Constructs a copy of this object and everything reachable from it.static MAPInsertSubscriberDataArg_v1
copyOf(MAPInsertSubscriberDataArg_v1 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.IMSIAddress
getImsi()
Gets the value of the field imsi.AddressString
getMsisdn()
Gets the value of the field msisdn.MAPSS_Information[]
getProvisionedSS()
Gets the value of the field provisionedSS.MAPSubscriberStatus
getSubscriberStatus()
Gets the value of the field subscriberStatus.byte[][]
getTeleserviceList()
Gets the value of the field teleserviceList.boolean
hasBearerServiceList()
Tests whether the field bearerServiceList has a value.boolean
hasCategory()
Tests whether the field category has a value.boolean
hasImsi()
Tests whether the field imsi has a value.boolean
hasMsisdn()
Tests whether the field msisdn has a value.boolean
hasProvisionedSS()
Tests whether the field provisionedSS has a value.boolean
hasSubscriberStatus()
Tests whether the field subscriberStatus has a value.boolean
hasTeleserviceList()
Tests whether the field teleserviceList has a value.MAPInsertSubscriberDataArg_v1
setBearerServiceList(byte[][] value)
Sets the value of the field bearerServiceList.MAPInsertSubscriberDataArg_v1
setCategory(byte[] value)
Sets the value of the field category.MAPInsertSubscriberDataArg_v1
setImsi(IMSIAddress value)
Sets the value of the field imsi.MAPInsertSubscriberDataArg_v1
setMsisdn(AddressString value)
Sets the value of the field msisdn.MAPInsertSubscriberDataArg_v1
setProvisionedSS(MAPSS_Information[] value)
Sets the value of the field provisionedSS.void
setReadOnly()
Sets this and all its fields to be immutable.MAPInsertSubscriberDataArg_v1
setSubscriberStatus(MAPSubscriberStatus value)
Sets the value of the field subscriberStatus.MAPInsertSubscriberDataArg_v1
setTeleserviceList(byte[][] value)
Sets the value of the field teleserviceList.-
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 MAPInsertSubscriberDataArg_v1 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 MAPInsertSubscriberDataArg_v1 copyOf(MAPInsertSubscriberDataArg_v1 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:
- MAPInsertSubscriberDataArg_v1
-
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:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getImsi
public IMSIAddress getImsi()
Gets the value of the field imsi.- Returns:
- value of field imsi, or null if not present
-
getMsisdn
public AddressString getMsisdn()
Gets the value of the field msisdn.- Returns:
- value of field msisdn, or null if not present
-
getProvisionedSS
public MAPSS_Information[] getProvisionedSS()
Gets the value of the field provisionedSS.- Returns:
- value of field provisionedSS, 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
-
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
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
hasMsisdn
public boolean hasMsisdn()
Tests whether the field msisdn has a value.- Returns:
- whether the field msisdn has a value
-
hasProvisionedSS
public boolean hasProvisionedSS()
Tests whether the field provisionedSS has a value.- Returns:
- whether the field provisionedSS has a value
-
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
-
setBearerServiceList
public MAPInsertSubscriberDataArg_v1 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 MAPInsertSubscriberDataArg_v1 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
-
setImsi
public MAPInsertSubscriberDataArg_v1 setImsi(IMSIAddress value) throws IllegalStateException
Sets the value of the field imsi. 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 MAPInsertSubscriberDataArg_v1 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
-
setProvisionedSS
public MAPInsertSubscriberDataArg_v1 setProvisionedSS(MAPSS_Information[] 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:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setSubscriberStatus
public MAPInsertSubscriberDataArg_v1 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 MAPInsertSubscriberDataArg_v1 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
-
-