public static enum LiQueryWhereClause.Question extends java.lang.Enum<LiQueryWhereClause.Question> implements LiQueryWhereClause.ClientWhereKeyColumn
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClient()
returns client.
|
java.lang.String |
getValue()
returns value of fields which can be used in where clause.
|
java.lang.Boolean |
isVaild(LiClientManager.Client client)
returns if the field which is used in where clause for a client is valid or not.
|
static LiQueryWhereClause.Question |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiQueryWhereClause.Question[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiQueryWhereClause.Question AUTHOR_ID
public static final LiQueryWhereClause.Question DEPTH
public static LiQueryWhereClause.Question[] values()
for (LiQueryWhereClause.Question c : LiQueryWhereClause.Question.values()) System.out.println(c);
public static LiQueryWhereClause.Question 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 java.lang.String getValue()
LiQueryWhereClause.ClientWhereKeyColumn
getValue
in interface LiQueryWhereClause.ClientWhereKeyColumn
public java.lang.Boolean isVaild(LiClientManager.Client client)
LiQueryWhereClause.ClientWhereKeyColumn
isVaild
in interface LiQueryWhereClause.ClientWhereKeyColumn
client
- LiClientManager.Client
public java.lang.String getClient()
LiQueryWhereClause.ClientWhereKeyColumn
getClient
in interface LiQueryWhereClause.ClientWhereKeyColumn