public enum ModelState extends java.lang.Enum<ModelState>
| Modifier and Type | Method and Description |
|---|---|
PersistenceOperation |
getPersistenceOperation() |
static ModelState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModelState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelState NEW
public static final ModelState MODIFIED
public static final ModelState DELETED
public static ModelState[] values()
for (ModelState c : ModelState.values()) System.out.println(c);
public static ModelState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic PersistenceOperation getPersistenceOperation()
Copyright © 2018 SAP SE. All Rights Reserved.