public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCondition()); 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()); hashCodeBuilder.append(this.getWhile()); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getCondition()); 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()); hashCodeBuilder.append(this.getWhile()); }
public WhileImpl(final TWhile model, final BPELElement parent) { super(Constants._While_QNAME, model, parent); if(this.model.getCondition() != null) { try { this.condition = new BPELBooleanExpressionImpl(this.model.getCondition(), parent); } catch (XPathExpressionException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException(e))); } if((this.model.getCondition().getContent() != null)&& (this.model.getCondition().getContent().size() > 0)) { this.condition.setContent((String)this.model.getCondition().getContent().get(0)); } } try { this.activity = ActivityImpl.analyzeWhileActivity(this.model, this); } catch (final BPELException e) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this, new BPELException("In while " + this.getName() + " => " + e.getMessage(), e))); } }
theCondition = this.getCondition(); toStringBuilder.append("condition", theCondition);
theCondition = this.getCondition(); toStringBuilder.append("condition", theCondition);
equalsBuilder.append(this.getCondition(), that.getCondition()); equalsBuilder.append(this.getAssign(), that.getAssign()); equalsBuilder.append(this.getCompensate(), that.getCompensate());
equalsBuilder.append(this.getCondition(), that.getCondition()); equalsBuilder.append(this.getAssign(), that.getAssign()); equalsBuilder.append(this.getCompensate(), that.getCompensate());
@Override public void validate() { // validation if(((TWhile)((BPELElementImpl)this.getActivity()).getModel()).getCondition() == null) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In While => conditon of if cannot be null"))); } }
sourceCondition = this.getCondition(); TBooleanExpr copyCondition = ((TBooleanExpr) copyBuilder.copy(sourceCondition)); copy.setCondition(copyCondition);
sourceCondition = this.getCondition(); TBooleanExpr copyCondition = ((TBooleanExpr) copyBuilder.copy(sourceCondition)); copy.setCondition(copyCondition);