|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.model.jdo.PersistenceModifier
This interface provides constants denoting JDO specific modifiers for fields of a persistence-capable class.
| Field Summary | |
static int |
NONE
Constant representing a none field modifier. |
static int |
PERSISTENT
Constant representing a persistence field modifier. |
static int |
POSSIBLY_PERSISTENT
Constant representing a possibly persistence field modifier. |
static int |
TRANSACTIONAL
Constant representing a transactional field modifier. |
static int |
UNSPECIFIED
Constant representing an unspecified field modifier |
| Constructor Summary | |
PersistenceModifier()
|
|
| Method Summary | |
static int |
toPersistenceModifier(java.lang.String persistenceModifier)
Returns the PersistenceModifier constant for the specified string. |
static java.lang.String |
toString(int persistenceModifier)
Returns a string representation of the specified persistence modifer. |
| 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 NONE
public static final int TRANSACTIONAL
public static final int PERSISTENT
public static final int POSSIBLY_PERSISTENT
| Constructor Detail |
public PersistenceModifier()
| Method Detail |
public static java.lang.String toString(int persistenceModifier)
persistenceModifier - the persistence modifer, one of
UNSPECIFIED, NONE, PERSISTENT,
TRANSACTIONAL, or POSSIBLY_PERSISTENT.
public static int toPersistenceModifier(java.lang.String persistenceModifier)
persistenceModifier - the string representation of the persistence
modifer
UNSPECIFIED,
NONE, PERSISTENT or TRANSACTIONAL
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||