Class DataType
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.aozan3.DataType
-
public class DataType extends Object
This class define a data type- Since:
- 3.0
- Author:
- Laurent Jourdren
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataType.Category
Run data type.static class
DataType.SequencingTechnology
Sequencing technology
-
Field Summary
Fields Modifier and Type Field Description static DataType
BCL
static DataType
FAST5_TAR
static DataType
ILLUMINA_FASTQ
static DataType
INTEROP
static DataType
PARTIAL_BCL
static DataType
PARTIAL_ILLUMINA_FASTQ
static DataType
PARTIAL_INTEROP
-
Constructor Summary
Constructors Constructor Description DataType(DataType.Category category, DataType.SequencingTechnology technology, String type)
DataType(DataType.Category category, DataType.SequencingTechnology technology, String type, boolean logOnly, boolean partialData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
checkType(String type)
boolean
equals(Object o)
DataType.Category
getCategory()
Get the category of Data.DataType.SequencingTechnology
getSequencingTechnology()
Get the sequencing technology used for the data.String
getType()
Get the type of the data.int
hashCode()
boolean
isLogOnly()
Test if the run data is partial.boolean
isPartialData()
Test if the run data is partial.DataType
newCategory(DataType.Category category)
Create a new RunType object from the current object with a new type.DataType
newTechnology(DataType.SequencingTechnology technology)
Create a new RunType object from the current object with a new type.DataType
newType(String type)
Create a new RunType object from the current object with a new type.DataType
setLogOnly(boolean logOnly)
Create a new RunType object from the current object with a new log only setting.DataType
setPartialData(boolean partialData)
Create a new RunType object from the current object with a new partial data setting.String
toString()
-
-
-
Field Detail
-
BCL
public static final DataType BCL
-
PARTIAL_BCL
public static final DataType PARTIAL_BCL
-
INTEROP
public static final DataType INTEROP
-
PARTIAL_INTEROP
public static final DataType PARTIAL_INTEROP
-
ILLUMINA_FASTQ
public static final DataType ILLUMINA_FASTQ
-
PARTIAL_ILLUMINA_FASTQ
public static final DataType PARTIAL_ILLUMINA_FASTQ
-
FAST5_TAR
public static final DataType FAST5_TAR
-
-
Constructor Detail
-
DataType
public DataType(DataType.Category category, DataType.SequencingTechnology technology, String type)
-
DataType
public DataType(DataType.Category category, DataType.SequencingTechnology technology, String type, boolean logOnly, boolean partialData)
-
-
Method Detail
-
getCategory
public DataType.Category getCategory()
Get the category of Data.- Returns:
- the category
-
getSequencingTechnology
public DataType.SequencingTechnology getSequencingTechnology()
Get the sequencing technology used for the data.- Returns:
- the sequencing technology
-
getType
public String getType()
Get the type of the data.- Returns:
- the type of the data
-
isPartialData
public boolean isPartialData()
Test if the run data is partial.- Returns:
- true if the run is partial
-
isLogOnly
public boolean isLogOnly()
Test if the run data is partial.- Returns:
- true if the run is partial
-
newCategory
public DataType newCategory(DataType.Category category)
Create a new RunType object from the current object with a new type.- Parameters:
category
- the category- Returns:
- a new RunType object
-
newTechnology
public DataType newTechnology(DataType.SequencingTechnology technology)
Create a new RunType object from the current object with a new type.- Parameters:
technology
- the technology- Returns:
- a new RunType object
-
newType
public DataType newType(String type)
Create a new RunType object from the current object with a new type.- Parameters:
type
- the new type- Returns:
- a new RunType object
-
setPartialData
public DataType setPartialData(boolean partialData)
Create a new RunType object from the current object with a new partial data setting.- Parameters:
partialData
- the new partial data value- Returns:
- a new RunType object
-
setLogOnly
public DataType setLogOnly(boolean logOnly)
Create a new RunType object from the current object with a new log only setting.- Parameters:
logOnly
- the new log only value- Returns:
- a new RunType object
-
-