Changeset 536 for trunk/grails-app/domain/dbnp/studycapturing/Event.groovy
- Timestamp:
- Jun 7, 2010, 9:20:00 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/dbnp/studycapturing/Event.groovy
r506 r536 84 84 } 85 85 86 def belongsToGroup( Set<EventGroup> groups ){ 87 def eventFound = false; 88 def that = this; 89 groups.each{ eventgroup -> 90 if( !eventFound ) { 91 eventFound = ( that.id in eventgroup.events.id ); 92 } 93 } 94 95 return eventFound; 96 } 97 86 98 def String toString() { 87 99 return fieldExists('Description') ? getFieldValue('Description') : ""
Note: See TracChangeset
for help on using the changeset viewer.