|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ChangeTrackingType>
org.eclipse.persistence.annotations.ChangeTrackingType
public enum ChangeTrackingType
An enum that is used within the ChangeTracking annotation.
org.eclipse.persistence.annotations.ChangeTracking.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ChangeTrackingType ATTRIBUTE
public static final ChangeTrackingType OBJECT
public static final ChangeTrackingType DEFERRED
public static final ChangeTrackingType AUTO
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |