public enum CollectionOperation extends java.lang.Enum<CollectionOperation> implements Operation
Enum Constant and Description |
---|
GET
Collection get operation.
|
IN
Collection inclusion operation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(Namespace namespace,
java.lang.String oper,
CollectionHolder collection,
Decimal index) |
java.lang.Boolean |
execute(Namespace namespace,
java.lang.String oper,
java.lang.Object item,
CollectionHolder collection) |
static CollectionOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionOperation GET
public static final CollectionOperation IN
public static CollectionOperation[] values()
for (CollectionOperation c : CollectionOperation.values()) System.out.println(c);
public static CollectionOperation 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 java.lang.Object execute(Namespace namespace, java.lang.String oper, CollectionHolder collection, Decimal index) throws ErrorException
ErrorException
public java.lang.Boolean execute(Namespace namespace, java.lang.String oper, java.lang.Object item, CollectionHolder collection) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.