ch.sahits.game.openpatrician.model.personal
Enum EEconomicCareer
java.lang.Object
java.lang.Enum<EEconomicCareer>
ch.sahits.game.openpatrician.model.personal.EEconomicCareer
- All Implemented Interfaces:
- ICareer, IEconomicCareer, Serializable, Comparable<EEconomicCareer>
public enum EEconomicCareer
- extends Enum<EEconomicCareer>
- implements IEconomicCareer
Enumeration of the attributes of an economic career
- Author:
- Andi Hotz, (c) Sahits GmbH, 2012
Created on Jul 23, 2012
|
Method Summary |
static EEconomicCareer |
valueOf(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. |
INEXPERIANCED
public static final EEconomicCareer INEXPERIANCED
HONEST
public static final EEconomicCareer HONEST
STERNUOUS
public static final EEconomicCareer STERNUOUS
EXPERIANCED
public static final EEconomicCareer EXPERIANCED
SUCCESSFUL
public static final EEconomicCareer SUCCESSFUL
CLEVER
public static final EEconomicCareer CLEVER
SMART
public static final EEconomicCareer SMART
AMAZING
public static final EEconomicCareer AMAZING
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(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 name
NullPointerException - if the argument is null
Copyright © 2011-2012 Sahits GmbH. All Rights Reserved.