Package de.isas.mztab2.model
Enum Database.Properties
- java.lang.Object
-
- java.lang.Enum<Database.Properties>
-
- de.isas.mztab2.model.Database.Properties
-
- All Implemented Interfaces:
Serializable
,Comparable<Database.Properties>
- Enclosing class:
- Database
public static enum Database.Properties extends Enum<Database.Properties>
Property enumeration for Database.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPropertyName()
static Database.Properties
of(String value)
String
toString()
String
toUpper()
static Database.Properties
valueOf(String name)
Returns the enum constant of this type with the specified name.static Database.Properties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
id
public static final Database.Properties id
-
param
public static final Database.Properties param
-
prefix
public static final Database.Properties prefix
-
version
public static final Database.Properties version
-
uri
public static final Database.Properties uri
-
-
Method Detail
-
values
public static Database.Properties[] 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 (Database.Properties c : Database.Properties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Database.Properties 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()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Database.Properties>
-
of
public static Database.Properties of(String value)
-
-