org.wso2.carbon.dataservices.common
Enum DBConstants.MongoDB.MongoOperation

java.lang.Object
  extended by java.lang.Enum<DBConstants.MongoDB.MongoOperation>
      extended by 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>


Enum Constant Summary
COUNT
           
DROP
           
FIND
           
FIND_ONE
           
INSERT
           
REMOVE
           
UPDATE
           
 
Method Summary
static DBConstants.MongoDB.MongoOperation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBConstants.MongoDB.MongoOperation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.