|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.model.jdo.JDOIdentityType
This interface provides constants denoting the identity type of a persistence-capable class.
| Field Summary | |
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 Summary | |
JDOIdentityType()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UNSPECIFIED
public static final int DATASTORE
public static final int APPLICATION
public static final int NONDURABLE
| Constructor Detail |
public JDOIdentityType()
| Method Detail |
public static java.lang.String toString(int jdoIdentityType)
jdoIdentityType - the JDO identity type, one of
APPLICATION, DATASTORE, or NONDURABLE
public static int toJDOIdentityType(java.lang.String jdoIdentityType)
APPLICATION,
DATASTORE, or NONDURABLE for the specified string.
jdoIdentityType - the string representation of the
JDO identity type
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||