|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QSelectionFunction>
to.etc.webapp.query.QSelectionFunction
public enum QSelectionFunction
All default and generic selection functions.
Enum Constant Summary | |
---|---|
AVG
agv(x) |
|
COUNT
count() the #of rows |
|
COUNT_DISTINCT
count a distinct thingerydoo |
|
ID
A selector for the primary key |
|
MAX
max(x) |
|
MIN
min(x) |
|
PROPERTY
A selector which represents a property of the object |
|
ROWCOUNT
Hibernate has this, but probably has no idea where to get this from |
|
SUM
sum(x) |
|
USER
An user-defined (database specific) function. |
Method Summary | |
---|---|
static QSelectionFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QSelectionFunction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QSelectionFunction MIN
public static final QSelectionFunction MAX
public static final QSelectionFunction AVG
public static final QSelectionFunction SUM
public static final QSelectionFunction COUNT
public static final QSelectionFunction COUNT_DISTINCT
public static final QSelectionFunction ROWCOUNT
public static final QSelectionFunction ID
public static final QSelectionFunction PROPERTY
public static final QSelectionFunction USER
Method Detail |
---|
public static QSelectionFunction[] values()
for (QSelectionFunction c : QSelectionFunction.values()) System.out.println(c);
public static QSelectionFunction 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |