net.sf.freecol.common.model
Enum UnitTypeChange.ChangeType
java.lang.Object
java.lang.Enum<UnitTypeChange.ChangeType>
net.sf.freecol.common.model.UnitTypeChange.ChangeType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UnitTypeChange.ChangeType>
- Enclosing class:
- UnitTypeChange
public static enum UnitTypeChange.ChangeType
- extends java.lang.Enum<UnitTypeChange.ChangeType>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
EDUCATION
public static final UnitTypeChange.ChangeType EDUCATION
NATIVES
public static final UnitTypeChange.ChangeType NATIVES
EXPERIENCE
public static final UnitTypeChange.ChangeType EXPERIENCE
LOST_CITY
public static final UnitTypeChange.ChangeType LOST_CITY
PROMOTION
public static final UnitTypeChange.ChangeType PROMOTION
CREATION
public static final UnitTypeChange.ChangeType CREATION
ENTER_COLONY
public static final UnitTypeChange.ChangeType ENTER_COLONY
INDEPENDENCE
public static final UnitTypeChange.ChangeType INDEPENDENCE
CLEAR_SKILL
public static final UnitTypeChange.ChangeType CLEAR_SKILL
DEMOTION
public static final UnitTypeChange.ChangeType DEMOTION
CAPTURE
public static final UnitTypeChange.ChangeType CAPTURE
values
public static UnitTypeChange.ChangeType[] 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 (UnitTypeChange.ChangeType c : UnitTypeChange.ChangeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UnitTypeChange.ChangeType 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 name
java.lang.NullPointerException
- if the argument is null