public static enum UserGeneratedHintDao.Field extends java.lang.Enum<UserGeneratedHintDao.Field> implements DaoFieldEnum
DaoFieldEnum.OnPersist
Enum Constant and Description |
---|
CREATED_AT |
CREATOR_ID |
HAS_ANSWER |
HINT |
ID |
IS_GENERIC |
NEW_PROBLEM_ID |
NEW_SEQUENCE_ID |
USER_HINT_TYPE_ID |
Modifier and Type | Method and Description |
---|---|
QueryTerm |
getQueryTerm(java.lang.Object value) |
QueryTerm |
getQueryTerm(RelationalOpType op,
java.lang.Object value) |
static UserGeneratedHintDao.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserGeneratedHintDao.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 UserGeneratedHintDao.Field ID
public static final UserGeneratedHintDao.Field NEW_PROBLEM_ID
public static final UserGeneratedHintDao.Field NEW_SEQUENCE_ID
public static final UserGeneratedHintDao.Field USER_HINT_TYPE_ID
public static final UserGeneratedHintDao.Field HINT
public static final UserGeneratedHintDao.Field HAS_ANSWER
public static final UserGeneratedHintDao.Field IS_GENERIC
public static final UserGeneratedHintDao.Field CREATOR_ID
public static final UserGeneratedHintDao.Field CREATED_AT
public static UserGeneratedHintDao.Field[] values()
for (UserGeneratedHintDao.Field c : UserGeneratedHintDao.Field.values()) System.out.println(c);
public static UserGeneratedHintDao.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