public enum ChangeTrackingType extends java.lang.Enum<ChangeTrackingType>
org.eclipse.persistence.annotations.ChangeTracking.| Enum Constant and Description |
|---|
ATTRIBUTE
An ATTRIBUTE change tracking type allows change tracking at the attribute
level of an object.
|
AUTO
Will not set any change tracking policy, and the change tracking will be
determined at runtime.
|
DEFERRED
A DEFERRED change tracking policy defers all change detection to the
UnitOfWork's change detection process.
|
OBJECT
An OBJECT change tracking policy allows an object to calculate for itself
whether it has changed.
|
| Modifier and Type | Method and Description |
|---|---|
static ChangeTrackingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeTrackingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeTrackingType ATTRIBUTE
public static final ChangeTrackingType OBJECT
public static final ChangeTrackingType DEFERRED
public static final ChangeTrackingType AUTO
public static ChangeTrackingType[] values()
for (ChangeTrackingType c : ChangeTrackingType.values()) System.out.println(c);
public static ChangeTrackingType 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