|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.meta.UpdateStrategies
public class UpdateStrategies
Strategies for persistent value updates.
Field Summary | |
---|---|
static int |
IGNORE
Ignore updates; field is always considered clean. |
static int |
NONE
No update strategy. |
static int |
RESTRICT
Throw an exception on attempt to update. |
Constructor Summary | |
---|---|
UpdateStrategies()
|
Method Summary | |
---|---|
static int |
getCode(String val,
Object context)
Convert the given strategy name to its constant. |
static String |
getName(int strategy)
Convert the given strategy to a name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NONE
public static final int IGNORE
public static final int RESTRICT
Constructor Detail |
---|
public UpdateStrategies()
Method Detail |
---|
public static String getName(int strategy)
public static int getCode(String val, Object context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |