Class MAPPurgeMS_Arg_v2
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPPurgeMS_Arg_v2
-
- All Implemented Interfaces:
DataObject
,Serializable
- Direct Known Subclasses:
MAPPurgeMS_Arg
public class MAPPurgeMS_Arg_v2 extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph2.PurgeMS-Arg-v2. Generated from the following ASN.1 type definition.PurgeMS-Arg-v2 ::= SEQUENCE { imsi IMSI, vlr-Number ISDN-AddressString, ... }
Used as argument type by
MAPOperations.purgeMS
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPPurgeMS_Arg_v2()
Constructs an object with uninitialised state.MAPPurgeMS_Arg_v2(IMSIAddress Imsi_param, AddressString Vlr_Number_param)
Constructs an object from given values for all fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPurgeMS_Arg_v2
clone()
Constructs a copy of this object and everything reachable from it.static MAPPurgeMS_Arg_v2
copyOf(MAPPurgeMS_Arg_v2 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.IMSIAddress
getImsi()
Gets the value of the field imsi.AddressString
getVlr_Number()
Gets the value of the field vlr-Number.boolean
hasImsi()
Tests whether the field imsi has a value.boolean
hasVlr_Number()
Tests whether the field vlr-Number has a value.MAPPurgeMS_Arg_v2
setImsi(IMSIAddress value)
Sets the value of the field imsi.void
setReadOnly()
Sets this and all its fields to be immutable.MAPPurgeMS_Arg_v2
setVlr_Number(AddressString value)
Sets the value of the field vlr-Number.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Constructor Detail
-
MAPPurgeMS_Arg_v2
public MAPPurgeMS_Arg_v2()
Constructs an object with uninitialised state.
-
MAPPurgeMS_Arg_v2
public MAPPurgeMS_Arg_v2(IMSIAddress Imsi_param, AddressString Vlr_Number_param)
Constructs an object from given values for all fields.- Parameters:
Imsi_param
- value for that fieldVlr_Number_param
- value for that field
-
-
Method Detail
-
clone
public MAPPurgeMS_Arg_v2 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 MAPPurgeMS_Arg_v2 copyOf(MAPPurgeMS_Arg_v2 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:
- MAPPurgeMS_Arg_v2
-
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
-
getVlr_Number
public AddressString getVlr_Number()
Gets the value of the field vlr-Number.- Returns:
- value of field vlr-Number, or null if not present
-
hasImsi
public boolean hasImsi()
Tests whether the field imsi has a value.- Returns:
- whether the field imsi has a value
-
hasVlr_Number
public boolean hasVlr_Number()
Tests whether the field vlr-Number has a value.- Returns:
- whether the field vlr-Number has a value
-
setImsi
public MAPPurgeMS_Arg_v2 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setVlr_Number
public MAPPurgeMS_Arg_v2 setVlr_Number(AddressString value) throws IllegalStateException
Sets the value of the field vlr-Number.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-