Class MAPCheckIMEI_Arg
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPCheckIMEI_Arg extends MAPCheckIMEI_v1ArgSeq
API for MAP-MS-DataTypes.CheckIMEI-Arg. Generated from the following ASN.1 type definition and the adaptations below.CheckIMEI-Arg ::= SEQUENCE { imei IMEI, requestedEquipmentInfo RequestedEquipmentInfo, extensionContainer ExtensionContainer OPTIONAL, ... } MAP-MS-DataTypes { CheckIMEI-Arg { @parentASN1Type MAP-MobileServiceOperations-Rel4.checkIMEI.ArgumentType } }
Extended in release 5.Used as argument type by
MAPOperations.checkIMEI_v3
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPCheckIMEI_Arg()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPCheckIMEI_Arg
clone()
Constructs a copy of this object and everything reachable from it.static MAPCheckIMEI_Arg
copyOf(MAPCheckIMEI_v1ArgSeq 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.MAPExtensionContainer
getExtensionContainer()
Gets the value of the field extensionContainer.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.MAPRequestedEquipmentInfo
getRequestedEquipmentInfo()
Gets the value of the field requestedEquipmentInfo.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasRequestedEquipmentInfo()
Tests whether the field requestedEquipmentInfo has a value.MAPCheckIMEI_Arg
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPCheckIMEI_Arg
setImei(IMEIAddress value)
Sets the value of the field imei.void
setReadOnly()
Sets this and all its fields to be immutable.MAPCheckIMEI_Arg
setRequestedEquipmentInfo(MAPRequestedEquipmentInfo value)
Sets the value of the field requestedEquipmentInfo.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPCheckIMEI_v1ArgSeq
getImei, hasImei
-
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 MAPCheckIMEI_Arg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Overrides:
clone
in classMAPCheckIMEI_v1ArgSeq
- Returns:
- copy of object
-
copyOf
public static MAPCheckIMEI_Arg copyOf(MAPCheckIMEI_v1ArgSeq 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:
- MAPCheckIMEI_Arg
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, 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.- Overrides:
getFieldsMap
in classMAPCheckIMEI_v1ArgSeq
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getRequestedEquipmentInfo
public MAPRequestedEquipmentInfo getRequestedEquipmentInfo()
Gets the value of the field requestedEquipmentInfo.- Returns:
- value of field requestedEquipmentInfo, or null if not present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasRequestedEquipmentInfo
public boolean hasRequestedEquipmentInfo()
Tests whether the field requestedEquipmentInfo has a value.- Returns:
- whether the field requestedEquipmentInfo has a value
-
setExtensionContainer
public MAPCheckIMEI_Arg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. 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
-
setImei
public MAPCheckIMEI_Arg setImei(IMEIAddress value) throws IllegalStateException
Sets the value of the field imei.- Overrides:
setImei
in classMAPCheckIMEI_v1ArgSeq
- 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 classMAPCheckIMEI_v1ArgSeq
-
setRequestedEquipmentInfo
public MAPCheckIMEI_Arg setRequestedEquipmentInfo(MAPRequestedEquipmentInfo value) throws IllegalStateException
Sets the value of the field requestedEquipmentInfo.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-