public enum TrackType extends Enum<TrackType>
| Enum Constant and Description |
|---|
ATTRACKED
like TRACKED but also knows which attributes are modified.
|
FULLTRACKED
like ATTRACKED but keeps the old persisted values as well.
|
NONE
PDO is untracked.
|
TRACKED
PDO knows whether modified or not.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttracked()
Returns true if ATTRACKED or FULLTRACKED.
|
boolean |
isTracked()
Returns true if TRACKED, ATTRACKED or FULLTRACKED.
|
static TrackType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrackType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrackType NONE
public static final TrackType TRACKED
public static final TrackType ATTRACKED
public static final TrackType FULLTRACKED
public static TrackType[] values()
for (TrackType c : TrackType.values()) System.out.println(c);
public static TrackType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isTracked()
public boolean isAttracked()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.