public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getEffect()); 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 WasDerivedFrom)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final WasDerivedFrom that = ((WasDerivedFrom) object); equalsBuilder.append(this.getEffect(), that.getEffect()); 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()); }
theTime = this.getTime(); toStringBuilder.append("time", theTime);