@Override public boolean equals( Object o ) { if ( this == o ) return true; if ( o == null || getClass() != o.getClass() ) return false; if ( !super.equals( o ) ) return false; ExperimentalRole that = ( ExperimentalRole ) o; if ( experimentRefs != null ? !experimentRefs.equals( that.experimentRefs ) : that.experimentRefs != null ) return false; if ( experiments != null ? !experiments.equals( that.experiments ) : that.experiments != null ) return false; return true; }
@Override public boolean equals( Object o ) { if ( this == o ) return true; if ( o == null || getClass() != o.getClass() ) return false; if ( !super.equals( o ) ) return false; ExperimentalPreparation that = ( ExperimentalPreparation ) o; if ( experimentRefs != null ? !experimentRefs.equals( that.experimentRefs ) : that.experimentRefs != null ) return false; if ( experiments != null ? !experiments.equals( that.experiments ) : that.experiments != null ) return false; return true; }