Enum DBType.Property
- java.lang.Object
-
- java.lang.Enum<DBType.Property>
-
- 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
Enum Constants Enum Constant Description CHARACTERSET
DRIVER
GET_SOURCE_CODE_STATEMENT
LANGUAGES
PASSWORD
RETURN_TYPE
SCHEMAS
SOURCE_NAMES
SOURCE_TYPES
USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
getPropertyName
public String getPropertyName()
-
getDescription
public String getDescription()
-
-