public enum FilterTypeEnum extends Enum<FilterTypeEnum>
| Enum Constant and Description |
|---|
AND
Indicates that the rest of the filter ops that follow will be ANDed
together.
|
EQ
Performs a test for equality.
|
NE
Performs a test for inequality.
|
NONE
Indicates that no filter operation was specified.
|
NP
Performs a test to see if an attribute is not present.
|
OR
Indicates that the rest of the filter ops that follow will be ORed
together.
|
PR
Performs a test for the presence of an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
static FilterTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static FilterTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static FilterTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterTypeEnum NONE
public static final FilterTypeEnum AND
public static final FilterTypeEnum OR
public static final FilterTypeEnum EQ
public static final FilterTypeEnum NE
public static final FilterTypeEnum PR
public static final FilterTypeEnum NP
public static FilterTypeEnum[] values()
for (FilterTypeEnum c : FilterTypeEnum.values()) System.out.println(c);
public static FilterTypeEnum 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 int intValue()
public static FilterTypeEnum get(int code)
public static FilterTypeEnum get(String str)
Copyright © 2023. All rights reserved.