org.tridas.io.formats.sheffield
Enum TridasToSheffieldDefaults.SheffieldPeriodCode
java.lang.Object
java.lang.Enum<TridasToSheffieldDefaults.SheffieldPeriodCode>
org.tridas.io.formats.sheffield.TridasToSheffieldDefaults.SheffieldPeriodCode
- All Implemented Interfaces:
- Serializable, Comparable<TridasToSheffieldDefaults.SheffieldPeriodCode>
- Enclosing class:
- TridasToSheffieldDefaults
public static enum TridasToSheffieldDefaults.SheffieldPeriodCode
- extends Enum<TridasToSheffieldDefaults.SheffieldPeriodCode>
MODERN
public static final TridasToSheffieldDefaults.SheffieldPeriodCode MODERN
POST_MEDIEVAL
public static final TridasToSheffieldDefaults.SheffieldPeriodCode POST_MEDIEVAL
MEDIEVAL
public static final TridasToSheffieldDefaults.SheffieldPeriodCode MEDIEVAL
SAXON
public static final TridasToSheffieldDefaults.SheffieldPeriodCode SAXON
ROMAN
public static final TridasToSheffieldDefaults.SheffieldPeriodCode ROMAN
PRE_ROMAN
public static final TridasToSheffieldDefaults.SheffieldPeriodCode PRE_ROMAN
DUPLICATE
public static final TridasToSheffieldDefaults.SheffieldPeriodCode DUPLICATE
MULTI_PERIOD
public static final TridasToSheffieldDefaults.SheffieldPeriodCode MULTI_PERIOD
UNKNOWN
public static final TridasToSheffieldDefaults.SheffieldPeriodCode UNKNOWN
values
public static TridasToSheffieldDefaults.SheffieldPeriodCode[] 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 (TridasToSheffieldDefaults.SheffieldPeriodCode c : TridasToSheffieldDefaults.SheffieldPeriodCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TridasToSheffieldDefaults.SheffieldPeriodCode 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
toCode
public final String toCode()
toString
public final String toString()
- Overrides:
toString
in class Enum<TridasToSheffieldDefaults.SheffieldPeriodCode>
fromCode
public static TridasToSheffieldDefaults.SheffieldPeriodCode fromCode(String code)
Copyright © 2011. All Rights Reserved.