|
Project: stp | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
ObjectEnum<CqQuery.DisplayField.Function>
CqQuery.DisplayField.Function
public static enum CqQuery.DisplayField.Function
The functions that can be applied to a DisplayField of type DATE_TIME
| Enum Constant Summary | |
|---|---|
DAY
The day portion of the field value. |
|
MONTH
The first of the month. |
|
NONE
No function has been associated with this field |
|
WEEK
The week number of the year and the year, separated by a comma. |
|
YEAR
The date that is the first of the year. |
|
| Method Summary | |
|---|---|
static CqQuery.DisplayField.Function |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CqQuery.DisplayField.Function[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CqQuery.DisplayField.Function DAY
public static final CqQuery.DisplayField.Function MONTH
public static final CqQuery.DisplayField.Function NONE
public static final CqQuery.DisplayField.Function WEEK
public static final CqQuery.DisplayField.Function YEAR
| Method Detail |
|---|
public static CqQuery.DisplayField.Function valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static CqQuery.DisplayField.Function[] values()
for (CqQuery.DisplayField.Function c : CqQuery.DisplayField.Function.values()) System.out.println(c);
|
Generated Mon 18-May-2015 11:04 PM | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||