public void setValues(Gateway otherElement) { super.setValues(otherElement); setDefaultFlow(otherElement.getDefaultFlow()); } }
public void setValues(Gateway otherElement) { super.setValues(otherElement); setDefaultFlow(otherElement.getDefaultFlow()); } }
public void setValues(Event otherEvent) { super.setValues(otherEvent); eventDefinitions = new ArrayList<>(); if (otherEvent.getEventDefinitions() != null && !otherEvent.getEventDefinitions().isEmpty()) { for (EventDefinition eventDef : otherEvent.getEventDefinitions()) { eventDefinitions.add(eventDef.clone()); } } } }
public void setValues(Event otherEvent) { super.setValues(otherEvent); eventDefinitions = new ArrayList<>(); if (otherEvent.getEventDefinitions() != null && !otherEvent.getEventDefinitions().isEmpty()) { for (EventDefinition eventDef : otherEvent.getEventDefinitions()) { eventDefinitions.add(eventDef.clone()); } } } }
public void setValues(Activity otherActivity) { super.setValues(otherActivity); setFailedJobRetryTimeCycleValue(otherActivity.getFailedJobRetryTimeCycleValue()); setDefaultFlow(otherActivity.getDefaultFlow()); setForCompensation(otherActivity.isForCompensation()); if (otherActivity.getLoopCharacteristics() != null) { setLoopCharacteristics(otherActivity.getLoopCharacteristics().clone()); } if (otherActivity.getIoSpecification() != null) { setIoSpecification(otherActivity.getIoSpecification().clone()); } dataInputAssociations = new ArrayList<>(); if (otherActivity.getDataInputAssociations() != null && !otherActivity.getDataInputAssociations().isEmpty()) { for (DataAssociation association : otherActivity.getDataInputAssociations()) { dataInputAssociations.add(association.clone()); } } dataOutputAssociations = new ArrayList<>(); if (otherActivity.getDataOutputAssociations() != null && !otherActivity.getDataOutputAssociations().isEmpty()) { for (DataAssociation association : otherActivity.getDataOutputAssociations()) { dataOutputAssociations.add(association.clone()); } } boundaryEvents.clear(); boundaryEvents.addAll(otherActivity.getBoundaryEvents()); } }
public void setValues(Activity otherActivity) { super.setValues(otherActivity); setFailedJobRetryTimeCycleValue(otherActivity.getFailedJobRetryTimeCycleValue()); setDefaultFlow(otherActivity.getDefaultFlow()); setForCompensation(otherActivity.isForCompensation()); if (otherActivity.getLoopCharacteristics() != null) { setLoopCharacteristics(otherActivity.getLoopCharacteristics().clone()); } if (otherActivity.getIoSpecification() != null) { setIoSpecification(otherActivity.getIoSpecification().clone()); } dataInputAssociations = new ArrayList<>(); if (otherActivity.getDataInputAssociations() != null && !otherActivity.getDataInputAssociations().isEmpty()) { for (DataAssociation association : otherActivity.getDataInputAssociations()) { dataInputAssociations.add(association.clone()); } } dataOutputAssociations = new ArrayList<>(); if (otherActivity.getDataOutputAssociations() != null && !otherActivity.getDataOutputAssociations().isEmpty()) { for (DataAssociation association : otherActivity.getDataOutputAssociations()) { dataOutputAssociations.add(association.clone()); } } boundaryEvents.clear(); boundaryEvents.addAll(otherActivity.getBoundaryEvents()); } }