public enum SearchOperation extends Enum<SearchOperation>
| Enum Constant and Description |
|---|
CONTAINS |
ENDS_WITH |
EQUALS |
GREATER_THEN |
GREATER_THEN_OR_EQUAL |
LESS_THEN |
LESS_THEN_EQUAL |
NOT_EQUALS |
PRESENT |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
int |
getParts() |
static SearchOperation |
operationFromString(String s) |
void |
setCode(String code) |
void |
setParts(int parts) |
static SearchOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchOperation EQUALS
public static final SearchOperation NOT_EQUALS
public static final SearchOperation CONTAINS
public static final SearchOperation STARTS_WITH
public static final SearchOperation ENDS_WITH
public static final SearchOperation PRESENT
public static final SearchOperation GREATER_THEN
public static final SearchOperation GREATER_THEN_OR_EQUAL
public static final SearchOperation LESS_THEN
public static final SearchOperation LESS_THEN_EQUAL
public static SearchOperation[] values()
for (SearchOperation c : SearchOperation.values()) System.out.println(c);
public static SearchOperation 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 SearchOperation operationFromString(String s)
public String getCode()
public void setCode(String code)
public int getParts()
public void setParts(int parts)
Copyright © 2019–2021 personify. All rights reserved.