public class MAPCheckIMEI_Arg extends MAPCheckIMEI_v1ArgSeq
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
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCheckIMEI_Arg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and 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.
|
getImei, hasImei
equals, hashCode, toString
checkModify, isReadOnly
public MAPCheckIMEI_Arg()
public MAPCheckIMEI_Arg clone()
clone
in interface DataObject
clone
in class MAPCheckIMEI_v1ArgSeq
public static MAPCheckIMEI_Arg copyOf(MAPCheckIMEI_v1ArgSeq from)
from
- the object from which to copypublic MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class MAPCheckIMEI_v1ArgSeq
withAbsents
- whether to put absent optional fields into Mappublic MAPRequestedEquipmentInfo getRequestedEquipmentInfo()
public boolean hasExtensionContainer()
public boolean hasRequestedEquipmentInfo()
public MAPCheckIMEI_Arg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCheckIMEI_Arg setImei(IMEIAddress value) throws IllegalStateException
setImei
in class MAPCheckIMEI_v1ArgSeq
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class MAPCheckIMEI_v1ArgSeq
public MAPCheckIMEI_Arg setRequestedEquipmentInfo(MAPRequestedEquipmentInfo value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only