Enum EProjectAttribute
- java.lang.Object
-
- java.lang.Enum<EProjectAttribute>
-
- de.xima.fc.gui.bean.statistics.model.EProjectAttribute
-
- All Implemented Interfaces:
Serializable
,Comparable<EProjectAttribute>
public enum EProjectAttribute extends Enum<EProjectAttribute>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Number
calls(ProjektZaehlerDaten data)
static Number
errors(ProjektZaehlerDaten data)
static EProjectAttribute
fromString(String text)
String
getAttribute()
String
getColor()
String
getI18nKey()
static Number
submits(ProjektZaehlerDaten data)
Number
value(ProjektZaehlerDaten data)
static EProjectAttribute
valueOf(String name)
Returns the enum constant of this type with the specified name.static EProjectAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALLS
public static final EProjectAttribute CALLS
-
SUBMITS
public static final EProjectAttribute SUBMITS
-
ERRORS
public static final EProjectAttribute ERRORS
-
-
Method Detail
-
values
public static EProjectAttribute[] 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 (EProjectAttribute c : EProjectAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EProjectAttribute 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
-
getI18nKey
public String getI18nKey()
-
getAttribute
public String getAttribute()
-
getColor
public String getColor()
-
value
public Number value(ProjektZaehlerDaten data)
-
calls
public static Number calls(ProjektZaehlerDaten data)
-
submits
public static Number submits(ProjektZaehlerDaten data)
-
errors
public static Number errors(ProjektZaehlerDaten data)
-
fromString
public static EProjectAttribute fromString(String text)
-
-