org.wso2.carbon.dataservices.common
Enum DBConstants.MongoDB.MongoOperation
java.lang.Object
java.lang.Enum<DBConstants.MongoDB.MongoOperation>
org.wso2.carbon.dataservices.common.DBConstants.MongoDB.MongoOperation
- All Implemented Interfaces:
- Serializable, Comparable<DBConstants.MongoDB.MongoOperation>
- Enclosing class:
- DBConstants.MongoDB
public static enum DBConstants.MongoDB.MongoOperation
- extends Enum<DBConstants.MongoDB.MongoOperation>
COUNT
public static final DBConstants.MongoDB.MongoOperation COUNT
DROP
public static final DBConstants.MongoDB.MongoOperation DROP
FIND
public static final DBConstants.MongoDB.MongoOperation FIND
FIND_ONE
public static final DBConstants.MongoDB.MongoOperation FIND_ONE
INSERT
public static final DBConstants.MongoDB.MongoOperation INSERT
REMOVE
public static final DBConstants.MongoDB.MongoOperation REMOVE
UPDATE
public static final DBConstants.MongoDB.MongoOperation UPDATE
values
public static DBConstants.MongoDB.MongoOperation[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DBConstants.MongoDB.MongoOperation c : DBConstants.MongoDB.MongoOperation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DBConstants.MongoDB.MongoOperation valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2015 WSO2. All rights reserved.