Changeset 1526 for trunk/grails-app/domain
- Timestamp:
- Feb 16, 2011, 11:12:14 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Assay.groovy
r1457 r1526 74 74 75 75 /** 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 /** 76 93 * Returns the UUID of this sample and generates one if needed 77 94 */
Note: See TracChangeset
for help on using the changeset viewer.