public enum PersistFilterType extends java.lang.Enum<PersistFilterType>
GenerateSourceFromSchema
(including the
generate-source-from-schema
command-line tool) will include methods
that may be used to generate filters for object contents.Enum Constant and Description |
---|
APPROXIMATELY_EQUAL_TO
The filter type that may be used to generate an approximate match filter,
like "(attrName~=value)".
|
CONTAINS
The filter type that may be used to generate a substring filter with a
subAny element, like "(attrName=*value*)".
|
ENDS_WITH
The filter type that may be used to generate a substring filter with a
subFinal element, like "(attrName=*value)".
|
EQUALITY
The filter type that may be used to generate an equality filter, like
"(attrName=value)".
|
GREATER_OR_EQUAL
The filter type that may be used to generate a greater-than-or-equal-to
filter, like "(attrName>=value)".
|
LESS_OR_EQUAL
The filter type that may be used to generate a less-than-or-equal-to
filter, like "(attrName<=value)".
|
PRESENCE
The filter type that may be used to generate a presence filter, like
"(attrName=*)".
|
STARTS_WITH
The filter type that may be used to generate a substring filter with a
subInitial element, like "(attrName=value*)".
|
Modifier and Type | Method and Description |
---|---|
static PersistFilterType |
forName(java.lang.String name)
Retrieves the filter type with the specified name.
|
static PersistFilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersistFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistFilterType PRESENCE
public static final PersistFilterType EQUALITY
public static final PersistFilterType STARTS_WITH
public static final PersistFilterType ENDS_WITH
public static final PersistFilterType CONTAINS
public static final PersistFilterType GREATER_OR_EQUAL
public static final PersistFilterType LESS_OR_EQUAL
public static final PersistFilterType APPROXIMATELY_EQUAL_TO
public static PersistFilterType[] values()
for (PersistFilterType c : PersistFilterType.values()) System.out.println(c);
public static PersistFilterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static PersistFilterType forName(@NotNull java.lang.String name)
name
- The name of the filter type to retrieve. It must not be
null
.null
if no such type is
defined.