|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<Sense.Predicate>
cz.cuni.amis.pogamut.sposh.elements.Sense.Predicate
public static enum Sense.Predicate
Various predicates used in Sense
| Enum Constant Summary | |
|---|---|
DEFAULT
|
|
EQUAL
|
|
GREATER
|
|
GREATER_OR_EQUAL
|
|
LOWER
|
|
LOWER_OR_EQUAL
|
|
NOT_EQUAL
|
|
| Method Summary | |
|---|---|
int |
getId()
Get integer id of predicate. |
static Sense.Predicate |
getPredicate(String str)
Get Predicate enum from passed string |
static Sense.Predicate[] |
getPredicates()
Get all predicates, without DEFAULT. |
String |
toString()
|
static Sense.Predicate |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Sense.Predicate[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Sense.Predicate EQUAL
public static final Sense.Predicate NOT_EQUAL
public static final Sense.Predicate LOWER
public static final Sense.Predicate GREATER
public static final Sense.Predicate LOWER_OR_EQUAL
public static final Sense.Predicate GREATER_OR_EQUAL
public static final Sense.Predicate DEFAULT
| Method Detail |
|---|
public static Sense.Predicate[] values()
for (Sense.Predicate c : Sense.Predicate.values()) System.out.println(c);
public static Sense.Predicate valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static Sense.Predicate getPredicate(String str)
str - passed predicate in string form
public int getId()
public String toString()
toString in class Enum<Sense.Predicate>public static Sense.Predicate[] getPredicates()
DEFAULT.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||