Package de.caluga.morphium
Enum ReadAccessType
- java.lang.Object
-
- java.lang.Enum<ReadAccessType>
-
- de.caluga.morphium.ReadAccessType
-
- All Implemented Interfaces:
Serializable,Comparable<ReadAccessType>
public enum ReadAccessType extends Enum<ReadAccessType>
User: Stephan Bösebeck Date: 01.08.12 Time: 11:05 PRofiling read access types
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReadAccessTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReadAccessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final ReadAccessType GET
-
AS_LIST
public static final ReadAccessType AS_LIST
-
ID_LIST
public static final ReadAccessType ID_LIST
-
COUNT
public static final ReadAccessType COUNT
-
-
Method Detail
-
values
public static ReadAccessType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReadAccessType c : ReadAccessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReadAccessType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-