File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
grails-datastore-gorm/src/main/groovy/grails/gorm/annotation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2121import java .lang .annotation .Target ;
2222
2323/**
24- * A property annotation used to enable automatic updates to time objects
25- * upon gorm modification events
24+ * A property annotation used to apply auto-timestamping on a field
25+ * upon gorm insert and update events
2626 *
2727 * @author Scott Murphy Heiberg
2828 * @since 7.0
3131@ Target ({ElementType .FIELD })
3232public @interface AutoTimestamp {
3333 /**
34- * A qualifier boolean value that represents if update events
35- * should be updated as well. Setting value to false only updates on creation events.
34+ * Whether to include auto-timestamping on update events.
35+ * Setting value to false only performs auto-timestamping on insert events.
3636 */
3737 boolean value () default true ;
3838}
You can’t perform that action at this time.
0 commit comments