/** * Create an instance of {@link TReply } * */ public TReply createTReply() { return new TReply(); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCorrelations()); hashCodeBuilder.append(this.getToParts()); hashCodeBuilder.append(this.getPartnerLink()); hashCodeBuilder.append(this.getPortType()); hashCodeBuilder.append(this.getOperation()); hashCodeBuilder.append(this.getVariable()); hashCodeBuilder.append(this.getFaultName()); hashCodeBuilder.append(this.getMessageExchange()); }
public void setOperation(String operation) { this.model.setOperation(operation); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TReply copy = ((target == null)?((TReply) createCopy()):((TReply) target)); super.copyTo(copy, copyBuilder); sourceCorrelations = this.getCorrelations(); TCorrelations copyCorrelations = ((TCorrelations) copyBuilder.copy(sourceCorrelations)); copy.setCorrelations(copyCorrelations); sourceToParts = this.getToParts(); TToParts copyToParts = ((TToParts) copyBuilder.copy(sourceToParts)); copy.setToParts(copyToParts); sourcePartnerLink = this.getPartnerLink(); String copyPartnerLink = ((String) copyBuilder.copy(sourcePartnerLink)); copy.setPartnerLink(copyPartnerLink); sourcePortType = this.getPortType(); QName copyPortType = ((QName) copyBuilder.copy(sourcePortType)); copy.setPortType(copyPortType); sourceOperation = this.getOperation(); String copyOperation = ((String) copyBuilder.copy(sourceOperation)); copy.setOperation(copyOperation); sourceVariable = this.getVariable(); String copyVariable = ((String) copyBuilder.copy(sourceVariable)); copy.setVariable(copyVariable); sourceFaultName = this.getFaultName(); QName copyFaultName = ((QName) copyBuilder.copy(sourceFaultName));
try { if((((TReply)((BPELElementImpl)this.getActivity()).getModel()).getToParts() != null) && (((TReply)((BPELElementImpl)this.getActivity()).getModel()).getToParts().getToPart().size() > 0)) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead"))); if(((TReply)((BPELElementImpl)this.getActivity()).getModel()).getMessageExchange() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.getActivity(), "In receive " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the messageExchange attribute is not supported by BPEL engine for the moment.")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In reply " + this.getActivity().getName() + " => [BPEL engine Restriction] Sorry, but the activity topart is not supported by BPEL engine for the moment. Use assign element before this reply instead")));
public void setPartnerLink(String partnerlink) { this.model.setPartnerLink(partnerlink); }
public String getPartnerLink() { return this.model.getPartnerLink(); }
public QName getInterface() { return this.model.getPortType(); }
public String getOperation() { return this.model.getOperation(); }
public String getOutputVariable() { return this.model.getVariable(); }
public ReplyImpl(final TReply model, final BPELElement parent) { super(Constants._Reply_QNAME, model, parent); if(this.model.getCorrelations() != null) { for(final TCorrelation corr: this.model.getCorrelations().getCorrelation()) { this.correlations.add(new CorrelationImpl(corr, this.model.getCorrelations(), this)); } } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TReply copy = ((target == null)?((TReply) createCopy()):((TReply) target)); super.copyTo(copy, copyBuilder); sourceCorrelations = this.getCorrelations(); TCorrelations copyCorrelations = ((TCorrelations) copyBuilder.copy(sourceCorrelations)); copy.setCorrelations(copyCorrelations); sourceToParts = this.getToParts(); TToParts copyToParts = ((TToParts) copyBuilder.copy(sourceToParts)); copy.setToParts(copyToParts); sourcePartnerLink = this.getPartnerLink(); String copyPartnerLink = ((String) copyBuilder.copy(sourcePartnerLink)); copy.setPartnerLink(copyPartnerLink); sourcePortType = this.getPortType(); QName copyPortType = ((QName) copyBuilder.copy(sourcePortType)); copy.setPortType(copyPortType); sourceOperation = this.getOperation(); String copyOperation = ((String) copyBuilder.copy(sourceOperation)); copy.setOperation(copyOperation); sourceVariable = this.getVariable(); String copyVariable = ((String) copyBuilder.copy(sourceVariable)); copy.setVariable(copyVariable); sourceFaultName = this.getFaultName(); QName copyFaultName = ((QName) copyBuilder.copy(sourceFaultName));
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCorrelations()); hashCodeBuilder.append(this.getToParts()); hashCodeBuilder.append(this.getPartnerLink()); hashCodeBuilder.append(this.getPortType()); hashCodeBuilder.append(this.getOperation()); hashCodeBuilder.append(this.getVariable()); hashCodeBuilder.append(this.getFaultName()); hashCodeBuilder.append(this.getMessageExchange()); }
/** * Create an instance of {@link TReply } * */ public TReply createTReply() { return new TReply(); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TReply)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TReply that = ((TReply) object); equalsBuilder.append(this.getCorrelations(), that.getCorrelations()); equalsBuilder.append(this.getToParts(), that.getToParts()); equalsBuilder.append(this.getPartnerLink(), that.getPartnerLink()); equalsBuilder.append(this.getPortType(), that.getPortType()); equalsBuilder.append(this.getOperation(), that.getOperation()); equalsBuilder.append(this.getVariable(), that.getVariable()); equalsBuilder.append(this.getFaultName(), that.getFaultName()); equalsBuilder.append(this.getMessageExchange(), that.getMessageExchange()); }
public Object createCopy() { return new TReply(); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TReply)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TReply that = ((TReply) object); equalsBuilder.append(this.getCorrelations(), that.getCorrelations()); equalsBuilder.append(this.getToParts(), that.getToParts()); equalsBuilder.append(this.getPartnerLink(), that.getPartnerLink()); equalsBuilder.append(this.getPortType(), that.getPortType()); equalsBuilder.append(this.getOperation(), that.getOperation()); equalsBuilder.append(this.getVariable(), that.getVariable()); equalsBuilder.append(this.getFaultName(), that.getFaultName()); equalsBuilder.append(this.getMessageExchange(), that.getMessageExchange()); }
public Object createCopy() { return new TReply(); }
theCorrelations = this.getCorrelations(); toStringBuilder.append("correlations", theCorrelations); theToParts = this.getToParts(); toStringBuilder.append("toParts", theToParts); thePartnerLink = this.getPartnerLink(); toStringBuilder.append("partnerLink", thePartnerLink); thePortType = this.getPortType(); toStringBuilder.append("portType", thePortType); theOperation = this.getOperation(); toStringBuilder.append("operation", theOperation); theVariable = this.getVariable(); toStringBuilder.append("variable", theVariable); theFaultName = this.getFaultName(); toStringBuilder.append("faultName", theFaultName); theMessageExchange = this.getMessageExchange(); toStringBuilder.append("messageExchange", theMessageExchange);
Reply reply = new ReplyImpl(new TReply(), om); reply.setInterface(currentInterface.getQName()); reply.setName("ReplyFor"+om.getOperation());