Class MAPProvideRoamingNumberArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPProvideRoamingNumberArg
-
- All Implemented Interfaces:
DataObject,Serializable
- Direct Known Subclasses:
MAPProvideRoamingNumberArg_v3
public class MAPProvideRoamingNumberArg extends AbstractFieldsObject
API for MAP-CH-DataTypes-ph2.ProvideRoamingNumberArg. Generated from the following ASN.1 type definition.ProvideRoamingNumberArg ::= SEQUENCE { imsi IMSI, msc-Number ISDN-AddressString OPTIONAL, -- Renamed from mscNumber between ph1 and ph2. msisdn ISDN-AddressString OPTIONAL, -- Renamed from msIsdn between ph1 and ph2. previousRoamingNumber ISDN-AddressString OPTIONAL, -- Removed between ph2 and R96. lmsi LMSI OPTIONAL, -- Renamed from lMsId between ph1 and ph2. gsm-BearerCapability ExternalSignalInfo OPTIONAL, -- Renamed from gSM-BearerCapability between ph1 and ph2. networkSignalInfo ExternalSignalInfo OPTIONAL, -- If available from the network the ISDN High Layer Compatibility information element is carried in the networkSignalInfo parameter. The information is passed according to the rules specified in GSM 09.07. ... }Present in ph1.Used as argument type by
MAPOperations.provideRoamingNumber.Used as argument type by
MAPOperations.provideRoamingNumber_v1.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPProvideRoamingNumberArg()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPProvideRoamingNumberArgclone()Constructs a copy of this object and everything reachable from it.static MAPProvideRoamingNumberArgcopyOf(MAPProvideRoamingNumberArg 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.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.MAPExternalSignalInfogetGsm_BearerCapability()Gets the value of the field gsm-BearerCapability.IMSIAddressgetImsi()Gets the value of the field imsi.LMSIAddressgetLmsi()Gets the value of the field lmsi.AddressStringgetMsc_Number()Gets the value of the field msc-Number.AddressStringgetMsisdn()Gets the value of the field msisdn.MAPExternalSignalInfogetNetworkSignalInfo()Gets the value of the field networkSignalInfo.AddressStringgetPreviousRoamingNumber()Gets the value of the field previousRoamingNumber.booleanhasGsm_BearerCapability()Tests whether the field gsm-BearerCapability has a value.booleanhasImsi()Tests whether the field imsi has a value.booleanhasLmsi()Tests whether the field lmsi has a value.booleanhasMsc_Number()Tests whether the field msc-Number has a value.booleanhasMsisdn()Tests whether the field msisdn has a value.booleanhasNetworkSignalInfo()Tests whether the field networkSignalInfo has a value.booleanhasPreviousRoamingNumber()Tests whether the field previousRoamingNumber has a value.MAPProvideRoamingNumberArgsetGsm_BearerCapability(MAPExternalSignalInfo value)Sets the value of the field gsm-BearerCapability.MAPProvideRoamingNumberArgsetImsi(IMSIAddress value)Sets the value of the field imsi.MAPProvideRoamingNumberArgsetLmsi(LMSIAddress value)Sets the value of the field lmsi.MAPProvideRoamingNumberArgsetMsc_Number(AddressString value)Sets the value of the field msc-Number.MAPProvideRoamingNumberArgsetMsisdn(AddressString value)Sets the value of the field msisdn.MAPProvideRoamingNumberArgsetNetworkSignalInfo(MAPExternalSignalInfo value)Sets the value of the field networkSignalInfo.MAPProvideRoamingNumberArgsetPreviousRoamingNumber(AddressString value)Sets the value of the field previousRoamingNumber.voidsetReadOnly()Sets this and all its fields to be immutable.-
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 MAPProvideRoamingNumberArg 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 MAPProvideRoamingNumberArg copyOf(MAPProvideRoamingNumberArg 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:
- MAPProvideRoamingNumberArg
-
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
-
getGsm_BearerCapability
public MAPExternalSignalInfo getGsm_BearerCapability()
Gets the value of the field gsm-BearerCapability.- Returns:
- value of field gsm-BearerCapability, or null if not present
-
getImsi
public IMSIAddress getImsi()
Gets the value of the field imsi.- Returns:
- value of field imsi, or null if not present
-
getLmsi
public LMSIAddress getLmsi()
Gets the value of the field lmsi.- Returns:
- value of field lmsi, or null if not present
-
getMsc_Number
public AddressString getMsc_Number()
Gets the value of the field msc-Number.- Returns:
- value of field msc-Number, 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
-
getNetworkSignalInfo
public MAPExternalSignalInfo getNetworkSignalInfo()
Gets the value of the field networkSignalInfo.- Returns:
- value of field networkSignalInfo, or null if not present
-
getPreviousRoamingNumber
public AddressString getPreviousRoamingNumber()
Gets the value of the field previousRoamingNumber.- Returns:
- value of field previousRoamingNumber, or null if not present
-
hasGsm_BearerCapability
public boolean hasGsm_BearerCapability()
Tests whether the field gsm-BearerCapability has a value.- Returns:
- whether the field gsm-BearerCapability has a value
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
hasLmsi
public boolean hasLmsi()
Tests whether the field lmsi has a value.- Returns:
- whether the field lmsi has a value
-
hasMsc_Number
public boolean hasMsc_Number()
Tests whether the field msc-Number has a value.- Returns:
- whether the field msc-Number has a value
-
hasMsisdn
public boolean hasMsisdn()
Tests whether the field msisdn has a value.- Returns:
- whether the field msisdn has a value
-
hasNetworkSignalInfo
public boolean hasNetworkSignalInfo()
Tests whether the field networkSignalInfo has a value.- Returns:
- whether the field networkSignalInfo has a value
-
hasPreviousRoamingNumber
public boolean hasPreviousRoamingNumber()
Tests whether the field previousRoamingNumber has a value.- Returns:
- whether the field previousRoamingNumber has a value
-
setGsm_BearerCapability
public MAPProvideRoamingNumberArg setGsm_BearerCapability(MAPExternalSignalInfo value) throws IllegalStateException
Sets the value of the field gsm-BearerCapability. 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 MAPProvideRoamingNumberArg setImsi(IMSIAddress value) throws IllegalStateException
Sets the value of the field imsi.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setLmsi
public MAPProvideRoamingNumberArg setLmsi(LMSIAddress value) throws IllegalStateException
Sets the value of the field lmsi. 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
-
setMsc_Number
public MAPProvideRoamingNumberArg setMsc_Number(AddressString value) throws IllegalStateException
Sets the value of the field msc-Number. 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 MAPProvideRoamingNumberArg 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
-
setNetworkSignalInfo
public MAPProvideRoamingNumberArg setNetworkSignalInfo(MAPExternalSignalInfo value) throws IllegalStateException
Sets the value of the field networkSignalInfo. 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
-
setPreviousRoamingNumber
public MAPProvideRoamingNumberArg setPreviousRoamingNumber(AddressString value) throws IllegalStateException
Sets the value of the field previousRoamingNumber. 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
-
-