Class DataType


  • public class DataType
    extends Object
    This class define a data type
    Since:
    3.0
    Author:
    Laurent Jourdren
    • Field Detail

      • 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
    • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • checkType

        public static String checkType​(String type)