public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getEffect()); hashCodeBuilder.append(this.getRole()); hashCodeBuilder.append(this.getCause()); hashCodeBuilder.append(this.getAccount()); hashCodeBuilder.append(this.getTime()); hashCodeBuilder.append(this.getAnnotation()); hashCodeBuilder.append(this.getId()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Used)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Used that = ((Used) object); equalsBuilder.append(this.getEffect(), that.getEffect()); equalsBuilder.append(this.getRole(), that.getRole()); equalsBuilder.append(this.getCause(), that.getCause()); equalsBuilder.append(this.getAccount(), that.getAccount()); equalsBuilder.append(this.getTime(), that.getTime()); equalsBuilder.append(this.getAnnotation(), that.getAnnotation()); equalsBuilder.append(this.getId(), that.getId()); }
theAccount = this.getAccount(); toStringBuilder.append("account", theAccount);
List<AccountRef> accountIDs = dep.getAccount(); ProcessRef procID = dep.getEffect(); ArtifactRef artId = dep.getCause();
public Used newUsed(Used u) { Used u1=newUsed(u.getId(), u.getEffect(), u.getRole(), u.getCause(), u.getAccount()); u1.getAnnotation().addAll(u.getAnnotation()); return u1; }
Artifact a=(Artifact)(aid.getRef()); Role r=used.getRole(); Collection<AccountRef> accs=used.getAccount(); && r.equals(u.getRole())) { addNewAccounts(u.getAccount(),accs); result=u; found=true;
public Used newUsed(Used d) { Used u=newUsed(d.getId(), newProcessRef(processRegister2.get(((Process)d.getEffect().getRef()).getId())), newRole(d.getRole()), newArtifactRef(artifactRegister2.get(((Artifact)d.getCause().getRef()).getId())), newAccounts(d.getAccount())); u.getAnnotation().addAll(d.getAnnotation()); if (d.getTime()!=null) u.setTime(newOTime(d.getTime())); return u; } public WasGeneratedBy newWasGeneratedBy(WasGeneratedBy d) {