org.tridas.io.formats.sheffield
Enum TridasToSheffieldDefaults.SheffieldPeriodCode

java.lang.Object
  extended by java.lang.Enum<TridasToSheffieldDefaults.SheffieldPeriodCode>
      extended by 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>


Enum Constant Summary
DUPLICATE
           
MEDIEVAL
           
MODERN
           
MULTI_PERIOD
           
POST_MEDIEVAL
           
PRE_ROMAN
           
ROMAN
           
SAXON
           
UNKNOWN
           
 
Method Summary
static TridasToSheffieldDefaults.SheffieldPeriodCode fromCode(String code)
           
 String toCode()
           
 String toString()
           
static TridasToSheffieldDefaults.SheffieldPeriodCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TridasToSheffieldDefaults.SheffieldPeriodCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.