edu.jhu.tmaj.client.importer.machscores
Enum MachineScoreField

java.lang.Object
  extended by java.lang.Enum<MachineScoreField>
      extended by edu.jhu.tmaj.client.importer.machscores.MachineScoreField
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MachineScoreField>

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

Represents a field in the MachineScores table, (which is imported from a tab-delimited file). To be a MachineScoreField, the field must be not only present in the columns of the tab-delimited file, but in the MachineScores table as well. As you can see in this class design, the name is usually slightly different in both, E.G. "brown intensity" in the file and "BrownIntensity" in the database.


Enum Constant Summary
ACIS_AVERAGE_BROWN_INTENSITY
           
ACIS_BLUE_AREA
           
ACIS_BROWN_AREA
           
ACIS_INTENSITY
           
ACIS_PERCENTAGE
           
ACIS_REGION_AREA
           
BLISS_AREA
           
BLISS_AVG_IHC_OD
           
BLISS_AVG_OD
           
BLISS_IHC_AREA
           
BLISS_PEAK
           
BLISS_PERCENT_IHC_AREA
           
BLISS_SLOPE
           
BLISS_STD_DEVIATION
           
BLISS_SUM_IHC_OD
           
BLISS_SUM_OD
           
BLISS_VALLEY
           
INTENSITY_MAXIMUM
           
INTENSITY_MEAN
           
INTENSITY_MEDIAN
           
INTENSITY_MINIMUM
           
INTENSITY_SUM
           
MASK_AREA
           
TOTAL_AREA
           
 
Field Summary
 java.lang.String dbFieldName
           
 java.lang.String fileFieldName
           
 boolean isFloat
           
 ScanningMachine source
           
 
Method Summary
static java.util.List<MachineScoreField> getFieldsForSource(ScanningMachine source)
           
static MachineScoreField valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MachineScoreField[] 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

ACIS_BROWN_AREA

public static final MachineScoreField ACIS_BROWN_AREA

ACIS_BLUE_AREA

public static final MachineScoreField ACIS_BLUE_AREA

ACIS_AVERAGE_BROWN_INTENSITY

public static final MachineScoreField ACIS_AVERAGE_BROWN_INTENSITY

ACIS_PERCENTAGE

public static final MachineScoreField ACIS_PERCENTAGE

ACIS_INTENSITY

public static final MachineScoreField ACIS_INTENSITY

ACIS_REGION_AREA

public static final MachineScoreField ACIS_REGION_AREA

BLISS_AREA

public static final MachineScoreField BLISS_AREA

BLISS_IHC_AREA

public static final MachineScoreField BLISS_IHC_AREA

BLISS_AVG_IHC_OD

public static final MachineScoreField BLISS_AVG_IHC_OD

BLISS_SUM_IHC_OD

public static final MachineScoreField BLISS_SUM_IHC_OD

BLISS_PERCENT_IHC_AREA

public static final MachineScoreField BLISS_PERCENT_IHC_AREA

BLISS_AVG_OD

public static final MachineScoreField BLISS_AVG_OD

BLISS_SUM_OD

public static final MachineScoreField BLISS_SUM_OD

BLISS_STD_DEVIATION

public static final MachineScoreField BLISS_STD_DEVIATION

BLISS_VALLEY

public static final MachineScoreField BLISS_VALLEY

BLISS_SLOPE

public static final MachineScoreField BLISS_SLOPE

BLISS_PEAK

public static final MachineScoreField BLISS_PEAK

TOTAL_AREA

public static final MachineScoreField TOTAL_AREA

MASK_AREA

public static final MachineScoreField MASK_AREA

INTENSITY_MINIMUM

public static final MachineScoreField INTENSITY_MINIMUM

INTENSITY_MAXIMUM

public static final MachineScoreField INTENSITY_MAXIMUM

INTENSITY_SUM

public static final MachineScoreField INTENSITY_SUM

INTENSITY_MEAN

public static final MachineScoreField INTENSITY_MEAN

INTENSITY_MEDIAN

public static final MachineScoreField INTENSITY_MEDIAN
Field Detail

fileFieldName

public final java.lang.String fileFieldName

dbFieldName

public final java.lang.String dbFieldName

isFloat

public final boolean isFloat

source

public final ScanningMachine source
Method Detail

values

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

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

valueOf

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

getFieldsForSource

public static java.util.List<MachineScoreField> getFieldsForSource(ScanningMachine source)