Enum RegisterModel.Human
- java.lang.Object
-
- java.lang.Enum<RegisterModel.Human>
-
- com.tetsuwantech.atom.web.authentication.RegisterModel.Human
-
- All Implemented Interfaces:
Serializable
,Comparable<RegisterModel.Human>
- Enclosing class:
- RegisterModel
public static enum RegisterModel.Human extends Enum<RegisterModel.Human>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnswer()
String
getQuestion()
static RegisterModel.Human
valueOf(String name)
Returns the enum constant of this type with the specified name.static RegisterModel.Human[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final RegisterModel.Human A
-
B
public static final RegisterModel.Human B
-
C
public static final RegisterModel.Human C
-
D
public static final RegisterModel.Human D
-
E
public static final RegisterModel.Human E
-
-
Method Detail
-
values
public static RegisterModel.Human[] 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 (RegisterModel.Human c : RegisterModel.Human.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegisterModel.Human 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
-
getQuestion
public String getQuestion()
- Returns:
- the test
-
getAnswer
public String getAnswer()
- Returns:
- the answer
-
-