public boolean equals( Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } MineInteractionPk that = ( MineInteractionPk ) o; if ( protein1 != null ? !protein1.equals( that.protein1 ) : that.protein1 != null ) { return false; } if ( protein2 != null ? !protein2.equals( that.protein2 ) : that.protein2 != null ) { return false; } if ( interaction != null && that.getInteraction() != null ) { if ( interaction.getAc() == null && that.getInteraction().getAc() != null ) { if ( !interaction.getAc().equals( that.getInteraction().getAc() ) ) { return false; } } } if ( interaction != null ? !interaction.equals( that.interaction ) : that.interaction != null ) { return false; } return true; }
public boolean equals( Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } MineInteractionPk that = ( MineInteractionPk ) o; if ( protein1 != null ? !protein1.equals( that.protein1 ) : that.protein1 != null ) { return false; } if ( protein2 != null ? !protein2.equals( that.protein2 ) : that.protein2 != null ) { return false; } if ( interaction != null && that.getInteraction() != null ) { if ( interaction.getAc() == null && that.getInteraction().getAc() != null ) { if ( !interaction.getAc().equals( that.getInteraction().getAc() ) ) { return false; } } } if ( interaction != null ? !interaction.equals( that.interaction ) : that.interaction != null ) { return false; } return true; }
public boolean equals( Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } MineInteractionPk that = ( MineInteractionPk ) o; if ( protein1 != null ? !protein1.equals( that.protein1 ) : that.protein1 != null ) { return false; } if ( protein2 != null ? !protein2.equals( that.protein2 ) : that.protein2 != null ) { return false; } if ( interaction != null && that.getInteraction() != null ) { if ( interaction.getAc() == null && that.getInteraction().getAc() != null ) { if ( !interaction.getAc().equals( that.getInteraction().getAc() ) ) { return false; } } } if ( interaction != null ? !interaction.equals( that.interaction ) : that.interaction != null ) { return false; } return true; }