public enum DataAccessType extends Enum<DataAccessType>
| Modifier and Type | Method and Description |
|---|---|
static DataAccessType |
getByName(String name) |
String |
toString() |
static DataAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataAccessType CREATE
public static final DataAccessType RETRIEVE
public static final DataAccessType UPDATE
public static final DataAccessType DELETE
public static DataAccessType[] values()
for (DataAccessType c : DataAccessType.values()) System.out.println(c);
public static DataAccessType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DataAccessType getByName(String name)
public String toString()
toString in class Enum<DataAccessType>Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.