public class PersistenceModifier
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PersistenceModifier() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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
modiferUNSPECIFIED
,
NONE
, PERSISTENT
or TRANSACTIONAL
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.