public class JDOIdentityType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION
Constant representing jdo identity managed by the application.
|
static int |
DATASTORE
Constant representing jdo identity managed by the database.
|
static int |
NONDURABLE
Constant representing unmanaged jdo identity.
|
static int |
UNSPECIFIED
Constant representing an unspecified jdo identity
|
| Constructor and Description |
|---|
JDOIdentityType() |
| Modifier and Type | Method and Description |
|---|---|
static int |
toJDOIdentityType(java.lang.String jdoIdentityType)
Returns the JDOIdentityType constant, one of
APPLICATION,
DATASTORE, or NONDURABLE for the specified string. |
static java.lang.String |
toString(int jdoIdentityType)
Returns a string representation of the specified identity type constant.
|
public static final int UNSPECIFIED
public static final int DATASTORE
public static final int APPLICATION
public static final int NONDURABLE
public static java.lang.String toString(int jdoIdentityType)
jdoIdentityType - the JDO identity type, one of
APPLICATION, DATASTORE, or NONDURABLEpublic static int toJDOIdentityType(java.lang.String jdoIdentityType)
APPLICATION,
DATASTORE, or NONDURABLE for the specified string.jdoIdentityType - the string representation of the
JDO identity typeCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.