@Retention(value=RUNTIME) @Target(value=TYPE) public @interface RevisionEntity
RevisionNumber
and a long-valued property annotated with RevisionTimestamp
. The DefaultRevisionEntity
already has those two fields, so you may extend it, but you may also write your own revision entity
from scratch.Modifier and Type | Optional Element and Description |
---|---|
Class<? extends RevisionListener> |
value |
public abstract Class<? extends RevisionListener> value
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved