uk.ac.ebi.microarray.zooma.hypothesis
Enum Source

java.lang.Object
  extended by java.lang.Enum<Source>
      extended by uk.ac.ebi.microarray.zooma.hypothesis.Source
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Source>

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

An object encapsulating information about the source of a particular OntologyMappingHypothesis.

Author:
Tony Burdett

Enum Constant Summary
AGGREGATED_SOURCE
           
ARRAYEXPRESS2
           
ATLAS
           
BIOPORTAL
           
BIOPORTAL_VIA_ONTOCAT
           
EFO
           
MAGETAB
           
OLS
           
OLS_VIA_ONTOCAT
           
ONTOCAT
           
OTHER_SOURCE
           
OWL
           
USER_DESCRIBED
           
 
Method Summary
static Source valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static 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

ARRAYEXPRESS2

public static final Source ARRAYEXPRESS2

ATLAS

public static final Source ATLAS

EFO

public static final Source EFO

OWL

public static final Source OWL

MAGETAB

public static final Source MAGETAB

ONTOCAT

public static final Source ONTOCAT

OLS_VIA_ONTOCAT

public static final Source OLS_VIA_ONTOCAT

BIOPORTAL_VIA_ONTOCAT

public static final Source BIOPORTAL_VIA_ONTOCAT

OLS

public static final Source OLS

BIOPORTAL

public static final Source BIOPORTAL

USER_DESCRIBED

public static final Source USER_DESCRIBED

AGGREGATED_SOURCE

public static final Source AGGREGATED_SOURCE

OTHER_SOURCE

public static final Source OTHER_SOURCE
Method Detail

values

public static 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 (Source c : 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 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


Copyright © 2010. All Rights Reserved.