|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RuleOp>
com.bbn.openmap.omGraphics.rule.RuleOp
public enum RuleOp
The RuleOp class (operation) is used by the Rules to evaluate a rule key value against a OMGraphics key value.
| Enum Constant Summary | |
|---|---|
ALL
all: all (everything passes rule) |
|
ENDS_WITH
ends: ends with |
|
EQUALS
equals: equals |
|
GREATER_THAN
gt: greater than |
|
GREATER_THAN_EQUALS
gte: greater than or equals |
|
LESS_THAN
lt: less than |
|
LESS_THAN_EQUALS
lte: less than or equals |
|
NONE
noop: no-op (nothing passes rule) |
|
NOT_EQUALS
ne: not equals |
|
STARTS_WITH
starts: starts with |
|
| Field Summary | |
|---|---|
protected java.lang.String |
description
|
protected java.lang.String |
propertyNotation
|
| Method Summary | |
|---|---|
abstract boolean |
compare(int keyValcompareResult)
|
boolean |
evaluate(java.lang.Object key,
java.lang.Object val)
|
java.lang.String |
getDescription()
|
java.lang.String |
getPropertyNotation()
|
static RuleOp |
resolve(java.lang.String opString)
|
static RuleOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RuleOp[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RuleOp EQUALS
public static final RuleOp LESS_THAN
public static final RuleOp LESS_THAN_EQUALS
public static final RuleOp GREATER_THAN
public static final RuleOp GREATER_THAN_EQUALS
public static final RuleOp NOT_EQUALS
public static final RuleOp NONE
public static final RuleOp ALL
public static final RuleOp STARTS_WITH
public static final RuleOp ENDS_WITH
| Field Detail |
|---|
protected java.lang.String description
protected java.lang.String propertyNotation
| Method Detail |
|---|
public static RuleOp[] values()
for (RuleOp c : RuleOp.values()) System.out.println(c);
public static RuleOp 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 name
java.lang.NullPointerException - if the argument is null
public boolean evaluate(java.lang.Object key,
java.lang.Object val)
public abstract boolean compare(int keyValcompareResult)
public static RuleOp resolve(java.lang.String opString)
public java.lang.String getDescription()
public java.lang.String getPropertyNotation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||