Class SequencingObject
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
-
- ca.corefacility.bioinformatics.irida.model.sequenceFile.SequencingObject
-
- All Implemented Interfaces:
IridaThing,MutableIridaThing,RemoteSynchronizable,Timestamped<java.lang.Long>
- Direct Known Subclasses:
Fast5Object,SequenceFilePair,SingleEndSequenceFile
@Entity public abstract class SequencingObject extends IridaRepresentationModel implements MutableIridaThing, RemoteSynchronizable
Objects that were obtained from some sequencing platform.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequencingObject.ProcessingStateThe status of the file processing upon upload
-
Constructor Summary
Constructors Constructor Description SequencingObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AnalysisSubmissiongetAutomatedAssembly()java.util.DategetCreatedDate()Get the created date of the objectjava.lang.StringgetFileProcessor()abstract java.util.Set<SequenceFile>getFiles()Get theSequenceFiles associated with thisSequencingObjectSequenceFilegetFileWithId(java.lang.Long id)Get theSequenceFilewith the given id in this object's files collectionjava.lang.LonggetId()Get the numerical identifier for this objectjava.util.DategetModifiedDate()Get the date that this object was last modifiedSequencingObject.ProcessingStategetProcessingState()java.util.Set<QCEntry>getQcEntries()RemoteStatusgetRemoteStatus()Get theRemoteStatusfor this object if it was read from a remote sourceSequencingRungetSequencingRun()AnalysisSubmissiongetSistrTyping()inthashCode()voidsetAutomatedAssembly(AnalysisSubmission automatedAssembly)voidsetFileProcessor(java.lang.String fileProcessor)voidsetId(java.lang.Long id)Set the numerical identifier for this objectvoidsetProcessingState(SequencingObject.ProcessingState processingState)voidsetQcEntries(java.util.Set<QCEntry> qcEntries)voidsetRemoteStatus(RemoteStatus remoteStatus)Set theRemoteStatusfor this object if it was read from a remote sourcevoidsetSequencingRun(SequencingRun sequencingRun)voidsetSistrTyping(AnalysisSubmission sistrTyping)-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
add, add, getLink, getLinks, getSelfHref, hasLink, hasLinks, removeLinks, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.IridaThing
getIdentifier, getLabel, setLabel
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.MutableIridaThing
setModifiedDate
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.remote.RemoteSynchronizable
isRemote
-
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from interface:IridaThingGet the numerical identifier for this object- Specified by:
getIdin interfaceIridaThing- Specified by:
getIdin interfaceTimestamped<java.lang.Long>- Returns:
- the numerical identifier for the object
-
setId
public void setId(java.lang.Long id)
Description copied from interface:MutableIridaThingSet the numerical identifier for this object- Specified by:
setIdin interfaceMutableIridaThing- Parameters:
id- The ID to set
-
getCreatedDate
public java.util.Date getCreatedDate()
Description copied from interface:TimestampedGet the created date of the object- Specified by:
getCreatedDatein interfaceTimestamped<java.lang.Long>- Returns:
- A
Dateobject of the created date
-
getModifiedDate
public java.util.Date getModifiedDate()
Description copied from interface:MutableIridaThingGet the date that this object was last modified- Specified by:
getModifiedDatein interfaceMutableIridaThing- Returns:
Dateobject of the modified date
-
getSequencingRun
public SequencingRun getSequencingRun()
-
setSequencingRun
public void setSequencingRun(SequencingRun sequencingRun)
-
getFiles
public abstract java.util.Set<SequenceFile> getFiles()
Get theSequenceFiles associated with thisSequencingObject- Returns:
- a Set of
SequenceFile
-
getFileWithId
public SequenceFile getFileWithId(java.lang.Long id)
Get theSequenceFilewith the given id in this object's files collection- Parameters:
id- the ID of theSequenceFileto get- Returns:
- a
SequenceFile
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:IridaRepresentationModel- Overrides:
equalsin classIridaRepresentationModel
-
hashCode
public int hashCode()
Description copied from class:IridaRepresentationModel- Overrides:
hashCodein classIridaRepresentationModel
-
getAutomatedAssembly
public AnalysisSubmission getAutomatedAssembly()
-
setAutomatedAssembly
public void setAutomatedAssembly(AnalysisSubmission automatedAssembly)
-
getSistrTyping
public AnalysisSubmission getSistrTyping()
-
setSistrTyping
public void setSistrTyping(AnalysisSubmission sistrTyping)
-
getRemoteStatus
public RemoteStatus getRemoteStatus()
Description copied from class:IridaRepresentationModelGet theRemoteStatusfor this object if it was read from a remote source- Specified by:
getRemoteStatusin interfaceRemoteSynchronizable- Overrides:
getRemoteStatusin classIridaRepresentationModel- Returns:
- a
RemoteStatus
-
setRemoteStatus
public void setRemoteStatus(RemoteStatus remoteStatus)
Description copied from class:IridaRepresentationModelSet theRemoteStatusfor this object if it was read from a remote source- Specified by:
setRemoteStatusin interfaceRemoteSynchronizable- Overrides:
setRemoteStatusin classIridaRepresentationModel- Parameters:
remoteStatus- theRemoteStatusobject
-
getQcEntries
public java.util.Set<QCEntry> getQcEntries()
-
setQcEntries
public void setQcEntries(java.util.Set<QCEntry> qcEntries)
-
setProcessingState
public void setProcessingState(SequencingObject.ProcessingState processingState)
-
getProcessingState
public SequencingObject.ProcessingState getProcessingState()
-
setFileProcessor
public void setFileProcessor(java.lang.String fileProcessor)
-
getFileProcessor
public java.lang.String getFileProcessor()
-
-