gov.nih.nci.caarray.domain.file
Enum FileCategory

java.lang.Object
  extended by java.lang.Enum<FileCategory>
      extended by gov.nih.nci.caarray.domain.file.FileCategory
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FileCategory>

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

FileCategory classifies files according to the kind of data they contain. Currently this is only used in some query APIs.

Author:
dkokotov

Enum Constant Summary
ARRAY_DESIGN
          file type category for array design files.
DERIVED_DATA
          file type category for derived data array data files.
MAGE_TAB
          file type category for mage tab annotation files.
OTHER
          file type category for all other types of files.
RAW_DATA
          file type category for raw data array data files.
 
Method Summary
 java.lang.String getName()
           
static FileCategory valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FileCategory[] 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

RAW_DATA

public static final FileCategory RAW_DATA
file type category for raw data array data files.


DERIVED_DATA

public static final FileCategory DERIVED_DATA
file type category for derived data array data files.


ARRAY_DESIGN

public static final FileCategory ARRAY_DESIGN
file type category for array design files.


MAGE_TAB

public static final FileCategory MAGE_TAB
file type category for mage tab annotation files.


OTHER

public static final FileCategory OTHER
file type category for all other types of files.

Method Detail

values

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

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

valueOf

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

getName

public java.lang.String getName()
Returns:
the name