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; }
/** * Create an instance of {@link TActivity } * */ public TActivity createTActivity() { return new TActivity(); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final TRethrow copy = ((target == null)?((TRethrow) createCopy()):((TRethrow) target)); super.copyTo(copy, copyBuilder); return copy; }
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 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"))); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TEmpty)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TEmpty that = ((TEmpty) object); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { super.hashCode(hashCodeBuilder); }
public String getName() { return this.model.getName(); }
public boolean getSuppressJoinFailure() { return Boolean.valueOf(this.model.getSuppressJoinFailure().value); }
@Override public Map<QName, String> getOtherAttributes() throws XmlException { return this.model.getOtherAttributes(); }
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 TExit)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } super.equals(object, equalsBuilder); final TExit that = ((TExit) object); }
public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); }
public String getName() { return this.model.getName(); }
public boolean getSuppressJoinFailure() { return Boolean.valueOf(this.model.getSuppressJoinFailure().value); }
@Override public Map<QName, String> getOtherAttributes() throws XmlException { return this.model.getOtherAttributes(); }
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 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()); }