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()); }
theStartCounterValue = this.getStartCounterValue(); toStringBuilder.append("startCounterValue", theStartCounterValue);
theStartCounterValue = this.getStartCounterValue(); toStringBuilder.append("startCounterValue", theStartCounterValue);
final String startString = this.getContent(((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getStartCounterValue()); if((((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getStartCounterValue() == null) || ((startString != null) && (startString.trim().length() == 0))) { BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.getActivity(), new BPELException("In ForEach => the startCounterValue attribute cannot be null or empty."))); if((((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getStartCounterValue() != null) && ((startString != null) && (startString.trim().length() > 0))) { try { start = Integer.parseInt(this.getContent(((TForEach)((BPELElementImpl)this.getActivity()).getModel()).getStartCounterValue())); } catch (final NumberFormatException e) {
sourceStartCounterValue = this.getStartCounterValue(); TExpression copyStartCounterValue = ((TExpression) copyBuilder.copy(sourceStartCounterValue)); copy.setStartCounterValue(copyStartCounterValue);
sourceStartCounterValue = this.getStartCounterValue(); TExpression copyStartCounterValue = ((TExpression) copyBuilder.copy(sourceStartCounterValue)); copy.setStartCounterValue(copyStartCounterValue);