@Override public int hashCode() { int result = 1; result = (31 * result) + ((relatedRepo == null) ? 0 : relatedRepo.hashCode()); result = (31 * result) + ((repoRelationshipType == null) ? 0 : repoRelationshipType.hashCode()); return result; }
@Override public String toString() { return "RepoRelationship: id=[" + this.id + "]" + "related repo=[" + this.relatedRepo.getName() + "]" + "relation=[" + this.getRepoRelationshipType().getName() + "]"; }