public static enum WhereClause.ClauseType extends java.lang.Enum<WhereClause.ClauseType>
Enum Constant and Description |
---|
AND
sql AND clause
|
OR
sql OR clause
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toClauseString() |
static WhereClause.ClauseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WhereClause.ClauseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhereClause.ClauseType OR
public static final WhereClause.ClauseType AND
public static WhereClause.ClauseType[] values()
for (WhereClause.ClauseType c : WhereClause.ClauseType.values()) System.out.println(c);
public static WhereClause.ClauseType 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 toClauseString()
Copyright © 2015 Tampere University of Technology, Pori Department.