public enum AuditMetadataType extends java.lang.Enum
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.Enum |
java.lang.Enum#compareTo(java.lang.Enum), java.lang.Enum#compareTo(java.lang.Object), java.lang.Enum#describeConstable(), java.lang.Enum#equals(java.lang.Object), java.lang.Enum#getClass(), java.lang.Enum#getDeclaringClass(), java.lang.Enum#hashCode(), java.lang.Enum#name(), java.lang.Enum#notify(), java.lang.Enum#notifyAll(), java.lang.Enum#ordinal(), java.lang.Enum#toString(), java.lang.Enum#valueOf(java.lang.Class, java.lang.String), java.lang.Enum#wait(), java.lang.Enum#wait(long), java.lang.Enum#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.