public enum DocumentCriterion extends Enum<DocumentCriterion>
Enum Constant and Description |
---|
AUTHOR_ASC |
AUTHOR_DESC |
CREATION_DATE_ASC |
CREATION_DATE_DESC |
DEFAULT |
FILENAME_ASC |
FILENAME_DESC |
MIMETYPE_ASC |
MIMETYPE_DESC |
NAME_ASC |
NAME_DESC |
URL_ASC |
URL_DESC |
Modifier and Type | Method and Description |
---|---|
static DocumentCriterion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentCriterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentCriterion NAME_ASC
public static final DocumentCriterion NAME_DESC
public static final DocumentCriterion AUTHOR_ASC
public static final DocumentCriterion AUTHOR_DESC
public static final DocumentCriterion CREATION_DATE_ASC
public static final DocumentCriterion CREATION_DATE_DESC
public static final DocumentCriterion FILENAME_ASC
public static final DocumentCriterion FILENAME_DESC
public static final DocumentCriterion MIMETYPE_ASC
public static final DocumentCriterion MIMETYPE_DESC
public static final DocumentCriterion URL_ASC
public static final DocumentCriterion URL_DESC
public static final DocumentCriterion DEFAULT
public static DocumentCriterion[] values()
for (DocumentCriterion c : DocumentCriterion.values()) System.out.println(c);
public static DocumentCriterion 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 nullCopyright © 2020 Bonitasoft S.A. All rights reserved.