public enum JcrOperator extends Enum<JcrOperator>
Enum Constant and Description |
---|
CONTAINS |
CONTAINS_WORD |
ENDS_WITH |
EQUALS |
NOT_EQUAL |
STARTS_WITH |
Modifier and Type | Method and Description |
---|---|
abstract String |
getJcrQueryFragment(String key,
String value) |
static JcrOperator |
getSelectorOperator(String operator) |
static JcrOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JcrOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JcrOperator CONTAINS
public static final JcrOperator CONTAINS_WORD
public static final JcrOperator ENDS_WITH
public static final JcrOperator EQUALS
public static final JcrOperator NOT_EQUAL
public static final JcrOperator STARTS_WITH
public static JcrOperator[] values()
for (JcrOperator c : JcrOperator.values()) System.out.println(c);
public static JcrOperator 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 JcrOperator getSelectorOperator(String operator)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.