public static enum CqQuery.DisplayField.Function extends Enum<CqQuery.DisplayField.Function> implements com.ibm.rational.wvcm.stpex.StpExEnumeration
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullpublic static CqQuery.DisplayField.Function[] values()
for (CqQuery.DisplayField.Function c : CqQuery.DisplayField.Function.values()) System.out.println(c);
Copyright © IBM 2017. All rights reserved.