public enum ObjectOperation extends java.lang.Enum<ObjectOperation> implements Operation
Enum Constant and Description |
---|
EQUALS
Object equals.
|
NOT_EQUALS
Object equals negation.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Boolean |
execute(Namespace namespace,
java.lang.String operation,
java.lang.Object left,
java.lang.Object right) |
static ObjectOperation |
valueOf(java.lang.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(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 java.lang.Boolean execute(Namespace namespace, java.lang.String operation, java.lang.Object left, java.lang.Object right) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.