public enum AuditMetadataType
Enum representing the type of audit metadata annotation on a property. This follows Spring Data's auditing model which supports both temporal metadata (when changes occurred) and auditor metadata (who made changes).
| Enum constant | Description |
|---|---|
CREATED |
Property has @CreatedDate annotation or @AutoTimestamp(CREATED).
|
CREATED_BY |
Property has @CreatedBy annotation.
|
NONE |
Property has no auditing annotation. |
UPDATED |
Property has @LastModifiedDate annotation or @AutoTimestamp(UPDATED).
|
UPDATED_BY |
Property has @LastModifiedBy annotation.
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Property has @CreatedDate annotation or @AutoTimestamp(CREATED).
Automatically populated with the creation timestamp on insert.
Property has @CreatedBy annotation.
Automatically populated with the current auditor on insert.
Property has no auditing annotation.
Property has @LastModifiedDate annotation or @AutoTimestamp(UPDATED).
Automatically populated with the modification timestamp on insert and update.
Property has @LastModifiedBy annotation.
Automatically populated with the current auditor on insert and update.