edu.jhu.tmaj.client.arraybuilder.data
Enum ArrayBlockExporter.ArrayExportFormat

java.lang.Object
  extended by java.lang.Enum<ArrayBlockExporter.ArrayExportFormat>
      extended by edu.jhu.tmaj.client.arraybuilder.data.ArrayBlockExporter.ArrayExportFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ArrayBlockExporter.ArrayExportFormat>
Enclosing class:
ArrayBlockExporter

public static enum ArrayBlockExporter.ArrayExportFormat
extends java.lang.Enum<ArrayBlockExporter.ArrayExportFormat>

Represents different formats for exporting ArrayBuilder data in an Array-like text file.


Enum Constant Summary
ALTERNATE
          Prints SurgPathNumber, BlockDesignation, and TissueDiagnosisID for each core.
OPEN
          Prints SurgPathNumber,BlockDesignation, LesionLetter, and TissueType.
SECURE
          Prints SpecimenID and TissueDiagnosisID for each ArrayCore.
STANDARD
          Prints SurgPathNumber,BlockID,and TissueDiagnosisID for each coordinate
 
Method Summary
static ArrayBlockExporter.ArrayExportFormat valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ArrayBlockExporter.ArrayExportFormat[] 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

STANDARD

public static final ArrayBlockExporter.ArrayExportFormat STANDARD
Prints SurgPathNumber,BlockID,and TissueDiagnosisID for each coordinate


SECURE

public static final ArrayBlockExporter.ArrayExportFormat SECURE
Prints SpecimenID and TissueDiagnosisID for each ArrayCore. Removing the SurgPathNumber further protects patient identities.


OPEN

public static final ArrayBlockExporter.ArrayExportFormat OPEN
Prints SurgPathNumber,BlockDesignation, LesionLetter, and TissueType. Since all 3 of these numbers are written on the donor-block, this allows the user to pinpoint the exact donor block without using the database


ALTERNATE

public static final ArrayBlockExporter.ArrayExportFormat ALTERNATE
Prints SurgPathNumber, BlockDesignation, and TissueDiagnosisID for each core.

Method Detail

values

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

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

valueOf

public static ArrayBlockExporter.ArrayExportFormat 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