Enum DataBaseConnector.StatusElement
- java.lang.Object
-
- java.lang.Enum<DataBaseConnector.StatusElement>
-
- de.julielab.costosys.dbconnection.DataBaseConnector.StatusElement
-
- All Implemented Interfaces:
Serializable,Comparable<DataBaseConnector.StatusElement>
- Enclosing class:
- DataBaseConnector
public static enum DataBaseConnector.StatusElement extends Enum<DataBaseConnector.StatusElement>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HAS_ERRORSIN_PROCESSIS_PROCESSEDLAST_COMPONENTTOTAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataBaseConnector.StatusElementvalueOf(String name)Returns the enum constant of this type with the specified name.static DataBaseConnector.StatusElement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HAS_ERRORS
public static final DataBaseConnector.StatusElement HAS_ERRORS
-
IS_PROCESSED
public static final DataBaseConnector.StatusElement IS_PROCESSED
-
IN_PROCESS
public static final DataBaseConnector.StatusElement IN_PROCESS
-
TOTAL
public static final DataBaseConnector.StatusElement TOTAL
-
LAST_COMPONENT
public static final DataBaseConnector.StatusElement LAST_COMPONENT
-
-
Method Detail
-
values
public static DataBaseConnector.StatusElement[] 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 (DataBaseConnector.StatusElement c : DataBaseConnector.StatusElement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataBaseConnector.StatusElement 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
-
-