Class QCEntry
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sample.QCEntry
-
- Direct Known Subclasses:
CoverageQCEntry,FileProcessorErrorQCEntry
@Entity public abstract class QCEntry extends java.lang.ObjectAbstract class describing quality control entries for aSequencingObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQCEntry.QCEntryStatusStatus of aQCEntry, whether checks are positive, negative, or can't be calculated.static classQCEntry.QCEntryTypeThe type ofQCEntry
-
Constructor Summary
Constructors Constructor Description QCEntry()QCEntry(SequencingObject sequencingObject)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaddProjectSettings(Project project)booleanequals(java.lang.Object obj)java.util.DategetCreatedDate()java.lang.LonggetId()abstract java.lang.StringgetMessage()Get the message for the qc entrySequencingObjectgetSequencingObject()abstract QCEntry.QCEntryStatusgetStatus()Get theQCEntrystatus.abstract QCEntry.QCEntryTypegetType()Return the type of qc entry.inthashCode()
-
-
-
Constructor Detail
-
QCEntry
public QCEntry()
-
QCEntry
public QCEntry(SequencingObject sequencingObject)
-
-
Method Detail
-
getId
public java.lang.Long getId()
-
getCreatedDate
public java.util.Date getCreatedDate()
-
getSequencingObject
public SequencingObject getSequencingObject()
-
getMessage
public abstract java.lang.String getMessage()
Get the message for the qc entry- Returns:
- the qc entry message to display
-
getType
public abstract QCEntry.QCEntryType getType()
Return the type of qc entry. This will be used for display and grouping in the UI.- Returns:
- the type of qc entry
-
addProjectSettings
public abstract void addProjectSettings(Project project)
Enhance theQCEntrywith aProjectif required. This way aQCEntrycan read project's settings to decide whether it's positive or negative.- Parameters:
project- theProjectto read from
-
getStatus
public abstract QCEntry.QCEntryStatus getStatus()
Get theQCEntrystatus.- Returns:
- a
QCEntry.QCEntryStatus
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-