@Test public void testCaseInvalid() { tested.setIsCase(new IsCase(CASE_INVALID)); Set<ConstraintViolation<ProcessReusableSubprocessTaskExecutionSet>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); }
@Override public void setIsCase(final IsCase isCase) { this.isCase = isCase; }
ProcessReusableSubprocessTaskExecutionSet extends BaseSubprocessTaskExecutionSet implements BaseReusableSubprocessTaskExecutionSet { @Override public void setIsCase(final IsCase isCase) { this.isCase = isCase; } }
ProcessReusableSubprocessTaskExecutionSet extends BaseSubprocessTaskExecutionSet implements BaseReusableSubprocessTaskExecutionSet { @Override public void setIsCase(final IsCase isCase) { this.isCase = isCase; } ProcessReusableSubprocessTaskExecutionSet();  ProcessReusableSubprocessTaskExecutionSet(final @MapsTo("calledElement") CalledElement calledElement,
                                                     final @MapsTo("isCase") IsCase isCase,
                                                     final @MapsTo("independent") Independent independent,
                                                     final @MapsTo("abortParent") AbortParent abortParent,
                                                     final @MapsTo("waitForCompletion") WaitForCompletion waitForCompletion,
                                                     final @MapsTo("isAsync") IsAsync isAsync,
                                                     final @MapsTo("adHocAutostart") AdHocAutostart adHocAutostart,
                                                     final @MapsTo("isMultipleInstance") IsMultipleInstance isMultipleInstance,
                                                     final @MapsTo("multipleInstanceExecutionMode") MultipleInstanceExecutionMode multipleInstanceExecutionMode,
                                                     final @MapsTo("multipleInstanceCollectionInput") MultipleInstanceCollectionInput multipleInstanceCollectionInput,
                                                     final @MapsTo("multipleInstanceDataInput") MultipleInstanceDataInput multipleInstanceDataInput,
                                                     final @MapsTo("multipleInstanceCollectionOutput") MultipleInstanceCollectionOutput multipleInstanceCollectionOutput,
                                                     final @MapsTo("multipleInstanceDataOutput") MultipleInstanceDataOutput multipleInstanceDataOutput,
                                                     final @MapsTo("multipleInstanceCompletionCondition") MultipleInstanceCompletionCondition multipleInstanceCompletionCondition,
                                                     final @MapsTo("onEntryAction") OnEntryAction onEntryAction,
                                                     final @MapsTo("onExitAction") OnExitAction onExitAction,
                                                     final @MapsTo("slaDueDate") SLADueDate slaDueDate); }
ProcessReusableSubprocessTaskExecutionSet extends BaseSubprocessTaskExecutionSet implements BaseReusableSubprocessTaskExecutionSet { @Override public void setIsCase(final IsCase isCase) { this.isCase = isCase; } ProcessReusableSubprocessTaskExecutionSet();  ProcessReusableSubprocessTaskExecutionSet(final @MapsTo("calledElement") CalledElement calledElement,
                                                     final @MapsTo("isCase") IsCase isCase,
                                                     final @MapsTo("independent") Independent independent,
                                                     final @MapsTo("abortParent") AbortParent abortParent,
                                                     final @MapsTo("waitForCompletion") WaitForCompletion waitForCompletion,
                                                     final @MapsTo("isAsync") IsAsync isAsync,
                                                     final @MapsTo("adHocAutostart") AdHocAutostart adHocAutostart,
                                                     final @MapsTo("isMultipleInstance") IsMultipleInstance isMultipleInstance,
                                                     final @MapsTo("multipleInstanceExecutionMode") MultipleInstanceExecutionMode multipleInstanceExecutionMode,
                                                     final @MapsTo("multipleInstanceCollectionInput") MultipleInstanceCollectionInput multipleInstanceCollectionInput,
                                                     final @MapsTo("multipleInstanceDataInput") MultipleInstanceDataInput multipleInstanceDataInput,
                                                     final @MapsTo("multipleInstanceCollectionOutput") MultipleInstanceCollectionOutput multipleInstanceCollectionOutput,
                                                     final @MapsTo("multipleInstanceDataOutput") MultipleInstanceDataOutput multipleInstanceDataOutput,
                                                     final @MapsTo("multipleInstanceCompletionCondition") MultipleInstanceCompletionCondition multipleInstanceCompletionCondition,
                                                     final @MapsTo("onEntryAction") OnEntryAction onEntryAction,
                                                     final @MapsTo("onExitAction") OnExitAction onExitAction,
                                                     final @MapsTo("slaDueDate") SLADueDate slaDueDate); @Override CalledElement getCalledElement(); @Override void setCalledElement(final CalledElement calledElement); @Override IsCase getIsCase(); @Override void setIsCase(final IsCase isCase); @Override Independent getIndependent(); @Override void setIndependent(final Independent independent); @Override AbortParent getAbortParent(); @Override void setAbortParent(final AbortParent abortParent); @Override WaitForCompletion getWaitForCompletion(); @Override void setWaitForCompletion(final WaitForCompletion waitForCompletion); @Override AdHocAutostart getAdHocAutostart(); @Override void setAdHocAutostart(AdHocAutostart adHocAutostart); @Override IsMultipleInstance getIsMultipleInstance(); @Override void setIsMultipleInstance(IsMultipleInstance isMultipleInstance); @Override MultipleInstanceExecutionMode getMultipleInstanceExecutionMode(); @Override void setMultipleInstanceExecutionMode(MultipleInstanceExecutionMode multipleInstanceExecutionMode); @Override MultipleInstanceCollectionInput getMultipleInstanceCollectionInput(); @Override void setMultipleInstanceCollectionInput(MultipleInstanceCollectionInput multipleInstanceCollectionInput); @Override MultipleInstanceDataInput getMultipleInstanceDataInput(); @Override void setMultipleInstanceDataInput(MultipleInstanceDataInput multipleInstanceDataInput); @Override MultipleInstanceCollectionOutput getMultipleInstanceCollectionOutput(); @Override void setMultipleInstanceCollectionOutput(MultipleInstanceCollectionOutput multipleInstanceCollectionOutput); @Override MultipleInstanceDataOutput getMultipleInstanceDataOutput(); @Override void setMultipleInstanceDataOutput(MultipleInstanceDataOutput multipleInstanceDataOutput); @Override MultipleInstanceCompletionCondition getMultipleInstanceCompletionCondition(); @Override void setMultipleInstanceCompletionCondition(MultipleInstanceCompletionCondition multipleInstanceCompletionCondition); @Override OnEntryAction getOnEntryAction(); @Override void setOnEntryAction(final OnEntryAction onEntryAction); @Override OnExitAction getOnExitAction(); @Override void setOnExitAction(final OnExitAction onExitAction); @Override int hashCode(); @Override boolean equals(Object o); }
