Package cn.zeroup.macrocosm.cv.em
Enum RecordMode
- java.lang.Object
-
- java.lang.Enum<RecordMode>
-
- cn.zeroup.macrocosm.cv.em.RecordMode
-
- All Implemented Interfaces:
Serializable,Comparable<RecordMode>
public enum RecordMode extends Enum<RecordMode>
- Author:
- Lang
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RecordModevalueOf(String name)Returns the enum constant of this type with the specified name.static RecordMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CASE
public static final RecordMode CASE
-
DAO
public static final RecordMode DAO
-
ATOM
public static final RecordMode ATOM
-
-
Method Detail
-
values
public static RecordMode[] 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 (RecordMode c : RecordMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecordMode 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
-
-