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 MAPProvideRoamingNumberArg
clone()
Constructs a copy of this object and everything reachable from it.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.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.MAPExternalSignalInfo
getGsm_BearerCapability()
Gets the value of the field gsm-BearerCapability.IMSIAddress
getImsi()
Gets the value of the field imsi.LMSIAddress
getLmsi()
Gets the value of the field lmsi.AddressString
getMsc_Number()
Gets the value of the field msc-Number.AddressString
getMsisdn()
Gets the value of the field msisdn.MAPExternalSignalInfo
getNetworkSignalInfo()
Gets the value of the field networkSignalInfo.AddressString
getPreviousRoamingNumber()
Gets the value of the field previousRoamingNumber.boolean
hasGsm_BearerCapability()
Tests whether the field gsm-BearerCapability has a value.boolean
hasImsi()
Tests whether the field imsi has a value.boolean
hasLmsi()
Tests whether the field lmsi has a value.boolean
hasMsc_Number()
Tests whether the field msc-Number has a value.boolean
hasMsisdn()
Tests whether the field msisdn has a value.boolean
hasNetworkSignalInfo()
Tests whether the field networkSignalInfo has a value.boolean
hasPreviousRoamingNumber()
Tests whether the field previousRoamingNumber has a value.MAPProvideRoamingNumberArg
setGsm_BearerCapability(MAPExternalSignalInfo value)
Sets the value of the field gsm-BearerCapability.MAPProvideRoamingNumberArg
setImsi(IMSIAddress value)
Sets the value of the field imsi.MAPProvideRoamingNumberArg
setLmsi(LMSIAddress value)
Sets the value of the field lmsi.MAPProvideRoamingNumberArg
setMsc_Number(AddressString value)
Sets the value of the field msc-Number.MAPProvideRoamingNumberArg
setMsisdn(AddressString value)
Sets the value of the field msisdn.MAPProvideRoamingNumberArg
setNetworkSignalInfo(MAPExternalSignalInfo value)
Sets the value of the field networkSignalInfo.MAPProvideRoamingNumberArg
setPreviousRoamingNumber(AddressString value)
Sets the value of the field previousRoamingNumber.void
setReadOnly()
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:
clone
in interfaceDataObject
- Specified by:
clone
in 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:
getFieldsMap
in 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:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-