public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getStartCounterValue()); hashCodeBuilder.append(this.getFinalCounterValue()); hashCodeBuilder.append(this.getCompletionCondition()); hashCodeBuilder.append(this.getScope()); hashCodeBuilder.append(this.getCounterName()); hashCodeBuilder.append(this.getParallel()); }
public ForEachImpl(final TForEach model, final BPELElement parent) { super(Constants._ForEach_QNAME, model, parent); if(this.model.getScope() != null) { this.scope = new ScopeImpl(this.model.getScope(), this); } if(this.model.getStartCounterValue() != null) { this.startCounterValue = new BPELUnsignedIntegerExpressionImpl(new QName(Constants.BPEL_20_EXECUTABLE_NAMESPACE, "startCounterValue", "bpws"), this.model.getStartCounterValue(), this); } if(this.model.getFinalCounterValue() != null) { this.finalCounterValue = new BPELUnsignedIntegerExpressionImpl(new QName(Constants.BPEL_20_EXECUTABLE_NAMESPACE, "finalCounterValue", "bpws"), this.model.getFinalCounterValue(), this); } }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getStartCounterValue()); hashCodeBuilder.append(this.getFinalCounterValue()); hashCodeBuilder.append(this.getCompletionCondition()); hashCodeBuilder.append(this.getScope()); hashCodeBuilder.append(this.getCounterName()); hashCodeBuilder.append(this.getParallel()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TForEach)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TForEach that = ((TForEach) object); equalsBuilder.append(this.getStartCounterValue(), that.getStartCounterValue()); equalsBuilder.append(this.getFinalCounterValue(), that.getFinalCounterValue()); equalsBuilder.append(this.getCompletionCondition(), that.getCompletionCondition()); equalsBuilder.append(this.getScope(), that.getScope()); equalsBuilder.append(this.getCounterName(), that.getCounterName()); equalsBuilder.append(this.getParallel(), that.getParallel()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TForEach)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TForEach that = ((TForEach) object); equalsBuilder.append(this.getStartCounterValue(), that.getStartCounterValue()); equalsBuilder.append(this.getFinalCounterValue(), that.getFinalCounterValue()); equalsBuilder.append(this.getCompletionCondition(), that.getCompletionCondition()); equalsBuilder.append(this.getScope(), that.getScope()); equalsBuilder.append(this.getCounterName(), that.getCounterName()); equalsBuilder.append(this.getParallel(), that.getParallel()); }
theFinalCounterValue = this.getFinalCounterValue(); toStringBuilder.append("finalCounterValue", theFinalCounterValue);
theFinalCounterValue = this.getFinalCounterValue(); toStringBuilder.append("finalCounterValue", theFinalCounterValue);
BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In ForEach => the startCounterValue attribute cannot be null or empty."))); final String endString = this.getContent(((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getFinalCounterValue()); if((((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getFinalCounterValue() == null) || ((endString != null) && (endString.trim().length() == 0))) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In ForEach => the finalCounterValue attribute cannot be null or empty."))); if((((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getFinalCounterValue() != null) && ((endString != null) && (endString.trim().length() > 0))) { try { end = Integer.parseInt(this.getContent(((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getFinalCounterValue())); } catch (final NumberFormatException e) {
sourceFinalCounterValue = this.getFinalCounterValue(); TExpression copyFinalCounterValue = ((TExpression) copyBuilder.copy(sourceFinalCounterValue)); copy.setFinalCounterValue(copyFinalCounterValue);
sourceFinalCounterValue = this.getFinalCounterValue(); TExpression copyFinalCounterValue = ((TExpression) copyBuilder.copy(sourceFinalCounterValue)); copy.setFinalCounterValue(copyFinalCounterValue);