public static enum ActionResponseDao.Field extends java.lang.Enum<ActionResponseDao.Field> implements DaoFieldEnum
DaoFieldEnum.OnPersist
Enum Constant and Description |
---|
CONTINUOUS_SCORE |
CORRECT |
DISCRETE_SCORE |
ID |
SHOW_CORRECTNESS |
Modifier and Type | Method and Description |
---|---|
QueryTerm |
getQueryTerm(java.lang.Object value) |
QueryTerm |
getQueryTerm(RelationalOpType op,
java.lang.Object value) |
static ActionResponseDao.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionResponseDao.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getOnPersist
public static final ActionResponseDao.Field ID
public static final ActionResponseDao.Field CORRECT
public static final ActionResponseDao.Field SHOW_CORRECTNESS
public static final ActionResponseDao.Field CONTINUOUS_SCORE
public static final ActionResponseDao.Field DISCRETE_SCORE
public static ActionResponseDao.Field[] values()
for (ActionResponseDao.Field c : ActionResponseDao.Field.values()) System.out.println(c);
public static ActionResponseDao.Field 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 QueryTerm getQueryTerm(java.lang.Object value)
getQueryTerm
in interface DaoFieldEnum
public QueryTerm getQueryTerm(RelationalOpType op, java.lang.Object value)
getQueryTerm
in interface DaoFieldEnum