public class PersistenceFlags extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
CHECK_READ
If the flags for a field includes CHECK_READ, then the field has been enhanced to call the
StateManager on read if the jdoFlags setting is not READ_OK or READ_WRITE_OK.
|
static byte |
CHECK_WRITE
If the flags for a field includes CHECK_WRITE, then the field has been enhanced to call the
StateManager on write if the jpoxFlags setting is not READ_WRITE_OK;.
|
static byte |
LOAD_REQUIRED
If StateManager persistenceFlags is set to LOAD_REQUIRED, then the fields in the default fetch group
cannot be accessed for read or write without notifying the StateManager.
|
static byte |
MEDIATE_READ
If the flags for a field includes MEDIATE_READ, then the field has been enhanced to always
call the StateManager on all reads.
|
static byte |
MEDIATE_WRITE
If the flags for a field includes MEDIATE_WRITE, then the field has been enhanced to always
call the StateManager on all writes.
|
static byte |
READ_OK
If StateManager persistenceFlags is set to READ_OK, then the fields in the default fetch group
can be accessed for read without notifying the StateManager.
|
static byte |
READ_WRITE_OK
If StateManager persistenceFlags is set to READ_WRITE_OK, then the fields in the default fetch group
can be accessed for read or write without notifying the StateManager.
|
static byte |
SERIALIZABLE
If the flags for a field includes SERIALIZABLE, then the field is not declared as TRANSIENT.
|
Constructor and Description |
---|
PersistenceFlags() |
Modifier and Type | Method and Description |
---|---|
static String |
persistenceFlagsToString(byte flags)
Utility to convert JDO specific flags to a String.
|
public static final byte READ_WRITE_OK
public static final byte LOAD_REQUIRED
public static final byte READ_OK
public static final byte CHECK_READ
public static final byte MEDIATE_READ
public static final byte CHECK_WRITE
public static final byte MEDIATE_WRITE
public static final byte SERIALIZABLE
public static String persistenceFlagsToString(byte flags)
flags
- The JDO flagsCopyright © 2019. All rights reserved.