ProcessReusableSubprocessTaskExecutionSet extends BaseSubprocessTaskExecutionSet implements BaseReusableSubprocessTaskExecutionSet { @Override public void setIsCase(final IsCase isCase) { this.isCase = isCase; } ProcessReusableSubprocessTaskExecutionSet();  ProcessReusableSubprocessTaskExecutionSet(final @MapsTo("calledElement") CalledElement calledElement,
                                                     final @MapsTo("isCase") IsCase isCase,
                                                     final @MapsTo("independent") Independent independent,
                                                     final @MapsTo("abortParent") AbortParent abortParent,
                                                     final @MapsTo("waitForCompletion") WaitForCompletion waitForCompletion,
                                                     final @MapsTo("isAsync") IsAsync isAsync,
                                                     final @MapsTo("adHocAutostart") AdHocAutostart adHocAutostart,
                                                     final @MapsTo("isMultipleInstance") IsMultipleInstance isMultipleInstance,
                                                     final @MapsTo("multipleInstanceExecutionMode") MultipleInstanceExecutionMode multipleInstanceExecutionMode,
                                                     final @MapsTo("multipleInstanceCollectionInput") MultipleInstanceCollectionInput multipleInstanceCollectionInput,
                                                     final @MapsTo("multipleInstanceDataInput") MultipleInstanceDataInput multipleInstanceDataInput,
                                                     final @MapsTo("multipleInstanceCollectionOutput") MultipleInstanceCollectionOutput multipleInstanceCollectionOutput,
                                                     final @MapsTo("multipleInstanceDataOutput") MultipleInstanceDataOutput multipleInstanceDataOutput,
                                                     final @MapsTo("multipleInstanceCompletionCondition") MultipleInstanceCompletionCondition multipleInstanceCompletionCondition,
                                                     final @MapsTo("onEntryAction") OnEntryAction onEntryAction,
                                                     final @MapsTo("onExitAction") OnExitAction onExitAction,
                                                     final @MapsTo("slaDueDate") SLADueDate slaDueDate); @Override CalledElement getCalledElement(); @Override void setCalledElement(final CalledElement calledElement); @Override IsCase getIsCase(); @Override void setIsCase(final IsCase isCase); @Override Independent getIndependent(); @Override void setIndependent(final Independent independent); @Override AbortParent getAbortParent(); @Override void setAbortParent(final AbortParent abortParent); @Override WaitForCompletion getWaitForCompletion(); @Override void setWaitForCompletion(final WaitForCompletion waitForCompletion); @Override AdHocAutostart getAdHocAutostart(); @Override void setAdHocAutostart(AdHocAutostart adHocAutostart); @Override IsMultipleInstance getIsMultipleInstance(); @Override void setIsMultipleInstance(IsMultipleInstance isMultipleInstance); @Override MultipleInstanceExecutionMode getMultipleInstanceExecutionMode(); @Override void setMultipleInstanceExecutionMode(MultipleInstanceExecutionMode multipleInstanceExecutionMode); @Override MultipleInstanceCollectionInput getMultipleInstanceCollectionInput(); @Override void setMultipleInstanceCollectionInput(MultipleInstanceCollectionInput multipleInstanceCollectionInput); @Override MultipleInstanceDataInput getMultipleInstanceDataInput(); @Override void setMultipleInstanceDataInput(MultipleInstanceDataInput multipleInstanceDataInput); @Override MultipleInstanceCollectionOutput getMultipleInstanceCollectionOutput(); @Override void setMultipleInstanceCollectionOutput(MultipleInstanceCollectionOutput multipleInstanceCollectionOutput); @Override MultipleInstanceDataOutput getMultipleInstanceDataOutput(); @Override void setMultipleInstanceDataOutput(MultipleInstanceDataOutput multipleInstanceDataOutput); @Override MultipleInstanceCompletionCondition getMultipleInstanceCompletionCondition(); @Override void setMultipleInstanceCompletionCondition(MultipleInstanceCompletionCondition multipleInstanceCompletionCondition); @Override OnEntryAction getOnEntryAction(); @Override void setOnEntryAction(final OnEntryAction onEntryAction); @Override OnExitAction getOnExitAction(); @Override void setOnExitAction(final OnExitAction onExitAction); @Override int hashCode(); @Override boolean equals(Object o);  }