|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ExistenceType> org.eclipse.persistence.annotations.ExistenceType
public enum ExistenceType
An enum that is used within the ExistenceChecking annotation.
org.eclipse.persistence.annotations.ExistenceChecking.
,
DoesExistQuery
Enum Constant Summary | |
---|---|
ASSUME_EXISTENCE
Assume that if the objects primary key does not include null then it must exist. |
|
ASSUME_NON_EXISTENCE
Assume that the object does not exist. |
|
CHECK_CACHE
Assume that if the objects primary key does not include null and it is in the cache, then it must exist. |
|
CHECK_DATABASE
Perform does exist check on the database. |
Method Summary | |
---|---|
static ExistenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExistenceType[] |
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 ExistenceType CHECK_CACHE
public static final ExistenceType CHECK_DATABASE
public static final ExistenceType ASSUME_EXISTENCE
public static final ExistenceType ASSUME_NON_EXISTENCE
Method Detail |
---|
public static ExistenceType[] values()
for (ExistenceType c : ExistenceType.values()) System.out.println(c);
public static ExistenceType 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.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |