Class CoverageQCEntry
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sample.QCEntry
-
- ca.corefacility.bioinformatics.irida.model.sample.CoverageQCEntry
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ca.corefacility.bioinformatics.irida.model.sample.QCEntry
QCEntry.QCEntryStatus, QCEntry.QCEntryType
-
-
Constructor Summary
Constructors Constructor Description CoverageQCEntry()
CoverageQCEntry(SequencingObject sequencingObject, long totalBases)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProjectSettings(Project project)
int
getCoverage()
Get the coverage number for thisQCEntry
java.lang.String
getMessage()
Get the message for the qc entryQCEntry.QCEntryStatus
getStatus()
Get theQCEntry
status.long
getTotalBases()
QCEntry.QCEntryType
getType()
Return the type of qc entry.void
setTotalBases(long totalBases)
-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.sample.QCEntry
equals, getCreatedDate, getId, getSequencingObject, hashCode
-
-
-
-
Constructor Detail
-
CoverageQCEntry
public CoverageQCEntry()
-
CoverageQCEntry
public CoverageQCEntry(SequencingObject sequencingObject, long totalBases)
-
-
Method Detail
-
getType
public QCEntry.QCEntryType getType()
Description copied from class:QCEntry
Return the type of qc entry. This will be used for display and grouping in the UI.
-
getMessage
public java.lang.String getMessage()
Description copied from class:QCEntry
Get the message for the qc entry- Specified by:
getMessage
in classQCEntry
- Returns:
- the qc entry message to display
-
getCoverage
public int getCoverage()
Get the coverage number for thisQCEntry
- Returns:
- coverage
-
getTotalBases
public long getTotalBases()
-
setTotalBases
public void setTotalBases(long totalBases)
-
addProjectSettings
public void addProjectSettings(Project project)
Enhance theQCEntry
with aProject
if required. This way aQCEntry
can read project's settings to decide whether it's positive or negative.- Specified by:
addProjectSettings
in classQCEntry
- Parameters:
project
- theProject
to read from
-
getStatus
public QCEntry.QCEntryStatus getStatus()
Get theQCEntry
status.- Specified by:
getStatus
in classQCEntry
- Returns:
- a
QCEntry.QCEntryStatus
-
-