public class UpdateStrategies extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
UpdateStrategies() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final int NONE
public static final int IGNORE
public static final int RESTRICT
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.