|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SaveMode>
edu.internet2.middleware.grouperClient.ws.SaveMode
public enum SaveMode
save mode for static saves. insert only (exception if update), update only (exception on insert), and insert or update doesnt matter.
| Enum Constant Summary | |
|---|---|
INSERT
insert only, if exists then exception |
|
INSERT_OR_UPDATE
it will insert or update depending if exsits or not |
|
UPDATE
update only, if not exist, then exception |
|
| Method Summary | |
|---|---|
static SaveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SaveMode |
valueOfIgnoreCase(String string)
do a case-insensitive matching |
static SaveMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SaveMode INSERT
public static final SaveMode UPDATE
public static final SaveMode INSERT_OR_UPDATE
| Method Detail |
|---|
public static SaveMode[] values()
for (SaveMode c : SaveMode.values()) System.out.println(c);
public static SaveMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static SaveMode valueOfIgnoreCase(String string)
string -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||