uk.ac.man.documentparser.dataholders
Enum ExternalID.Source

java.lang.Object
  extended by java.lang.Enum<ExternalID.Source>
      extended by uk.ac.man.documentparser.dataholders.ExternalID.Source
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExternalID.Source>
Enclosing class:
ExternalID

public static enum ExternalID.Source
extends java.lang.Enum<ExternalID.Source>


Enum Constant Summary
ELSEVIER
           
MEDLINE
           
OTHER
           
PMC
           
TEXT
           
 
Method Summary
static ExternalID.Source valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExternalID.Source[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MEDLINE

public static final ExternalID.Source MEDLINE

PMC

public static final ExternalID.Source PMC

TEXT

public static final ExternalID.Source TEXT

ELSEVIER

public static final ExternalID.Source ELSEVIER

OTHER

public static final ExternalID.Source OTHER
Method Detail

values

public static ExternalID.Source[] 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 (ExternalID.Source c : ExternalID.Source.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExternalID.Source 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