public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCorrelations()); hashCodeBuilder.append(this.getCatch()); hashCodeBuilder.append(this.getCatchAll()); hashCodeBuilder.append(this.getCompensationHandler()); hashCodeBuilder.append(this.getToParts()); hashCodeBuilder.append(this.getFromParts()); hashCodeBuilder.append(this.getPartnerLink()); hashCodeBuilder.append(this.getPortType()); hashCodeBuilder.append(this.getOperation()); hashCodeBuilder.append(this.getInputVariable()); hashCodeBuilder.append(this.getOutputVariable()); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TInvoke copy = ((target == null)?((TInvoke) createCopy()):((TInvoke) target)); super.copyTo(copy, copyBuilder); sourceCorrelations = this.getCorrelations(); TCorrelationsWithPattern copyCorrelations = ((TCorrelationsWithPattern) copyBuilder.copy(sourceCorrelations)); copy.setCorrelations(copyCorrelations); sourceCatch = this.getCatch(); List<TCatch> copyCatch = ((List<TCatch> ) copyBuilder.copy(sourceCatch)); copy._catch = null; List<TCatch> uniqueCatchl = copy.getCatch(); uniqueCatchl.addAll(copyCatch); sourceCatchAll = this.getCatchAll(); TActivityContainer copyCatchAll = ((TActivityContainer) copyBuilder.copy(sourceCatchAll)); copy.setCatchAll(copyCatchAll); sourceCompensationHandler = this.getCompensationHandler(); TActivityContainer copyCompensationHandler = ((TActivityContainer) copyBuilder.copy(sourceCompensationHandler)); copy.setCompensationHandler(copyCompensationHandler); sourceToParts = this.getToParts(); TToParts copyToParts = ((TToParts) copyBuilder.copy(sourceToParts)); copy.setToParts(copyToParts); sourceFromParts = this.getFromParts(); TFromParts copyFromParts = ((TFromParts) copyBuilder.copy(sourceFromParts)); copy.setFromParts(copyFromParts);
public InvokeImpl(final TInvoke model, final BPELElement parent) { super(Constants._Invoke_QNAME, model, parent); if(this.getInterface() != null) { if((this.getInterface().getNamespaceURI() == null) || this.getInterface().getNamespaceURI().equals("")) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In invoke " + this.getName() + ": this interface \"" + this.getInterface() + "\" is not associated to a namespace "))); } } // get all correlations if(this.model.getCorrelations() != null) { for(final TCorrelation corr: this.model.getCorrelations().getCorrelation()) { this.correlations.add(new CorrelationImpl(corr, this.model.getCorrelations(), this)); } } // get all catchs if(this.model.getCatch() != null) { for(final TCatch catch_: this.model.getCatch()) { this.catchs.add(new CatchImpl(catch_, this)); } } // get catchAll if(this.model.getCatchAll() != null) { this.catchAll = new CatchAllImpl(this.model.getCatchAll(), this); } }
try { if((((TInvoke)((BPELElementImpl)this.getActivity()).getModel()).getFromParts() != null) && (((TInvoke)((BPELElementImpl)this.getActivity()).getModel()).getFromParts().getFromPart().size() > 0)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the fromPart activity is not supported by BPEL engine for the moment. Use assign element after this invoke instead")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the fromPart activity is not supported by BPEL engine for the moment. Use assign element after this invoke instead"))); if((((TInvoke)((BPELElementImpl)this.getActivity()).getModel()).getToParts() != null) && (((TInvoke)((BPELElementImpl)this.getActivity()).getModel()).getToParts().getToPart().size() > 0)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the topart activity is not supported by BPEL engine for the moment. Use assign element before this invoke instead")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but the topart activity is not supported by BPEL engine for the moment. Use assign element before this invoke instead"))); if(((TInvoke)((BPELElementImpl)this.getActivity()).getModel()).getCompensationHandler() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but compensationHandler is not supported by BPEL engine for the moment.")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In invoke " + this.getActivity().getName() + " => [BPEL engine restriction] Sorry, but compensationHandler is not supported by BPEL engine for the moment.")));
public String getPartnerLink() { return this.model.getPartnerLink(); }
public String getOperation() { return this.model.getOperation(); }
public String getInputVariable() { return this.model.getInputVariable(); }
public String getOutputVariable() { return this.model.getOutputVariable(); }
public QName getInterface() { return this.model.getPortType(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TInvoke copy = ((target == null)?((TInvoke) createCopy()):((TInvoke) target)); super.copyTo(copy, copyBuilder); sourceCorrelations = this.getCorrelations(); TCorrelationsWithPattern copyCorrelations = ((TCorrelationsWithPattern) copyBuilder.copy(sourceCorrelations)); copy.setCorrelations(copyCorrelations); sourceCatch = this.getCatch(); List<TCatch> copyCatch = ((List<TCatch> ) copyBuilder.copy(sourceCatch)); copy._catch = null; List<TCatch> uniqueCatchl = copy.getCatch(); uniqueCatchl.addAll(copyCatch); sourceCatchAll = this.getCatchAll(); TActivityContainer copyCatchAll = ((TActivityContainer) copyBuilder.copy(sourceCatchAll)); copy.setCatchAll(copyCatchAll); sourceCompensationHandler = this.getCompensationHandler(); TActivityContainer copyCompensationHandler = ((TActivityContainer) copyBuilder.copy(sourceCompensationHandler)); copy.setCompensationHandler(copyCompensationHandler); sourceToParts = this.getToParts(); TToParts copyToParts = ((TToParts) copyBuilder.copy(sourceToParts)); copy.setToParts(copyToParts); sourceFromParts = this.getFromParts(); TFromParts copyFromParts = ((TFromParts) copyBuilder.copy(sourceFromParts)); copy.setFromParts(copyFromParts);
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCorrelations()); hashCodeBuilder.append(this.getCatch()); hashCodeBuilder.append(this.getCatchAll()); hashCodeBuilder.append(this.getCompensationHandler()); hashCodeBuilder.append(this.getToParts()); hashCodeBuilder.append(this.getFromParts()); hashCodeBuilder.append(this.getPartnerLink()); hashCodeBuilder.append(this.getPortType()); hashCodeBuilder.append(this.getOperation()); hashCodeBuilder.append(this.getInputVariable()); hashCodeBuilder.append(this.getOutputVariable()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TInvoke)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TInvoke that = ((TInvoke) object); equalsBuilder.append(this.getCorrelations(), that.getCorrelations()); equalsBuilder.append(this.getCatch(), that.getCatch()); equalsBuilder.append(this.getCatchAll(), that.getCatchAll()); equalsBuilder.append(this.getCompensationHandler(), that.getCompensationHandler()); equalsBuilder.append(this.getToParts(), that.getToParts()); equalsBuilder.append(this.getFromParts(), that.getFromParts()); equalsBuilder.append(this.getPartnerLink(), that.getPartnerLink()); equalsBuilder.append(this.getPortType(), that.getPortType()); equalsBuilder.append(this.getOperation(), that.getOperation()); equalsBuilder.append(this.getInputVariable(), that.getInputVariable()); equalsBuilder.append(this.getOutputVariable(), that.getOutputVariable()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TInvoke)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TInvoke that = ((TInvoke) object); equalsBuilder.append(this.getCorrelations(), that.getCorrelations()); equalsBuilder.append(this.getCatch(), that.getCatch()); equalsBuilder.append(this.getCatchAll(), that.getCatchAll()); equalsBuilder.append(this.getCompensationHandler(), that.getCompensationHandler()); equalsBuilder.append(this.getToParts(), that.getToParts()); equalsBuilder.append(this.getFromParts(), that.getFromParts()); equalsBuilder.append(this.getPartnerLink(), that.getPartnerLink()); equalsBuilder.append(this.getPortType(), that.getPortType()); equalsBuilder.append(this.getOperation(), that.getOperation()); equalsBuilder.append(this.getInputVariable(), that.getInputVariable()); equalsBuilder.append(this.getOutputVariable(), that.getOutputVariable()); }
theCorrelations = this.getCorrelations(); toStringBuilder.append("correlations", theCorrelations); theCatch = this.getCatch(); toStringBuilder.append("_catch", theCatch); theCatchAll = this.getCatchAll(); toStringBuilder.append("catchAll", theCatchAll); theCompensationHandler = this.getCompensationHandler(); toStringBuilder.append("compensationHandler", theCompensationHandler); theToParts = this.getToParts(); toStringBuilder.append("toParts", theToParts); theFromParts = this.getFromParts(); toStringBuilder.append("fromParts", theFromParts); thePartnerLink = this.getPartnerLink(); toStringBuilder.append("partnerLink", thePartnerLink); thePortType = this.getPortType(); toStringBuilder.append("portType", thePortType); theOperation = this.getOperation(); toStringBuilder.append("operation", theOperation); theInputVariable = this.getInputVariable(); toStringBuilder.append("inputVariable", theInputVariable);
theCorrelations = this.getCorrelations(); toStringBuilder.append("correlations", theCorrelations); theCatch = this.getCatch(); toStringBuilder.append("_catch", theCatch); theCatchAll = this.getCatchAll(); toStringBuilder.append("catchAll", theCatchAll); theCompensationHandler = this.getCompensationHandler(); toStringBuilder.append("compensationHandler", theCompensationHandler); theToParts = this.getToParts(); toStringBuilder.append("toParts", theToParts); theFromParts = this.getFromParts(); toStringBuilder.append("fromParts", theFromParts); thePartnerLink = this.getPartnerLink(); toStringBuilder.append("partnerLink", thePartnerLink); thePortType = this.getPortType(); toStringBuilder.append("portType", thePortType); theOperation = this.getOperation(); toStringBuilder.append("operation", theOperation); theInputVariable = this.getInputVariable(); toStringBuilder.append("inputVariable", theInputVariable);