edu.ucdenver.ccp.craft
Enum CraftConceptType

java.lang.Object
  extended by java.lang.Enum<CraftConceptType>
      extended by edu.ucdenver.ccp.craft.CraftConceptType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CraftConceptType>

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

Contains entries for each CRAFT sub-project and methods for retrieving XMI file paths.

Author:
Colorado Computational Pharmacology, UC Denver; ccpsupport@ucdenver.edu

Enum Constant Summary
CHEBI
           
CL
           
EG
           
GOBP
           
GOCC
           
GOMF
           
NCBITAXON
           
PR
           
SO
           
TEXT_ONLY
           
TREEBANK
           
TYPO
           
 
Method Summary
 java.util.Collection<java.lang.String> conceptTypeRegexes()
           
 java.lang.String getXmiPath(CraftRelease release, CraftXmiTypeSystem typeSystem)
           
static CraftConceptType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CraftConceptType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

TEXT_ONLY

public static final CraftConceptType TEXT_ONLY

CHEBI

public static final CraftConceptType CHEBI

CL

public static final CraftConceptType CL

EG

public static final CraftConceptType EG

GOCC

public static final CraftConceptType GOCC

GOBP

public static final CraftConceptType GOBP

GOMF

public static final CraftConceptType GOMF

NCBITAXON

public static final CraftConceptType NCBITAXON

PR

public static final CraftConceptType PR

SO

public static final CraftConceptType SO

TREEBANK

public static final CraftConceptType TREEBANK

TYPO

public static final CraftConceptType TYPO
Method Detail

values

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

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

valueOf

public static CraftConceptType 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

getXmiPath

public java.lang.String getXmiPath(CraftRelease release,
                                   CraftXmiTypeSystem typeSystem)

conceptTypeRegexes

public java.util.Collection<java.lang.String> conceptTypeRegexes()
Returns:
the conceptTypeRegexes