@Override public int hashCode() { return 29 * super.hashCode(); } }
@Override public int hashCode() { return 29 * super.hashCode(); } }
@Override public int hashCode() { int result = super.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( interactorType != null ? interactorType.hashCode() : 0 ); // next line is commented because is making hibernate (cglib) fail from time to time //result = 29 * result + ( activeInstances != null ? activeInstances.size() : 0 ); return result; }
@Override public int hashCode() { int result = super.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( interactorType != null ? interactorType.hashCode() : 0 ); // next line is commented because is making hibernate (cglib) fail from time to time //result = 29 * result + ( activeInstances != null ? activeInstances.size() : 0 ); return result; }
@Override public int hashCode() { int result = super.hashCode(); // result = 29 * result + bioSource.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( publication != null ? publication.hashCode() : 0 ); result = 29 * result + ( cvIdentification != null ? cvIdentification.hashCode() : 0 ); result = 29 * result + ( cvInteraction != null ? cvInteraction.hashCode() : 0 ); return result; }
@Override public int hashCode() { int result = super.hashCode(); // result = 29 * result + bioSource.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( publication != null ? publication.hashCode() : 0 ); result = 29 * result + ( cvIdentification != null ? cvIdentification.hashCode() : 0 ); result = 29 * result + ( cvInteraction != null ? cvInteraction.hashCode() : 0 ); return result; }