apollo.dataadapter
Class DataInputType
java.lang.Object
apollo.dataadapter.DataInputType
public class DataInputType
- extends java.lang.Object
A value class for the different types of Data input
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GENE
public static DataInputType GENE
MRNA
public static DataInputType MRNA
CYTOLOGY
public static DataInputType CYTOLOGY
SCAFFOLD
public static DataInputType SCAFFOLD
FILE
public static DataInputType FILE
URL
public static DataInputType URL
SEQUENCE
public static DataInputType SEQUENCE
BASEPAIR_RANGE
public static DataInputType BASEPAIR_RANGE
CONTIG
public static DataInputType CONTIG
DIR
public static DataInputType DIR
getDataTypeForSoType
public static DataInputType getDataTypeForSoType(java.lang.String soType)
- This is an attempt to correlate SO terms with DataInputType.
The 2 should work hand in hand, until all adapters are using SO, then
we can scrap DataInputType for SO. Only handles chromosome at the moment.
This should be derived from SO, or at least configured, hardwiring for now
getSoType
public java.lang.String getSoType()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
stringToType
public static DataInputType stringToType(java.lang.String s)
throws DataInputType.UnknownTypeException
- Throws:
DataInputType.UnknownTypeException
isLocation
public boolean isLocation()
getTypeStrings
public static java.lang.String[] getTypeStrings()