Ignore:
Timestamp:
Mar 27, 2012, 2:38:46 PM (11 years ago)
Author:
work@…
Message:
  • adding initial version of the API controller (which external applications can use to interface with gscf)
File:
1 edited

Legend:

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

    r2147 r2181  
    121121
    122122        def String toString() {
    123                 return fieldExists('Description') ? getFieldValue('Description') : ""
     123                return fieldExists('Description') ?
     124               getFieldValue('Description') :
     125                "start: " + getStartTimeString() + ", duration: " + getRoundedDuration()
    124126        }
    125127}
Note: See TracChangeset for help on using the changeset viewer.