equalsBuilder.append(this.getPartnerLinks(), that.getPartnerLinks()); equalsBuilder.append(this.getMessageExchanges(), that.getMessageExchanges()); equalsBuilder.append(this.getVariables(), that.getVariables()); equalsBuilder.append(this.getCorrelationSets(), that.getCorrelationSets()); equalsBuilder.append(this.getFaultHandlers(), that.getFaultHandlers()); equalsBuilder.append(this.getCompensationHandler(), that.getCompensationHandler()); equalsBuilder.append(this.getTerminationHandler(), that.getTerminationHandler()); equalsBuilder.append(this.getEventHandlers(), that.getEventHandlers()); equalsBuilder.append(this.getAssign(), that.getAssign()); equalsBuilder.append(this.getCompensate(), that.getCompensate()); equalsBuilder.append(this.getCompensateScope(), that.getCompensateScope()); equalsBuilder.append(this.getEmpty(), that.getEmpty()); equalsBuilder.append(this.getExit(), that.getExit()); equalsBuilder.append(this.getExtensionActivity(), that.getExtensionActivity()); equalsBuilder.append(this.getFlow(), that.getFlow()); equalsBuilder.append(this.getForEach(), that.getForEach()); equalsBuilder.append(this.getIf(), that.getIf()); equalsBuilder.append(this.getInvoke(), that.getInvoke()); equalsBuilder.append(this.getPick(), that.getPick()); equalsBuilder.append(this.getReceive(), that.getReceive()); equalsBuilder.append(this.getRepeatUntil(), that.getRepeatUntil()); equalsBuilder.append(this.getReply(), that.getReply()); equalsBuilder.append(this.getRethrow(), that.getRethrow()); equalsBuilder.append(this.getScope(), that.getScope()); equalsBuilder.append(this.getSequence(), that.getSequence()); equalsBuilder.append(this.getThrow(), that.getThrow()); equalsBuilder.append(this.getValidate(), that.getValidate()); equalsBuilder.append(this.getWait(), that.getWait()); equalsBuilder.append(this.getWhile(), that.getWhile());
public static Activity analyzeScope(final TScope temp, final BPELElementImpl parent) throws BPELException { Activity res = null; if(temp.getAssign() != null) { res = ActivityImpl.getActivity(temp.getAssign(), parent); } else if(temp.getEmpty() != null) { res = ActivityImpl.getActivity(temp.getEmpty(), parent); } else if(temp.getFlow() != null) { res = ActivityImpl.getActivity(temp.getFlow(), parent); } else if(temp.getForEach() != null) { res = ActivityImpl.getActivity(temp.getForEach(), parent); } else if(temp.getRepeatUntil() != null) { res = ActivityImpl.getActivity(temp.getRepeatUntil(), parent); } else if(temp.getIf() != null) { res = ActivityImpl.getActivity(temp.getIf(), parent); } else if(temp.getInvoke() != null) { res = ActivityImpl.getActivity(temp.getInvoke(), parent); } else if(temp.getReceive() != null) { res = ActivityImpl.getActivity(temp.getReceive(), parent); } else if(temp.getRepeatUntil() != null) { res = ActivityImpl.getActivity(temp.getRepeatUntil(), parent); } else if(temp.getReply() != null) { res = ActivityImpl.getActivity(temp.getReply(), parent); } else if(temp.getScope() != null) { res = ActivityImpl.getActivity(temp.getScope(), parent); } else if(temp.getScope() != null) { res = ActivityImpl.getActivity(temp.getScope(), parent); } else if(temp.getSequence() != null) { res = ActivityImpl.getActivity(temp.getSequence(), parent); } else if(temp.getWait() != null) { res = ActivityImpl.getActivity(temp.getWait(), parent);
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TScope copy = ((target == null)?((TScope) createCopy()):((TScope) target)); super.copyTo(copy, copyBuilder); sourcePartnerLinks = this.getPartnerLinks(); TPartnerLinks copyPartnerLinks = ((TPartnerLinks) copyBuilder.copy(sourcePartnerLinks)); copy.setPartnerLinks(copyPartnerLinks); sourceMessageExchanges = this.getMessageExchanges(); TMessageExchanges copyMessageExchanges = ((TMessageExchanges) copyBuilder.copy(sourceMessageExchanges)); copy.setMessageExchanges(copyMessageExchanges); sourceVariables = this.getVariables(); TVariables copyVariables = ((TVariables) copyBuilder.copy(sourceVariables)); copy.setVariables(copyVariables); sourceCorrelationSets = this.getCorrelationSets(); TCorrelationSets copyCorrelationSets = ((TCorrelationSets) copyBuilder.copy(sourceCorrelationSets)); copy.setCorrelationSets(copyCorrelationSets); sourceFaultHandlers = this.getFaultHandlers(); TFaultHandlers copyFaultHandlers = ((TFaultHandlers) copyBuilder.copy(sourceFaultHandlers)); copy.setFaultHandlers(copyFaultHandlers); sourceCompensationHandler = this.getCompensationHandler(); TActivityContainer copyCompensationHandler = ((TActivityContainer) copyBuilder.copy(sourceCompensationHandler)); copy.setCompensationHandler(copyCompensationHandler); sourceTerminationHandler = this.getTerminationHandler(); TActivityContainer copyTerminationHandler = ((TActivityContainer) copyBuilder.copy(sourceTerminationHandler));
if(((TScope)((BPELElementImpl)this.getActivity()).getModel()).getIsolated().equals(TBoolean.YES)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In receive " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the attribute isolated to yes is currently ignored.")); if(((TScope)((BPELElementImpl)this.getActivity()).getModel()).getSuppressJoinFailure() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In scope => [BPEL engine restriction] Sorry, but the suppressJoinFailure attribute is ignored for the moment")); if(((TScope)((BPELElementImpl)this.getActivity()).getModel()).getExitOnStandardFault() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In scope => [BPEL engine restriction] Sorry, but the exitOnStandardFault attribute is ignored for the moment")); if((((TScope)((BPELElementImpl)this.getActivity()).getModel()).getMessageExchanges() != null) && (((TScope)((BPELElementImpl)this.getActivity()).getModel()).getMessageExchanges().getMessageExchange().size() > 0)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In scope => [BPEL engine restriction] Sorry, but the messageExchanges are not supported for the moment")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In scope => [BPEL engine restriction] Sorry, but the messageExchanges are not supported for the moment"))); if( (((TScope)((BPELElementImpl)this.getActivity()).getModel()).getEventHandlers() != null) && ((((TScope)((BPELElementImpl)this.getActivity()).getModel()).getEventHandlers().getOnEvent().size() > 0) || (((TScope)((BPELElementImpl)this.getActivity()).getModel()).getEventHandlers().getOnAlarm().size() > 0))) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In scope => [BPEL engine restriction] Sorry, but the eventHandler are not supported for the moment")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In scope => [BPEL engine restriction] Sorry, but the eventHandler are not supported for the moment")));
if(this.model.getPartnerLinks() != null) { if((this.model.getPartnerLinks().getPartnerLink() != null)&& (this.model.getPartnerLinks().getPartnerLink().size() > 0)) { for(final TPartnerLink partner: this.model.getPartnerLinks().getPartnerLink()) { this.partnerLinks.add(new PartnerLinkImpl(partner, this.model.getPartnerLinks(), this)); this.variables.addAll(ScopeImpl.extractVariablesInModel(this.model.getVariables(), this)); } catch (final BPELException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In scope " + this.getName() + " => " + e.getMessage(), e))); this.correlationsets.addAll(CorrelationSetImpl.extractCorrelationSetsInModel(this.model.getCorrelationSets(), this)); } catch (final BPELException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In scope " + this.getName() + " => " + e.getMessage(), e))); if(this.model.getFaultHandlers() != null) { this.faultHandlers = new FaultHandlersImpl(this.model.getFaultHandlers(), this);
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TScope copy = ((target == null)?((TScope) createCopy()):((TScope) target)); super.copyTo(copy, copyBuilder); sourcePartnerLinks = this.getPartnerLinks(); TPartnerLinks copyPartnerLinks = ((TPartnerLinks) copyBuilder.copy(sourcePartnerLinks)); copy.setPartnerLinks(copyPartnerLinks); sourceMessageExchanges = this.getMessageExchanges(); TMessageExchanges copyMessageExchanges = ((TMessageExchanges) copyBuilder.copy(sourceMessageExchanges)); copy.setMessageExchanges(copyMessageExchanges); sourceVariables = this.getVariables(); TVariables copyVariables = ((TVariables) copyBuilder.copy(sourceVariables)); copy.setVariables(copyVariables); sourceCorrelationSets = this.getCorrelationSets(); TCorrelationSets copyCorrelationSets = ((TCorrelationSets) copyBuilder.copy(sourceCorrelationSets)); copy.setCorrelationSets(copyCorrelationSets); sourceFaultHandlers = this.getFaultHandlers(); TFaultHandlers copyFaultHandlers = ((TFaultHandlers) copyBuilder.copy(sourceFaultHandlers)); copy.setFaultHandlers(copyFaultHandlers); sourceCompensationHandler = this.getCompensationHandler(); TActivityContainer copyCompensationHandler = ((TActivityContainer) copyBuilder.copy(sourceCompensationHandler)); copy.setCompensationHandler(copyCompensationHandler); sourceTerminationHandler = this.getTerminationHandler(); TActivityContainer copyTerminationHandler = ((TActivityContainer) copyBuilder.copy(sourceTerminationHandler));
equalsBuilder.append(this.getPartnerLinks(), that.getPartnerLinks()); equalsBuilder.append(this.getMessageExchanges(), that.getMessageExchanges()); equalsBuilder.append(this.getVariables(), that.getVariables()); equalsBuilder.append(this.getCorrelationSets(), that.getCorrelationSets()); equalsBuilder.append(this.getFaultHandlers(), that.getFaultHandlers()); equalsBuilder.append(this.getCompensationHandler(), that.getCompensationHandler()); equalsBuilder.append(this.getTerminationHandler(), that.getTerminationHandler()); equalsBuilder.append(this.getEventHandlers(), that.getEventHandlers()); equalsBuilder.append(this.getAssign(), that.getAssign()); equalsBuilder.append(this.getCompensate(), that.getCompensate()); equalsBuilder.append(this.getCompensateScope(), that.getCompensateScope()); equalsBuilder.append(this.getEmpty(), that.getEmpty()); equalsBuilder.append(this.getExit(), that.getExit()); equalsBuilder.append(this.getExtensionActivity(), that.getExtensionActivity()); equalsBuilder.append(this.getFlow(), that.getFlow()); equalsBuilder.append(this.getForEach(), that.getForEach()); equalsBuilder.append(this.getIf(), that.getIf()); equalsBuilder.append(this.getInvoke(), that.getInvoke()); equalsBuilder.append(this.getPick(), that.getPick()); equalsBuilder.append(this.getReceive(), that.getReceive()); equalsBuilder.append(this.getRepeatUntil(), that.getRepeatUntil()); equalsBuilder.append(this.getReply(), that.getReply()); equalsBuilder.append(this.getRethrow(), that.getRethrow()); equalsBuilder.append(this.getScope(), that.getScope()); equalsBuilder.append(this.getSequence(), that.getSequence()); equalsBuilder.append(this.getThrow(), that.getThrow()); equalsBuilder.append(this.getValidate(), that.getValidate()); equalsBuilder.append(this.getWait(), that.getWait()); equalsBuilder.append(this.getWhile(), that.getWhile());
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getPartnerLinks()); hashCodeBuilder.append(this.getMessageExchanges()); hashCodeBuilder.append(this.getVariables()); hashCodeBuilder.append(this.getCorrelationSets()); hashCodeBuilder.append(this.getFaultHandlers()); hashCodeBuilder.append(this.getCompensationHandler()); hashCodeBuilder.append(this.getTerminationHandler()); hashCodeBuilder.append(this.getEventHandlers()); hashCodeBuilder.append(this.getAssign()); hashCodeBuilder.append(this.getCompensate()); hashCodeBuilder.append(this.getCompensateScope()); hashCodeBuilder.append(this.getEmpty()); hashCodeBuilder.append(this.getExit()); hashCodeBuilder.append(this.getExtensionActivity()); hashCodeBuilder.append(this.getFlow()); hashCodeBuilder.append(this.getForEach()); hashCodeBuilder.append(this.getIf()); hashCodeBuilder.append(this.getInvoke()); hashCodeBuilder.append(this.getPick()); hashCodeBuilder.append(this.getReceive()); hashCodeBuilder.append(this.getRepeatUntil()); hashCodeBuilder.append(this.getReply()); hashCodeBuilder.append(this.getRethrow()); hashCodeBuilder.append(this.getScope()); hashCodeBuilder.append(this.getSequence()); hashCodeBuilder.append(this.getThrow()); hashCodeBuilder.append(this.getValidate()); hashCodeBuilder.append(this.getWait());
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getPartnerLinks()); hashCodeBuilder.append(this.getMessageExchanges()); hashCodeBuilder.append(this.getVariables()); hashCodeBuilder.append(this.getCorrelationSets()); hashCodeBuilder.append(this.getFaultHandlers()); hashCodeBuilder.append(this.getCompensationHandler()); hashCodeBuilder.append(this.getTerminationHandler()); hashCodeBuilder.append(this.getEventHandlers()); hashCodeBuilder.append(this.getAssign()); hashCodeBuilder.append(this.getCompensate()); hashCodeBuilder.append(this.getCompensateScope()); hashCodeBuilder.append(this.getEmpty()); hashCodeBuilder.append(this.getExit()); hashCodeBuilder.append(this.getExtensionActivity()); hashCodeBuilder.append(this.getFlow()); hashCodeBuilder.append(this.getForEach()); hashCodeBuilder.append(this.getIf()); hashCodeBuilder.append(this.getInvoke()); hashCodeBuilder.append(this.getPick()); hashCodeBuilder.append(this.getReceive()); hashCodeBuilder.append(this.getRepeatUntil()); hashCodeBuilder.append(this.getReply()); hashCodeBuilder.append(this.getRethrow()); hashCodeBuilder.append(this.getScope()); hashCodeBuilder.append(this.getSequence()); hashCodeBuilder.append(this.getThrow()); hashCodeBuilder.append(this.getValidate()); hashCodeBuilder.append(this.getWait());
thePartnerLinks = this.getPartnerLinks(); toStringBuilder.append("partnerLinks", thePartnerLinks); theMessageExchanges = this.getMessageExchanges(); toStringBuilder.append("messageExchanges", theMessageExchanges); theVariables = this.getVariables(); toStringBuilder.append("variables", theVariables); theCorrelationSets = this.getCorrelationSets(); toStringBuilder.append("correlationSets", theCorrelationSets); theFaultHandlers = this.getFaultHandlers(); toStringBuilder.append("faultHandlers", theFaultHandlers); theCompensationHandler = this.getCompensationHandler(); toStringBuilder.append("compensationHandler", theCompensationHandler); theTerminationHandler = this.getTerminationHandler(); toStringBuilder.append("terminationHandler", theTerminationHandler); theEventHandlers = this.getEventHandlers(); toStringBuilder.append("eventHandlers", theEventHandlers); theAssign = this.getAssign(); toStringBuilder.append("assign", theAssign); theCompensate = this.getCompensate(); toStringBuilder.append("compensate", theCompensate);
thePartnerLinks = this.getPartnerLinks(); toStringBuilder.append("partnerLinks", thePartnerLinks); theMessageExchanges = this.getMessageExchanges(); toStringBuilder.append("messageExchanges", theMessageExchanges); theVariables = this.getVariables(); toStringBuilder.append("variables", theVariables); theCorrelationSets = this.getCorrelationSets(); toStringBuilder.append("correlationSets", theCorrelationSets); theFaultHandlers = this.getFaultHandlers(); toStringBuilder.append("faultHandlers", theFaultHandlers); theCompensationHandler = this.getCompensationHandler(); toStringBuilder.append("compensationHandler", theCompensationHandler); theTerminationHandler = this.getTerminationHandler(); toStringBuilder.append("terminationHandler", theTerminationHandler); theEventHandlers = this.getEventHandlers(); toStringBuilder.append("eventHandlers", theEventHandlers); theAssign = this.getAssign(); toStringBuilder.append("assign", theAssign); theCompensate = this.getCompensate(); toStringBuilder.append("compensate", theCompensate);