public enum HavingOperation extends Enum<HavingOperation>
Enum Constant and Description |
---|
between |
equalTo |
greaterThan |
lessThan |
notBetween |
notEqualTo |
notGreaterThan |
notLessThan |
Modifier and Type | Method and Description |
---|---|
static HavingOperation |
fromString(String value)
Convert from a string to a Having operation.
|
HavingType |
getType() |
boolean |
isNegated() |
static HavingOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HavingOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HavingOperation equalTo
public static final HavingOperation greaterThan
public static final HavingOperation lessThan
public static final HavingOperation notEqualTo
public static final HavingOperation notGreaterThan
public static final HavingOperation notLessThan
public static final HavingOperation between
public static final HavingOperation notBetween
public static HavingOperation[] values()
for (HavingOperation c : HavingOperation.values()) System.out.println(c);
public static HavingOperation 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 HavingOperation fromString(@NotNull String value) throws IllegalArgumentException
value
- Candidate stringIllegalArgumentException
- if no Having was foundpublic boolean isNegated()
public HavingType getType()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.