public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getTargets()); hashCodeBuilder.append(this.getSources()); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getSuppressJoinFailure()); }
@SuppressWarnings("unchecked") public ActivityImpl(final QName name, final E model, final BPELElement parent) { super(name, model, parent); if(model != null) { if(this.model.getSources() != null) { this.sources = new SourcesImpl(this.model.getSources(), this); } if(this.model.getTargets() != null) { this.targets = new TargetsImpl(this.model.getTargets(), this); } } }
@SuppressWarnings("unchecked") public AbstractActivityImpl(final QName name, final E model, final BPELElement parent) { super(name, model, parent); if(model != null) { if(this.model.getSources() != null) { this.sources = new SourcesImpl(this.model.getSources(), this); } if(this.model.getTargets() != null) { this.targets = new TargetsImpl(this.model.getTargets(), this); } } }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); hashCodeBuilder.append(this.getTargets()); hashCodeBuilder.append(this.getSources()); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getSuppressJoinFailure()); }
@SuppressWarnings("unchecked") public AbstractActivityImpl(final QName name, final E model, final BPELElement parent) { super(name, model, parent); if(model != null) { if(this.model.getSources() != null) { this.sources = new SourcesImpl(this.model.getSources(), this); } if(this.model.getTargets() != null) { this.targets = new TargetsImpl(this.model.getTargets(), this); } } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TActivity)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TActivity that = ((TActivity) object); equalsBuilder.append(this.getTargets(), that.getTargets()); equalsBuilder.append(this.getSources(), that.getSources()); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getSuppressJoinFailure(), that.getSuppressJoinFailure()); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { TTargets theTargets; theTargets = this.getTargets(); toStringBuilder.append("targets", theTargets); } { TSources theSources; theSources = this.getSources(); toStringBuilder.append("sources", theSources); } { String theName; theName = this.getName(); toStringBuilder.append("name", theName); } { TBoolean theSuppressJoinFailure; theSuppressJoinFailure = this.getSuppressJoinFailure(); toStringBuilder.append("suppressJoinFailure", theSuppressJoinFailure); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TActivity)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TActivity that = ((TActivity) object); equalsBuilder.append(this.getTargets(), that.getTargets()); equalsBuilder.append(this.getSources(), that.getSources()); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getSuppressJoinFailure(), that.getSuppressJoinFailure()); }
public void toString(ToStringBuilder toStringBuilder) { super.toString(toStringBuilder); { TTargets theTargets; theTargets = this.getTargets(); toStringBuilder.append("targets", theTargets); } { TSources theSources; theSources = this.getSources(); toStringBuilder.append("sources", theSources); } { String theName; theName = this.getName(); toStringBuilder.append("name", theName); } { TBoolean theSuppressJoinFailure; theSuppressJoinFailure = this.getSuppressJoinFailure(); toStringBuilder.append("suppressJoinFailure", theSuppressJoinFailure); } }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TActivity copy = ((target == null)?((TActivity) createCopy()):((TActivity) target)); super.copyTo(copy, copyBuilder); { TTargets sourceTargets; sourceTargets = this.getTargets(); TTargets copyTargets = ((TTargets) copyBuilder.copy(sourceTargets)); copy.setTargets(copyTargets); } { TSources sourceSources; sourceSources = this.getSources(); TSources copySources = ((TSources) copyBuilder.copy(sourceSources)); copy.setSources(copySources); } { String sourceName; sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); } { TBoolean sourceSuppressJoinFailure; sourceSuppressJoinFailure = this.getSuppressJoinFailure(); TBoolean copySuppressJoinFailure = ((TBoolean) copyBuilder.copy(sourceSuppressJoinFailure)); copy.setSuppressJoinFailure(copySuppressJoinFailure); } return copy; }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TActivity copy = ((target == null)?((TActivity) createCopy()):((TActivity) target)); super.copyTo(copy, copyBuilder); { TTargets sourceTargets; sourceTargets = this.getTargets(); TTargets copyTargets = ((TTargets) copyBuilder.copy(sourceTargets)); copy.setTargets(copyTargets); } { TSources sourceSources; sourceSources = this.getSources(); TSources copySources = ((TSources) copyBuilder.copy(sourceSources)); copy.setSources(copySources); } { String sourceName; sourceName = this.getName(); String copyName = ((String) copyBuilder.copy(sourceName)); copy.setName(copyName); } { TBoolean sourceSuppressJoinFailure; sourceSuppressJoinFailure = this.getSuppressJoinFailure(); TBoolean copySuppressJoinFailure = ((TBoolean) copyBuilder.copy(sourceSuppressJoinFailure)); copy.setSuppressJoinFailure(copySuppressJoinFailure); } return copy; }
public void validate() { // validation if(((TActivity)((BPELElementImpl)this.activity).getModel()).getSources() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.activity, "[BPEL engine restriction] Sorry, but \"sources\" elements are not supported for the moment")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.activity, new BPELException("[BPEL engine restriction] Sorry, but \"sources\" elements are not supported for the moment"))); } if(((TActivity)((BPELElementImpl)this.activity).getModel()).getTargets() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.activity, "[BPEL engine restriction] Sorry, but \"targets\" elements are not supported for the moment")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.activity, new BPELException("[BPEL engine restriction] Sorry, but \"sources\" elements are not supported for the moment"))); } if(((TActivity)((BPELElementImpl)this.activity).getModel()).getSuppressJoinFailure() != null) { BPELStaticAnalysisImpl.getInstance().addInfo(new BPELInfoImpl(this.activity, "[BPEL engine restriction] Sorry, but the suppressJoinFailure attribute is ignored for the moment")); BPELStaticAnalysisImpl.getInstance().addError(new BPELErrorImpl(this.activity, new BPELException("[BPEL engine restriction] Sorry, but \"sources\" elements are not supported for the moment"))); } }