Class SingleEndSequenceFile
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
-
- ca.corefacility.bioinformatics.irida.model.sequenceFile.SequencingObject
-
- ca.corefacility.bioinformatics.irida.model.sequenceFile.SingleEndSequenceFile
-
- All Implemented Interfaces:
IridaThing
,MutableIridaThing
,RemoteSynchronizable
,Timestamped<java.lang.Long>
@Entity public class SingleEndSequenceFile extends SequencingObject
SequencingObject
from a single ended sequence run. This class will contain only one SequenceFile.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ca.corefacility.bioinformatics.irida.model.sequenceFile.SequencingObject
SequencingObject.ProcessingState
-
-
Constructor Summary
Constructors Constructor Description SingleEndSequenceFile(SequenceFile file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.Set<SequenceFile>
getFiles()
Get theSequenceFile
s associated with thisSequencingObject
java.lang.String
getLabel()
Get a human readable label for this object.SequenceFile
getSequenceFile()
int
hashCode()
void
setModifiedDate(java.util.Date modifiedDate)
ThrowsUnsupportedOperationException
because you should not be able to update a file.void
setSequenceFile(SequenceFile file)
-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.sequenceFile.SequencingObject
getAutomatedAssembly, getCreatedDate, getFileProcessor, getFileWithId, getId, getModifiedDate, getProcessingState, getQcEntries, getRemoteStatus, getSequencingRun, getSistrTyping, setAutomatedAssembly, setFileProcessor, setId, setProcessingState, setQcEntries, setRemoteStatus, setSequencingRun, setSistrTyping
-
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, setLabel
-
Methods inherited from interface ca.corefacility.bioinformatics.irida.model.remote.RemoteSynchronizable
isRemote
-
-
-
-
Constructor Detail
-
SingleEndSequenceFile
public SingleEndSequenceFile(SequenceFile file)
-
-
Method Detail
-
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
ThrowsUnsupportedOperationException
because you should not be able to update a file.- Parameters:
modifiedDate
- The date where this object was modified
-
getLabel
public java.lang.String getLabel()
Get a human readable label for this object.- Returns:
- a human-readable label for the object.
-
getFiles
public java.util.Set<SequenceFile> getFiles()
Get theSequenceFile
s associated with thisSequencingObject
- Specified by:
getFiles
in classSequencingObject
- Returns:
- a Set of
SequenceFile
-
getSequenceFile
public SequenceFile getSequenceFile()
-
setSequenceFile
public void setSequenceFile(SequenceFile file)
-
equals
public boolean equals(java.lang.Object other)
Description copied from class:IridaRepresentationModel
- Overrides:
equals
in classSequencingObject
-
hashCode
public int hashCode()
Description copied from class:IridaRepresentationModel
- Overrides:
hashCode
in classSequencingObject
-
-