public enum ObjectOperation extends Enum<ObjectOperation> implements Operation
Enum Constant and Description |
---|
EQUALS
Object equals.
|
NOT_EQUALS
Object equals negation.
|
Modifier and Type | Method and Description |
---|---|
abstract Boolean |
execute(Namespace namespace,
String operation,
Object left,
Object right) |
static ObjectOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectOperation EQUALS
public static final ObjectOperation NOT_EQUALS
public static ObjectOperation[] values()
for (ObjectOperation c : ObjectOperation.values()) System.out.println(c);
public static ObjectOperation 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 abstract Boolean execute(Namespace namespace, String operation, Object left, Object right) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.