net.sourceforge.pmd.util.database
Enum DBType.property

java.lang.Object
  extended by java.lang.Enum<DBType.property>
      extended by net.sourceforge.pmd.util.database.DBType.property
All Implemented Interfaces:
Serializable, Comparable<DBType.property>
Enclosing class:
DBType

public static enum DBType.property
extends Enum<DBType.property>

The names of the properties


Enum Constant Summary
CHARACTERSET
           
DRIVER
           
GET_SOURCE_CODE_STATEMENT
           
LANGUAGES
           
PASSWORD
           
RETURN_TYPE
           
SCHEMAS
           
SOURCE_NAMES
           
SOURCE_TYPES
           
USER
           
 
Method Summary
 String getDescription()
           
 String getPropertyName()
           
static DBType.property valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DBType.property[] 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

USER

public static final DBType.property USER

PASSWORD

public static final DBType.property PASSWORD

DRIVER

public static final DBType.property DRIVER

CHARACTERSET

public static final DBType.property CHARACTERSET

LANGUAGES

public static final DBType.property LANGUAGES

SCHEMAS

public static final DBType.property SCHEMAS

SOURCE_TYPES

public static final DBType.property SOURCE_TYPES

SOURCE_NAMES

public static final DBType.property SOURCE_NAMES

GET_SOURCE_CODE_STATEMENT

public static final DBType.property GET_SOURCE_CODE_STATEMENT

RETURN_TYPE

public static final DBType.property RETURN_TYPE
Method Detail

values

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

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

valueOf

public static DBType.property 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

getPropertyName

public String getPropertyName()

getDescription

public String getDescription()


Copyright © 2002-2015 InfoEther. All Rights Reserved.