Ignore:
Timestamp:
Feb 16, 2011, 11:12:14 AM (11 years ago)
Author:
robert@…
Message:

Added assay search and improved query form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/dbnp/studycapturing/Assay.groovy

    r1457 r1526  
    7474       
    7575        /**
     76         * Basic equals method to check whether objects are equals, by comparing the ids
     77         * @param o             Object to compare with
     78         * @return              True iff the id of the given Study is equal to the id of this Study
     79         */
     80        public boolean equals( Object o ) {
     81                if( o == null )
     82                        return false;
     83
     84                if( !( o instanceof Assay ) )
     85                        return false
     86
     87                Assay s = (Assay) o;
     88
     89                return this.id == s.id
     90        }
     91       
     92        /**
    7693         * Returns the UUID of this sample and generates one if needed
    7794         */
Note: See TracChangeset for help on using the changeset viewer.