Class UploadedAssembly
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
-
- ca.corefacility.bioinformatics.irida.model.assembly.GenomeAssembly
-
- ca.corefacility.bioinformatics.irida.model.assembly.UploadedAssembly
-
- All Implemented Interfaces:
IridaSequenceFile,IridaThing,Timestamped<java.lang.Long>,VersionedFileFields<java.lang.Long>
@Entity public class UploadedAssembly extends GenomeAssembly
AGenomeAssemblyimplementation that was uploaded by a user or service
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUploadedAssembly()UploadedAssembly(java.nio.file.Path file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.file.PathgetFile()Gets the assembly file.java.lang.LonggetFileRevisionNumber()Get the version of the instance.RemoteStatusgetRemoteStatus()Get theRemoteStatusfor this object if it was read from a remote sourcevoidincrementFileRevisionNumber()Internally modify the file revision number to something new.voidsetFile(java.nio.file.Path file)voidsetRemoteStatus(RemoteStatus remoteStatus)Set theRemoteStatusfor this object if it was read from a remote source-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.assembly.GenomeAssembly
addSampleGenomeAssemblyJoin, equals, getCreatedDate, getFileName, getFileSize, getFileSizeBytes, getId, getLabel, hashCode, setId
-
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
-
-
-
-
Method Detail
-
getFile
public java.nio.file.Path getFile()
Description copied from class:GenomeAssemblyGets the assembly file.- Specified by:
getFilein interfaceIridaSequenceFile- Specified by:
getFilein classGenomeAssembly- Returns:
- The assembly file.
-
setFile
public void setFile(java.nio.file.Path file)
-
getFileRevisionNumber
public java.lang.Long getFileRevisionNumber()
Description copied from interface:VersionedFileFieldsGet the version of the instance.- Returns:
- the version of the instance.
-
incrementFileRevisionNumber
public void incrementFileRevisionNumber()
Description copied from interface:VersionedFileFieldsInternally modify the file revision number to something new.
-
getRemoteStatus
public RemoteStatus getRemoteStatus()
Description copied from class:IridaRepresentationModelGet theRemoteStatusfor this object if it was read from a remote source- 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- Overrides:
setRemoteStatusin classIridaRepresentationModel- Parameters:
remoteStatus- theRemoteStatusobject
-
-