Enum EEconomicCareer
- java.lang.Object
-
- java.lang.Enum<EEconomicCareer>
-
- ch.sahits.game.openpatrician.model.personal.EEconomicCareer
-
- All Implemented Interfaces:
ICareer
,IEconomicCareer
,java.io.Serializable
,java.lang.Comparable<EEconomicCareer>
public enum EEconomicCareer extends java.lang.Enum<EEconomicCareer> implements IEconomicCareer
Enumeration of the attributes of an economic career- Author:
- Andi Hotz, (c) Sahits GmbH, 2012 Created on Jul 23, 2012
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZING
CLEVER
EXPERIENCED
HONEST
INEXPERIENCED
SMART
STRENUOUS
SUCCESSFUL
-
Constructor Summary
Constructors Modifier Constructor Description private
EEconomicCareer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EEconomicCareer
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EEconomicCareer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INEXPERIENCED
public static final EEconomicCareer INEXPERIENCED
-
HONEST
public static final EEconomicCareer HONEST
-
STRENUOUS
public static final EEconomicCareer STRENUOUS
-
EXPERIENCED
public static final EEconomicCareer EXPERIENCED
-
SUCCESSFUL
public static final EEconomicCareer SUCCESSFUL
-
CLEVER
public static final EEconomicCareer CLEVER
-
SMART
public static final EEconomicCareer SMART
-
AMAZING
public static final EEconomicCareer AMAZING
-
-
Method Detail
-
values
public static EEconomicCareer[] 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 (EEconomicCareer c : EEconomicCareer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EEconomicCareer valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-