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 voidaddProjectSettings(Project project)intgetCoverage()Get the coverage number for thisQCEntryjava.lang.StringgetMessage()Get the message for the qc entryQCEntry.QCEntryStatusgetStatus()Get theQCEntrystatus.longgetTotalBases()QCEntry.QCEntryTypegetType()Return the type of qc entry.voidsetTotalBases(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:QCEntryReturn 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:QCEntryGet the message for the qc entry- Specified by:
getMessagein 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 theQCEntrywith aProjectif required. This way aQCEntrycan read project's settings to decide whether it's positive or negative.- Specified by:
addProjectSettingsin classQCEntry- Parameters:
project- theProjectto read from
-
getStatus
public QCEntry.QCEntryStatus getStatus()
Get theQCEntrystatus.- Specified by:
getStatusin classQCEntry- Returns:
- a
QCEntry.QCEntryStatus
-
-