public class CCCancelFailedArg extends AbstractFieldsObject
CancelFailedArg ::=
SEQUENCE {
problem ENUMERATED {
unknownOperation(0),
tooLate(1),
operationNotCancellable(2)
},
operation InvokeID
}
Used as parameter type by CCErrors.cancelFailed.
| Modifier and Type | Class and Description |
|---|---|
static class |
CCCancelFailedArg.Problem
API for CC-DataTypes.CancelFailedArg.problem.
|
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
CCCancelFailedArg()
Constructs an object with uninitialised state.
|
CCCancelFailedArg(CCCancelFailedArg.Problem Problem_param,
int Operation_param)
Constructs an object from given values for all fields.
|
| Modifier and Type | Method and Description |
|---|---|
CCCancelFailedArg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CCCancelFailedArg |
copyOf(CCCancelFailedArg 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.
|
int |
getOperation()
Gets the value of the field operation.
|
CCCancelFailedArg.Problem |
getProblem()
Gets the value of the field problem.
|
boolean |
hasOperation()
Tests whether the field operation has a value.
|
boolean |
hasProblem()
Tests whether the field problem has a value.
|
CCCancelFailedArg |
setOperation(int value)
Sets the value of the field operation and marks the field as present.
|
CCCancelFailedArg |
setProblem(CCCancelFailedArg.Problem value)
Sets the value of the field problem.
|
equals, hashCode, toStringcheckModify, isReadOnly, setReadOnlypublic CCCancelFailedArg()
public CCCancelFailedArg(CCCancelFailedArg.Problem Problem_param, int Operation_param)
Problem_param - value for that fieldOperation_param - value for that fieldpublic CCCancelFailedArg clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static CCCancelFailedArg copyOf(CCCancelFailedArg from)
from - the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic int getOperation()
public CCCancelFailedArg.Problem getProblem()
public boolean hasOperation()
public boolean hasProblem()
public CCCancelFailedArg setOperation(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic CCCancelFailedArg setProblem(CCCancelFailedArg.Problem value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only