Revision 7839
Added by ben leinfelder almost 11 years ago
IndexEventDAO.java | ||
---|---|---|
118 | 118 |
|
119 | 119 |
event = new IndexEvent(); |
120 | 120 |
event.setIdentifier(identifier); |
121 |
event.setAction(Event.valueOf(action));
|
|
121 |
event.setAction(Event.convert(action));
|
|
122 | 122 |
event.setDate(timestamp); |
123 | 123 |
event.setDescription(description); |
124 | 124 |
} |
Also available in: Unified diff
add simple test for the IndexEventDAO class -- adding, removing, listing events in the DB table. https://projects.ecoinformatics.org/ecoinfo/issues/5944