Class GenomeAssembly

    • Constructor Detail

      • GenomeAssembly

        protected GenomeAssembly()
      • GenomeAssembly

        public GenomeAssembly​(java.util.Date createdDate)
    • Method Detail

      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: IridaThing
        Get a human readable label for this object.
        Specified by:
        getLabel in interface IridaThing
        Returns:
        a human-readable label for the object.
      • getId

        public java.lang.Long getId()
        Description copied from interface: IridaThing
        Get the numerical identifier for this object
        Specified by:
        getId in interface IridaThing
        Specified by:
        getId in interface Timestamped<java.lang.Long>
        Returns:
        the numerical identifier for the object
      • getCreatedDate

        public java.util.Date getCreatedDate()
        Description copied from interface: Timestamped
        Get the created date of the object
        Specified by:
        getCreatedDate in interface Timestamped<java.lang.Long>
        Returns:
        A Date object of the created date
      • getFileSizeBytes

        public long getFileSizeBytes()
                              throws java.io.IOException
        Get the size of the genome assembly files
        Returns:
        file size
        Throws:
        java.io.IOException - if the file cannot be read
      • getFileSize

        public java.lang.String getFileSize()
        Get human-readable file size.
        Specified by:
        getFileSize in interface IridaSequenceFile
        Returns:
        A human-readable file size.
      • getFile

        public abstract java.nio.file.Path getFile()
        Gets the assembly file.
        Specified by:
        getFile in interface IridaSequenceFile
        Returns:
        The assembly file.
      • getFileName

        public java.lang.String getFileName()
        Description copied from interface: IridaSequenceFile
        The base name of the file
        Specified by:
        getFileName in interface IridaSequenceFile
        Returns:
        a string base name of the file
      • setId

        public void setId​(java.lang.Long id)