org.gcube.application.aquamaps.aquamapsservice.impl.db
Enum DBConnectionParameters

java.lang.Object
  extended by java.lang.Enum<DBConnectionParameters>
      extended by org.gcube.application.aquamaps.aquamapsservice.impl.db.DBConnectionParameters
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DBConnectionParameters>

public enum DBConnectionParameters
extends java.lang.Enum<DBConnectionParameters>


Enum Constant Summary
dbName
           
dbType
           
host
           
password
           
port
           
user
           
 
Method Summary
static DBConnectionParameters valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DBConnectionParameters[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

host

public static final DBConnectionParameters host

port

public static final DBConnectionParameters port

user

public static final DBConnectionParameters user

password

public static final DBConnectionParameters password

dbName

public static final DBConnectionParameters dbName

dbType

public static final DBConnectionParameters dbType
Method Detail

values

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

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

valueOf

public static DBConnectionParameters 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