com.uber.cadence.Decision Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.uber.cadence;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2019-06-18")
public class Decision implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Decision");
private static final org.apache.thrift.protocol.TField DECISION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("decisionType", org.apache.thrift.protocol.TType.I32, (short)10);
private static final org.apache.thrift.protocol.TField SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("scheduleActivityTaskDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)20);
private static final org.apache.thrift.protocol.TField START_TIMER_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("startTimerDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)25);
private static final org.apache.thrift.protocol.TField COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("completeWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)30);
private static final org.apache.thrift.protocol.TField FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("failWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)35);
private static final org.apache.thrift.protocol.TField REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("requestCancelActivityTaskDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)40);
private static final org.apache.thrift.protocol.TField CANCEL_TIMER_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelTimerDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)50);
private static final org.apache.thrift.protocol.TField CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("cancelWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)60);
private static final org.apache.thrift.protocol.TField REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("requestCancelExternalWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)70);
private static final org.apache.thrift.protocol.TField RECORD_MARKER_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("recordMarkerDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)80);
private static final org.apache.thrift.protocol.TField CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("continueAsNewWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)90);
private static final org.apache.thrift.protocol.TField START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("startChildWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)100);
private static final org.apache.thrift.protocol.TField SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("signalExternalWorkflowExecutionDecisionAttributes", org.apache.thrift.protocol.TType.STRUCT, (short)110);
private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new DecisionStandardSchemeFactory());
schemes.put(TupleScheme.class, new DecisionTupleSchemeFactory());
}
/**
*
* @see DecisionType
*/
public DecisionType decisionType; // optional
public ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes; // optional
public StartTimerDecisionAttributes startTimerDecisionAttributes; // optional
public CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes; // optional
public FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes; // optional
public RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes; // optional
public CancelTimerDecisionAttributes cancelTimerDecisionAttributes; // optional
public CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes; // optional
public RequestCancelExternalWorkflowExecutionDecisionAttributes requestCancelExternalWorkflowExecutionDecisionAttributes; // optional
public RecordMarkerDecisionAttributes recordMarkerDecisionAttributes; // optional
public ContinueAsNewWorkflowExecutionDecisionAttributes continueAsNewWorkflowExecutionDecisionAttributes; // optional
public StartChildWorkflowExecutionDecisionAttributes startChildWorkflowExecutionDecisionAttributes; // optional
public SignalExternalWorkflowExecutionDecisionAttributes signalExternalWorkflowExecutionDecisionAttributes; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
/**
*
* @see DecisionType
*/
DECISION_TYPE((short)10, "decisionType"),
SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES((short)20, "scheduleActivityTaskDecisionAttributes"),
START_TIMER_DECISION_ATTRIBUTES((short)25, "startTimerDecisionAttributes"),
COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)30, "completeWorkflowExecutionDecisionAttributes"),
FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)35, "failWorkflowExecutionDecisionAttributes"),
REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES((short)40, "requestCancelActivityTaskDecisionAttributes"),
CANCEL_TIMER_DECISION_ATTRIBUTES((short)50, "cancelTimerDecisionAttributes"),
CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)60, "cancelWorkflowExecutionDecisionAttributes"),
REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)70, "requestCancelExternalWorkflowExecutionDecisionAttributes"),
RECORD_MARKER_DECISION_ATTRIBUTES((short)80, "recordMarkerDecisionAttributes"),
CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)90, "continueAsNewWorkflowExecutionDecisionAttributes"),
START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)100, "startChildWorkflowExecutionDecisionAttributes"),
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES((short)110, "signalExternalWorkflowExecutionDecisionAttributes");
private static final Map byName = new HashMap();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 10: // DECISION_TYPE
return DECISION_TYPE;
case 20: // SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES
return SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES;
case 25: // START_TIMER_DECISION_ATTRIBUTES
return START_TIMER_DECISION_ATTRIBUTES;
case 30: // COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 35: // FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 40: // REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES
return REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES;
case 50: // CANCEL_TIMER_DECISION_ATTRIBUTES
return CANCEL_TIMER_DECISION_ATTRIBUTES;
case 60: // CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 70: // REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 80: // RECORD_MARKER_DECISION_ATTRIBUTES
return RECORD_MARKER_DECISION_ATTRIBUTES;
case 90: // CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 100: // START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
case 110: // SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES
return SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final _Fields optionals[] = {_Fields.DECISION_TYPE,_Fields.SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES,_Fields.START_TIMER_DECISION_ATTRIBUTES,_Fields.COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES,_Fields.CANCEL_TIMER_DECISION_ATTRIBUTES,_Fields.CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.RECORD_MARKER_DECISION_ATTRIBUTES,_Fields.CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES,_Fields.SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES};
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.DECISION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("decisionType", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, DecisionType.class)));
tmpMap.put(_Fields.SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("scheduleActivityTaskDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ScheduleActivityTaskDecisionAttributes.class)));
tmpMap.put(_Fields.START_TIMER_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("startTimerDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StartTimerDecisionAttributes.class)));
tmpMap.put(_Fields.COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("completeWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CompleteWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("failWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FailWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("requestCancelActivityTaskDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RequestCancelActivityTaskDecisionAttributes.class)));
tmpMap.put(_Fields.CANCEL_TIMER_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("cancelTimerDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CancelTimerDecisionAttributes.class)));
tmpMap.put(_Fields.CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("cancelWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CancelWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("requestCancelExternalWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RequestCancelExternalWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.RECORD_MARKER_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("recordMarkerDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, RecordMarkerDecisionAttributes.class)));
tmpMap.put(_Fields.CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("continueAsNewWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ContinueAsNewWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("startChildWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, StartChildWorkflowExecutionDecisionAttributes.class)));
tmpMap.put(_Fields.SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("signalExternalWorkflowExecutionDecisionAttributes", org.apache.thrift.TFieldRequirementType.OPTIONAL,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SignalExternalWorkflowExecutionDecisionAttributes.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Decision.class, metaDataMap);
}
public Decision() {
}
/**
* Performs a deep copy on other.
*/
public Decision(Decision other) {
if (other.isSetDecisionType()) {
this.decisionType = other.decisionType;
}
if (other.isSetScheduleActivityTaskDecisionAttributes()) {
this.scheduleActivityTaskDecisionAttributes = new ScheduleActivityTaskDecisionAttributes(other.scheduleActivityTaskDecisionAttributes);
}
if (other.isSetStartTimerDecisionAttributes()) {
this.startTimerDecisionAttributes = new StartTimerDecisionAttributes(other.startTimerDecisionAttributes);
}
if (other.isSetCompleteWorkflowExecutionDecisionAttributes()) {
this.completeWorkflowExecutionDecisionAttributes = new CompleteWorkflowExecutionDecisionAttributes(other.completeWorkflowExecutionDecisionAttributes);
}
if (other.isSetFailWorkflowExecutionDecisionAttributes()) {
this.failWorkflowExecutionDecisionAttributes = new FailWorkflowExecutionDecisionAttributes(other.failWorkflowExecutionDecisionAttributes);
}
if (other.isSetRequestCancelActivityTaskDecisionAttributes()) {
this.requestCancelActivityTaskDecisionAttributes = new RequestCancelActivityTaskDecisionAttributes(other.requestCancelActivityTaskDecisionAttributes);
}
if (other.isSetCancelTimerDecisionAttributes()) {
this.cancelTimerDecisionAttributes = new CancelTimerDecisionAttributes(other.cancelTimerDecisionAttributes);
}
if (other.isSetCancelWorkflowExecutionDecisionAttributes()) {
this.cancelWorkflowExecutionDecisionAttributes = new CancelWorkflowExecutionDecisionAttributes(other.cancelWorkflowExecutionDecisionAttributes);
}
if (other.isSetRequestCancelExternalWorkflowExecutionDecisionAttributes()) {
this.requestCancelExternalWorkflowExecutionDecisionAttributes = new RequestCancelExternalWorkflowExecutionDecisionAttributes(other.requestCancelExternalWorkflowExecutionDecisionAttributes);
}
if (other.isSetRecordMarkerDecisionAttributes()) {
this.recordMarkerDecisionAttributes = new RecordMarkerDecisionAttributes(other.recordMarkerDecisionAttributes);
}
if (other.isSetContinueAsNewWorkflowExecutionDecisionAttributes()) {
this.continueAsNewWorkflowExecutionDecisionAttributes = new ContinueAsNewWorkflowExecutionDecisionAttributes(other.continueAsNewWorkflowExecutionDecisionAttributes);
}
if (other.isSetStartChildWorkflowExecutionDecisionAttributes()) {
this.startChildWorkflowExecutionDecisionAttributes = new StartChildWorkflowExecutionDecisionAttributes(other.startChildWorkflowExecutionDecisionAttributes);
}
if (other.isSetSignalExternalWorkflowExecutionDecisionAttributes()) {
this.signalExternalWorkflowExecutionDecisionAttributes = new SignalExternalWorkflowExecutionDecisionAttributes(other.signalExternalWorkflowExecutionDecisionAttributes);
}
}
public Decision deepCopy() {
return new Decision(this);
}
@Override
public void clear() {
this.decisionType = null;
this.scheduleActivityTaskDecisionAttributes = null;
this.startTimerDecisionAttributes = null;
this.completeWorkflowExecutionDecisionAttributes = null;
this.failWorkflowExecutionDecisionAttributes = null;
this.requestCancelActivityTaskDecisionAttributes = null;
this.cancelTimerDecisionAttributes = null;
this.cancelWorkflowExecutionDecisionAttributes = null;
this.requestCancelExternalWorkflowExecutionDecisionAttributes = null;
this.recordMarkerDecisionAttributes = null;
this.continueAsNewWorkflowExecutionDecisionAttributes = null;
this.startChildWorkflowExecutionDecisionAttributes = null;
this.signalExternalWorkflowExecutionDecisionAttributes = null;
}
/**
*
* @see DecisionType
*/
public DecisionType getDecisionType() {
return this.decisionType;
}
/**
*
* @see DecisionType
*/
public Decision setDecisionType(DecisionType decisionType) {
this.decisionType = decisionType;
return this;
}
public void unsetDecisionType() {
this.decisionType = null;
}
/** Returns true if field decisionType is set (has been assigned a value) and false otherwise */
public boolean isSetDecisionType() {
return this.decisionType != null;
}
public void setDecisionTypeIsSet(boolean value) {
if (!value) {
this.decisionType = null;
}
}
public ScheduleActivityTaskDecisionAttributes getScheduleActivityTaskDecisionAttributes() {
return this.scheduleActivityTaskDecisionAttributes;
}
public Decision setScheduleActivityTaskDecisionAttributes(ScheduleActivityTaskDecisionAttributes scheduleActivityTaskDecisionAttributes) {
this.scheduleActivityTaskDecisionAttributes = scheduleActivityTaskDecisionAttributes;
return this;
}
public void unsetScheduleActivityTaskDecisionAttributes() {
this.scheduleActivityTaskDecisionAttributes = null;
}
/** Returns true if field scheduleActivityTaskDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetScheduleActivityTaskDecisionAttributes() {
return this.scheduleActivityTaskDecisionAttributes != null;
}
public void setScheduleActivityTaskDecisionAttributesIsSet(boolean value) {
if (!value) {
this.scheduleActivityTaskDecisionAttributes = null;
}
}
public StartTimerDecisionAttributes getStartTimerDecisionAttributes() {
return this.startTimerDecisionAttributes;
}
public Decision setStartTimerDecisionAttributes(StartTimerDecisionAttributes startTimerDecisionAttributes) {
this.startTimerDecisionAttributes = startTimerDecisionAttributes;
return this;
}
public void unsetStartTimerDecisionAttributes() {
this.startTimerDecisionAttributes = null;
}
/** Returns true if field startTimerDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetStartTimerDecisionAttributes() {
return this.startTimerDecisionAttributes != null;
}
public void setStartTimerDecisionAttributesIsSet(boolean value) {
if (!value) {
this.startTimerDecisionAttributes = null;
}
}
public CompleteWorkflowExecutionDecisionAttributes getCompleteWorkflowExecutionDecisionAttributes() {
return this.completeWorkflowExecutionDecisionAttributes;
}
public Decision setCompleteWorkflowExecutionDecisionAttributes(CompleteWorkflowExecutionDecisionAttributes completeWorkflowExecutionDecisionAttributes) {
this.completeWorkflowExecutionDecisionAttributes = completeWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetCompleteWorkflowExecutionDecisionAttributes() {
this.completeWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field completeWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetCompleteWorkflowExecutionDecisionAttributes() {
return this.completeWorkflowExecutionDecisionAttributes != null;
}
public void setCompleteWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.completeWorkflowExecutionDecisionAttributes = null;
}
}
public FailWorkflowExecutionDecisionAttributes getFailWorkflowExecutionDecisionAttributes() {
return this.failWorkflowExecutionDecisionAttributes;
}
public Decision setFailWorkflowExecutionDecisionAttributes(FailWorkflowExecutionDecisionAttributes failWorkflowExecutionDecisionAttributes) {
this.failWorkflowExecutionDecisionAttributes = failWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetFailWorkflowExecutionDecisionAttributes() {
this.failWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field failWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetFailWorkflowExecutionDecisionAttributes() {
return this.failWorkflowExecutionDecisionAttributes != null;
}
public void setFailWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.failWorkflowExecutionDecisionAttributes = null;
}
}
public RequestCancelActivityTaskDecisionAttributes getRequestCancelActivityTaskDecisionAttributes() {
return this.requestCancelActivityTaskDecisionAttributes;
}
public Decision setRequestCancelActivityTaskDecisionAttributes(RequestCancelActivityTaskDecisionAttributes requestCancelActivityTaskDecisionAttributes) {
this.requestCancelActivityTaskDecisionAttributes = requestCancelActivityTaskDecisionAttributes;
return this;
}
public void unsetRequestCancelActivityTaskDecisionAttributes() {
this.requestCancelActivityTaskDecisionAttributes = null;
}
/** Returns true if field requestCancelActivityTaskDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetRequestCancelActivityTaskDecisionAttributes() {
return this.requestCancelActivityTaskDecisionAttributes != null;
}
public void setRequestCancelActivityTaskDecisionAttributesIsSet(boolean value) {
if (!value) {
this.requestCancelActivityTaskDecisionAttributes = null;
}
}
public CancelTimerDecisionAttributes getCancelTimerDecisionAttributes() {
return this.cancelTimerDecisionAttributes;
}
public Decision setCancelTimerDecisionAttributes(CancelTimerDecisionAttributes cancelTimerDecisionAttributes) {
this.cancelTimerDecisionAttributes = cancelTimerDecisionAttributes;
return this;
}
public void unsetCancelTimerDecisionAttributes() {
this.cancelTimerDecisionAttributes = null;
}
/** Returns true if field cancelTimerDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetCancelTimerDecisionAttributes() {
return this.cancelTimerDecisionAttributes != null;
}
public void setCancelTimerDecisionAttributesIsSet(boolean value) {
if (!value) {
this.cancelTimerDecisionAttributes = null;
}
}
public CancelWorkflowExecutionDecisionAttributes getCancelWorkflowExecutionDecisionAttributes() {
return this.cancelWorkflowExecutionDecisionAttributes;
}
public Decision setCancelWorkflowExecutionDecisionAttributes(CancelWorkflowExecutionDecisionAttributes cancelWorkflowExecutionDecisionAttributes) {
this.cancelWorkflowExecutionDecisionAttributes = cancelWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetCancelWorkflowExecutionDecisionAttributes() {
this.cancelWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field cancelWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetCancelWorkflowExecutionDecisionAttributes() {
return this.cancelWorkflowExecutionDecisionAttributes != null;
}
public void setCancelWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.cancelWorkflowExecutionDecisionAttributes = null;
}
}
public RequestCancelExternalWorkflowExecutionDecisionAttributes getRequestCancelExternalWorkflowExecutionDecisionAttributes() {
return this.requestCancelExternalWorkflowExecutionDecisionAttributes;
}
public Decision setRequestCancelExternalWorkflowExecutionDecisionAttributes(RequestCancelExternalWorkflowExecutionDecisionAttributes requestCancelExternalWorkflowExecutionDecisionAttributes) {
this.requestCancelExternalWorkflowExecutionDecisionAttributes = requestCancelExternalWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetRequestCancelExternalWorkflowExecutionDecisionAttributes() {
this.requestCancelExternalWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field requestCancelExternalWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetRequestCancelExternalWorkflowExecutionDecisionAttributes() {
return this.requestCancelExternalWorkflowExecutionDecisionAttributes != null;
}
public void setRequestCancelExternalWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.requestCancelExternalWorkflowExecutionDecisionAttributes = null;
}
}
public RecordMarkerDecisionAttributes getRecordMarkerDecisionAttributes() {
return this.recordMarkerDecisionAttributes;
}
public Decision setRecordMarkerDecisionAttributes(RecordMarkerDecisionAttributes recordMarkerDecisionAttributes) {
this.recordMarkerDecisionAttributes = recordMarkerDecisionAttributes;
return this;
}
public void unsetRecordMarkerDecisionAttributes() {
this.recordMarkerDecisionAttributes = null;
}
/** Returns true if field recordMarkerDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetRecordMarkerDecisionAttributes() {
return this.recordMarkerDecisionAttributes != null;
}
public void setRecordMarkerDecisionAttributesIsSet(boolean value) {
if (!value) {
this.recordMarkerDecisionAttributes = null;
}
}
public ContinueAsNewWorkflowExecutionDecisionAttributes getContinueAsNewWorkflowExecutionDecisionAttributes() {
return this.continueAsNewWorkflowExecutionDecisionAttributes;
}
public Decision setContinueAsNewWorkflowExecutionDecisionAttributes(ContinueAsNewWorkflowExecutionDecisionAttributes continueAsNewWorkflowExecutionDecisionAttributes) {
this.continueAsNewWorkflowExecutionDecisionAttributes = continueAsNewWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetContinueAsNewWorkflowExecutionDecisionAttributes() {
this.continueAsNewWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field continueAsNewWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetContinueAsNewWorkflowExecutionDecisionAttributes() {
return this.continueAsNewWorkflowExecutionDecisionAttributes != null;
}
public void setContinueAsNewWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.continueAsNewWorkflowExecutionDecisionAttributes = null;
}
}
public StartChildWorkflowExecutionDecisionAttributes getStartChildWorkflowExecutionDecisionAttributes() {
return this.startChildWorkflowExecutionDecisionAttributes;
}
public Decision setStartChildWorkflowExecutionDecisionAttributes(StartChildWorkflowExecutionDecisionAttributes startChildWorkflowExecutionDecisionAttributes) {
this.startChildWorkflowExecutionDecisionAttributes = startChildWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetStartChildWorkflowExecutionDecisionAttributes() {
this.startChildWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field startChildWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetStartChildWorkflowExecutionDecisionAttributes() {
return this.startChildWorkflowExecutionDecisionAttributes != null;
}
public void setStartChildWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.startChildWorkflowExecutionDecisionAttributes = null;
}
}
public SignalExternalWorkflowExecutionDecisionAttributes getSignalExternalWorkflowExecutionDecisionAttributes() {
return this.signalExternalWorkflowExecutionDecisionAttributes;
}
public Decision setSignalExternalWorkflowExecutionDecisionAttributes(SignalExternalWorkflowExecutionDecisionAttributes signalExternalWorkflowExecutionDecisionAttributes) {
this.signalExternalWorkflowExecutionDecisionAttributes = signalExternalWorkflowExecutionDecisionAttributes;
return this;
}
public void unsetSignalExternalWorkflowExecutionDecisionAttributes() {
this.signalExternalWorkflowExecutionDecisionAttributes = null;
}
/** Returns true if field signalExternalWorkflowExecutionDecisionAttributes is set (has been assigned a value) and false otherwise */
public boolean isSetSignalExternalWorkflowExecutionDecisionAttributes() {
return this.signalExternalWorkflowExecutionDecisionAttributes != null;
}
public void setSignalExternalWorkflowExecutionDecisionAttributesIsSet(boolean value) {
if (!value) {
this.signalExternalWorkflowExecutionDecisionAttributes = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case DECISION_TYPE:
if (value == null) {
unsetDecisionType();
} else {
setDecisionType((DecisionType)value);
}
break;
case SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES:
if (value == null) {
unsetScheduleActivityTaskDecisionAttributes();
} else {
setScheduleActivityTaskDecisionAttributes((ScheduleActivityTaskDecisionAttributes)value);
}
break;
case START_TIMER_DECISION_ATTRIBUTES:
if (value == null) {
unsetStartTimerDecisionAttributes();
} else {
setStartTimerDecisionAttributes((StartTimerDecisionAttributes)value);
}
break;
case COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetCompleteWorkflowExecutionDecisionAttributes();
} else {
setCompleteWorkflowExecutionDecisionAttributes((CompleteWorkflowExecutionDecisionAttributes)value);
}
break;
case FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetFailWorkflowExecutionDecisionAttributes();
} else {
setFailWorkflowExecutionDecisionAttributes((FailWorkflowExecutionDecisionAttributes)value);
}
break;
case REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES:
if (value == null) {
unsetRequestCancelActivityTaskDecisionAttributes();
} else {
setRequestCancelActivityTaskDecisionAttributes((RequestCancelActivityTaskDecisionAttributes)value);
}
break;
case CANCEL_TIMER_DECISION_ATTRIBUTES:
if (value == null) {
unsetCancelTimerDecisionAttributes();
} else {
setCancelTimerDecisionAttributes((CancelTimerDecisionAttributes)value);
}
break;
case CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetCancelWorkflowExecutionDecisionAttributes();
} else {
setCancelWorkflowExecutionDecisionAttributes((CancelWorkflowExecutionDecisionAttributes)value);
}
break;
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetRequestCancelExternalWorkflowExecutionDecisionAttributes();
} else {
setRequestCancelExternalWorkflowExecutionDecisionAttributes((RequestCancelExternalWorkflowExecutionDecisionAttributes)value);
}
break;
case RECORD_MARKER_DECISION_ATTRIBUTES:
if (value == null) {
unsetRecordMarkerDecisionAttributes();
} else {
setRecordMarkerDecisionAttributes((RecordMarkerDecisionAttributes)value);
}
break;
case CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetContinueAsNewWorkflowExecutionDecisionAttributes();
} else {
setContinueAsNewWorkflowExecutionDecisionAttributes((ContinueAsNewWorkflowExecutionDecisionAttributes)value);
}
break;
case START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetStartChildWorkflowExecutionDecisionAttributes();
} else {
setStartChildWorkflowExecutionDecisionAttributes((StartChildWorkflowExecutionDecisionAttributes)value);
}
break;
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
if (value == null) {
unsetSignalExternalWorkflowExecutionDecisionAttributes();
} else {
setSignalExternalWorkflowExecutionDecisionAttributes((SignalExternalWorkflowExecutionDecisionAttributes)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case DECISION_TYPE:
return getDecisionType();
case SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES:
return getScheduleActivityTaskDecisionAttributes();
case START_TIMER_DECISION_ATTRIBUTES:
return getStartTimerDecisionAttributes();
case COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getCompleteWorkflowExecutionDecisionAttributes();
case FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getFailWorkflowExecutionDecisionAttributes();
case REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES:
return getRequestCancelActivityTaskDecisionAttributes();
case CANCEL_TIMER_DECISION_ATTRIBUTES:
return getCancelTimerDecisionAttributes();
case CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getCancelWorkflowExecutionDecisionAttributes();
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getRequestCancelExternalWorkflowExecutionDecisionAttributes();
case RECORD_MARKER_DECISION_ATTRIBUTES:
return getRecordMarkerDecisionAttributes();
case CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getContinueAsNewWorkflowExecutionDecisionAttributes();
case START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getStartChildWorkflowExecutionDecisionAttributes();
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return getSignalExternalWorkflowExecutionDecisionAttributes();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case DECISION_TYPE:
return isSetDecisionType();
case SCHEDULE_ACTIVITY_TASK_DECISION_ATTRIBUTES:
return isSetScheduleActivityTaskDecisionAttributes();
case START_TIMER_DECISION_ATTRIBUTES:
return isSetStartTimerDecisionAttributes();
case COMPLETE_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetCompleteWorkflowExecutionDecisionAttributes();
case FAIL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetFailWorkflowExecutionDecisionAttributes();
case REQUEST_CANCEL_ACTIVITY_TASK_DECISION_ATTRIBUTES:
return isSetRequestCancelActivityTaskDecisionAttributes();
case CANCEL_TIMER_DECISION_ATTRIBUTES:
return isSetCancelTimerDecisionAttributes();
case CANCEL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetCancelWorkflowExecutionDecisionAttributes();
case REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetRequestCancelExternalWorkflowExecutionDecisionAttributes();
case RECORD_MARKER_DECISION_ATTRIBUTES:
return isSetRecordMarkerDecisionAttributes();
case CONTINUE_AS_NEW_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetContinueAsNewWorkflowExecutionDecisionAttributes();
case START_CHILD_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetStartChildWorkflowExecutionDecisionAttributes();
case SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_DECISION_ATTRIBUTES:
return isSetSignalExternalWorkflowExecutionDecisionAttributes();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof Decision)
return this.equals((Decision)that);
return false;
}
public boolean equals(Decision that) {
if (that == null)
return false;
boolean this_present_decisionType = true && this.isSetDecisionType();
boolean that_present_decisionType = true && that.isSetDecisionType();
if (this_present_decisionType || that_present_decisionType) {
if (!(this_present_decisionType && that_present_decisionType))
return false;
if (!this.decisionType.equals(that.decisionType))
return false;
}
boolean this_present_scheduleActivityTaskDecisionAttributes = true && this.isSetScheduleActivityTaskDecisionAttributes();
boolean that_present_scheduleActivityTaskDecisionAttributes = true && that.isSetScheduleActivityTaskDecisionAttributes();
if (this_present_scheduleActivityTaskDecisionAttributes || that_present_scheduleActivityTaskDecisionAttributes) {
if (!(this_present_scheduleActivityTaskDecisionAttributes && that_present_scheduleActivityTaskDecisionAttributes))
return false;
if (!this.scheduleActivityTaskDecisionAttributes.equals(that.scheduleActivityTaskDecisionAttributes))
return false;
}
boolean this_present_startTimerDecisionAttributes = true && this.isSetStartTimerDecisionAttributes();
boolean that_present_startTimerDecisionAttributes = true && that.isSetStartTimerDecisionAttributes();
if (this_present_startTimerDecisionAttributes || that_present_startTimerDecisionAttributes) {
if (!(this_present_startTimerDecisionAttributes && that_present_startTimerDecisionAttributes))
return false;
if (!this.startTimerDecisionAttributes.equals(that.startTimerDecisionAttributes))
return false;
}
boolean this_present_completeWorkflowExecutionDecisionAttributes = true && this.isSetCompleteWorkflowExecutionDecisionAttributes();
boolean that_present_completeWorkflowExecutionDecisionAttributes = true && that.isSetCompleteWorkflowExecutionDecisionAttributes();
if (this_present_completeWorkflowExecutionDecisionAttributes || that_present_completeWorkflowExecutionDecisionAttributes) {
if (!(this_present_completeWorkflowExecutionDecisionAttributes && that_present_completeWorkflowExecutionDecisionAttributes))
return false;
if (!this.completeWorkflowExecutionDecisionAttributes.equals(that.completeWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_failWorkflowExecutionDecisionAttributes = true && this.isSetFailWorkflowExecutionDecisionAttributes();
boolean that_present_failWorkflowExecutionDecisionAttributes = true && that.isSetFailWorkflowExecutionDecisionAttributes();
if (this_present_failWorkflowExecutionDecisionAttributes || that_present_failWorkflowExecutionDecisionAttributes) {
if (!(this_present_failWorkflowExecutionDecisionAttributes && that_present_failWorkflowExecutionDecisionAttributes))
return false;
if (!this.failWorkflowExecutionDecisionAttributes.equals(that.failWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_requestCancelActivityTaskDecisionAttributes = true && this.isSetRequestCancelActivityTaskDecisionAttributes();
boolean that_present_requestCancelActivityTaskDecisionAttributes = true && that.isSetRequestCancelActivityTaskDecisionAttributes();
if (this_present_requestCancelActivityTaskDecisionAttributes || that_present_requestCancelActivityTaskDecisionAttributes) {
if (!(this_present_requestCancelActivityTaskDecisionAttributes && that_present_requestCancelActivityTaskDecisionAttributes))
return false;
if (!this.requestCancelActivityTaskDecisionAttributes.equals(that.requestCancelActivityTaskDecisionAttributes))
return false;
}
boolean this_present_cancelTimerDecisionAttributes = true && this.isSetCancelTimerDecisionAttributes();
boolean that_present_cancelTimerDecisionAttributes = true && that.isSetCancelTimerDecisionAttributes();
if (this_present_cancelTimerDecisionAttributes || that_present_cancelTimerDecisionAttributes) {
if (!(this_present_cancelTimerDecisionAttributes && that_present_cancelTimerDecisionAttributes))
return false;
if (!this.cancelTimerDecisionAttributes.equals(that.cancelTimerDecisionAttributes))
return false;
}
boolean this_present_cancelWorkflowExecutionDecisionAttributes = true && this.isSetCancelWorkflowExecutionDecisionAttributes();
boolean that_present_cancelWorkflowExecutionDecisionAttributes = true && that.isSetCancelWorkflowExecutionDecisionAttributes();
if (this_present_cancelWorkflowExecutionDecisionAttributes || that_present_cancelWorkflowExecutionDecisionAttributes) {
if (!(this_present_cancelWorkflowExecutionDecisionAttributes && that_present_cancelWorkflowExecutionDecisionAttributes))
return false;
if (!this.cancelWorkflowExecutionDecisionAttributes.equals(that.cancelWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_requestCancelExternalWorkflowExecutionDecisionAttributes = true && this.isSetRequestCancelExternalWorkflowExecutionDecisionAttributes();
boolean that_present_requestCancelExternalWorkflowExecutionDecisionAttributes = true && that.isSetRequestCancelExternalWorkflowExecutionDecisionAttributes();
if (this_present_requestCancelExternalWorkflowExecutionDecisionAttributes || that_present_requestCancelExternalWorkflowExecutionDecisionAttributes) {
if (!(this_present_requestCancelExternalWorkflowExecutionDecisionAttributes && that_present_requestCancelExternalWorkflowExecutionDecisionAttributes))
return false;
if (!this.requestCancelExternalWorkflowExecutionDecisionAttributes.equals(that.requestCancelExternalWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_recordMarkerDecisionAttributes = true && this.isSetRecordMarkerDecisionAttributes();
boolean that_present_recordMarkerDecisionAttributes = true && that.isSetRecordMarkerDecisionAttributes();
if (this_present_recordMarkerDecisionAttributes || that_present_recordMarkerDecisionAttributes) {
if (!(this_present_recordMarkerDecisionAttributes && that_present_recordMarkerDecisionAttributes))
return false;
if (!this.recordMarkerDecisionAttributes.equals(that.recordMarkerDecisionAttributes))
return false;
}
boolean this_present_continueAsNewWorkflowExecutionDecisionAttributes = true && this.isSetContinueAsNewWorkflowExecutionDecisionAttributes();
boolean that_present_continueAsNewWorkflowExecutionDecisionAttributes = true && that.isSetContinueAsNewWorkflowExecutionDecisionAttributes();
if (this_present_continueAsNewWorkflowExecutionDecisionAttributes || that_present_continueAsNewWorkflowExecutionDecisionAttributes) {
if (!(this_present_continueAsNewWorkflowExecutionDecisionAttributes && that_present_continueAsNewWorkflowExecutionDecisionAttributes))
return false;
if (!this.continueAsNewWorkflowExecutionDecisionAttributes.equals(that.continueAsNewWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_startChildWorkflowExecutionDecisionAttributes = true && this.isSetStartChildWorkflowExecutionDecisionAttributes();
boolean that_present_startChildWorkflowExecutionDecisionAttributes = true && that.isSetStartChildWorkflowExecutionDecisionAttributes();
if (this_present_startChildWorkflowExecutionDecisionAttributes || that_present_startChildWorkflowExecutionDecisionAttributes) {
if (!(this_present_startChildWorkflowExecutionDecisionAttributes && that_present_startChildWorkflowExecutionDecisionAttributes))
return false;
if (!this.startChildWorkflowExecutionDecisionAttributes.equals(that.startChildWorkflowExecutionDecisionAttributes))
return false;
}
boolean this_present_signalExternalWorkflowExecutionDecisionAttributes = true && this.isSetSignalExternalWorkflowExecutionDecisionAttributes();
boolean that_present_signalExternalWorkflowExecutionDecisionAttributes = true && that.isSetSignalExternalWorkflowExecutionDecisionAttributes();
if (this_present_signalExternalWorkflowExecutionDecisionAttributes || that_present_signalExternalWorkflowExecutionDecisionAttributes) {
if (!(this_present_signalExternalWorkflowExecutionDecisionAttributes && that_present_signalExternalWorkflowExecutionDecisionAttributes))
return false;
if (!this.signalExternalWorkflowExecutionDecisionAttributes.equals(that.signalExternalWorkflowExecutionDecisionAttributes))
return false;
}
return true;
}
@Override
public int hashCode() {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy