com.mebigfatguy.mongobrowser
Enum MongoBundle.Key

java.lang.Object
  extended by java.lang.Enum<MongoBundle.Key>
      extended by com.mebigfatguy.mongobrowser.MongoBundle.Key
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MongoBundle.Key>
Enclosing class:
MongoBundle

public static enum MongoBundle.Key
extends java.lang.Enum<MongoBundle.Key>

an enumeration of all the possible entries in the bundle


Enum Constant Summary
AddIndex
           
Cancel
           
Connect
           
ConnectToServer
           
Database
           
Delete
           
Disconnect
           
Double
           
Float
           
IndexFields
           
IndexName
           
IndexPrefix
           
Integer
           
Key
           
ManageIndices
           
NewCollection
           
NewDatabase
           
NewKeyValue
           
NewObject
           
Object
           
OK
           
Port
           
RemoveIndex
           
Server
           
Servers
           
String
           
Title
           
Value
           
 
Method Summary
 java.lang.String id()
          retrieves the properties file entry name for this Key
static MongoBundle.Key valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MongoBundle.Key[] 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

OK

public static final MongoBundle.Key OK

Cancel

public static final MongoBundle.Key Cancel

Title

public static final MongoBundle.Key Title

Servers

public static final MongoBundle.Key Servers

Connect

public static final MongoBundle.Key Connect

Disconnect

public static final MongoBundle.Key Disconnect

ConnectToServer

public static final MongoBundle.Key ConnectToServer

Server

public static final MongoBundle.Key Server

Port

public static final MongoBundle.Key Port

Database

public static final MongoBundle.Key Database

NewDatabase

public static final MongoBundle.Key NewDatabase

NewCollection

public static final MongoBundle.Key NewCollection

ManageIndices

public static final MongoBundle.Key ManageIndices

NewObject

public static final MongoBundle.Key NewObject

NewKeyValue

public static final MongoBundle.Key NewKeyValue

RemoveIndex

public static final MongoBundle.Key RemoveIndex

AddIndex

public static final MongoBundle.Key AddIndex

Key

public static final MongoBundle.Key Key

Value

public static final MongoBundle.Key Value

Integer

public static final MongoBundle.Key Integer

Double

public static final MongoBundle.Key Double

Float

public static final MongoBundle.Key Float

String

public static final MongoBundle.Key String

Object

public static final MongoBundle.Key Object

Delete

public static final MongoBundle.Key Delete

IndexName

public static final MongoBundle.Key IndexName

IndexFields

public static final MongoBundle.Key IndexFields

IndexPrefix

public static final MongoBundle.Key IndexPrefix
Method Detail

values

public static MongoBundle.Key[] 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 (MongoBundle.Key c : MongoBundle.Key.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MongoBundle.Key valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

id

public java.lang.String id()
retrieves the properties file entry name for this Key

Returns:
the properties file entry name id


Copyright © 2009-2011 MeBigFatGuy.com. All Rights Reserved.