public class MAPCancelLocationArg extends MAPCancelLocation_v1ArgSeq
CancelLocationArg ::= SEQUENCE { identity Identity, cancellationType CancellationType OPTIONAL, -- Added in R97. extensionContainer ExtensionContainer OPTIONAL, -- Added in R97. ... typeOfUpdate TypeOfUpdate OPTIONAL -- Added in release 8. } MAP-MS-DataTypes { CancelLocationArg { @parentASN1Type MAP-MobileServiceOperations-R96.cancelLocation.ArgumentType } }Extended in ph2. TypeOfUpdate shall be absent if CancellationType is different from updateProcedure.
Used as argument type by MAPOperations.cancelLocation_v3
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPCancelLocationArg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPCancelLocationArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPCancelLocationArg |
copyOf(MAPCancelLocation_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.
|
MAPCancellationType |
getCancellationType()
Gets the value of the field cancellationType.
|
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.
|
MAPTypeOfUpdate |
getTypeOfUpdate()
Gets the value of the field typeOfUpdate.
|
boolean |
hasCancellationType()
Tests whether the field cancellationType has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasTypeOfUpdate()
Tests whether the field typeOfUpdate has a value.
|
MAPCancelLocationArg |
setCancellationType(MAPCancellationType value)
Sets the value of the field cancellationType.
|
MAPCancelLocationArg |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPCancelLocationArg |
setIdentity(MAPIdentity value)
Sets the value of the field identity.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPCancelLocationArg |
setTypeOfUpdate(MAPTypeOfUpdate value)
Sets the value of the field typeOfUpdate.
|
getIdentity, hasIdentity
equals, hashCode, toString
checkModify, isReadOnly
public MAPCancelLocationArg()
public MAPCancelLocationArg clone()
clone
in interface DataObject
clone
in class MAPCancelLocation_v1ArgSeq
public static MAPCancelLocationArg copyOf(MAPCancelLocation_v1ArgSeq from)
from
- the object from which to copypublic MAPCancellationType getCancellationType()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class MAPCancelLocation_v1ArgSeq
withAbsents
- whether to put absent optional fields into Mappublic MAPTypeOfUpdate getTypeOfUpdate()
public boolean hasCancellationType()
public boolean hasExtensionContainer()
public boolean hasTypeOfUpdate()
public MAPCancelLocationArg setCancellationType(MAPCancellationType value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCancelLocationArg setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPCancelLocationArg setIdentity(MAPIdentity value) throws IllegalStateException
setIdentity
in class MAPCancelLocation_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 MAPCancelLocation_v1ArgSeq
public MAPCancelLocationArg setTypeOfUpdate(MAPTypeOfUpdate value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only