public enum CollectionOperation extends Enum<CollectionOperation> implements Operation
Enum Constant and Description |
---|
GET
Collection get operation.
|
IN
Collection inclusion operation.
|
Modifier and Type | Method and Description |
---|---|
Object |
execute(Namespace namespace,
String oper,
CollectionHolder collection,
Decimal index) |
Boolean |
execute(Namespace namespace,
String oper,
Object item,
CollectionHolder collection) |
static CollectionOperation |
valueOf(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(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 Object execute(Namespace namespace, String oper, CollectionHolder collection, Decimal index) throws ErrorException
ErrorException
public Boolean execute(Namespace namespace, String oper, Object item, CollectionHolder collection) throws ErrorException
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.