public enum WsStemQueryFilterType extends java.lang.Enum<WsStemQueryFilterType>
Enum Constant and Description |
---|
AND
and two queries together
|
FIND_BY_APPROXIMATE_ATTRIBUTE
find by query, configure all the query params.
|
FIND_BY_PARENT_STEM_NAME
find by children of stem.
|
FIND_BY_STEM_NAME
find by exact name, pass the name in.
|
FIND_BY_STEM_NAME_APPROXIMATE
find by approx name, pass the name in.
|
FIND_BY_STEM_UUID
find by uuid.
|
MINUS
complement one query, set A minus set B
|
OR
or two queries together
|
Modifier and Type | Method and Description |
---|---|
abstract QueryFilter |
retrieveQueryFilter(WsStemQueryFilter wsStemQueryFilter)
return the query filter
|
abstract void |
validate(WsStemQueryFilter wsStemQuery)
make sure that based on the inputs, that this is a valid query
|
static WsStemQueryFilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsStemQueryFilterType |
valueOfIgnoreCase(java.lang.String string)
do a case-insensitive matching
|
static WsStemQueryFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsStemQueryFilterType FIND_BY_STEM_UUID
public static final WsStemQueryFilterType FIND_BY_STEM_NAME
public static final WsStemQueryFilterType FIND_BY_STEM_NAME_APPROXIMATE
public static final WsStemQueryFilterType FIND_BY_PARENT_STEM_NAME
public static final WsStemQueryFilterType FIND_BY_APPROXIMATE_ATTRIBUTE
public static final WsStemQueryFilterType AND
public static final WsStemQueryFilterType OR
public static final WsStemQueryFilterType MINUS
public static WsStemQueryFilterType[] values()
for (WsStemQueryFilterType c : WsStemQueryFilterType.values()) System.out.println(c);
public static WsStemQueryFilterType 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 nullpublic abstract void validate(WsStemQueryFilter wsStemQuery) throws WsInvalidQueryException
wsStemQuery
- is the query params to validate based on typeWsInvalidQueryException
- if invalidpublic static WsStemQueryFilterType valueOfIgnoreCase(java.lang.String string)
string
- public abstract QueryFilter retrieveQueryFilter(WsStemQueryFilter wsStemQueryFilter)
wsStemQueryFilter
-