public enum FieldAuditMode extends java.lang.Enum<FieldAuditMode> implements ValueEnum
| Enum Constant and Description |
|---|
ALWAYS the field value will be saved for all audited adds and updates, regardless of whether it's changed or present in the update |
CHANGE the field value will be saved for all audited adds, and for updates in which the value changed |
NEVER the field value will never be saved for any DataSource audit operation |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static FieldAuditMode | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static FieldAuditMode[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final FieldAuditMode ALWAYS
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "always".
public static final FieldAuditMode CHANGE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "change".
public static final FieldAuditMode NEVER
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "never".
public static FieldAuditMode[] values()
for (FieldAuditMode c : FieldAuditMode.values()) System.out.println(c);
public static FieldAuditMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null