Class SequencingRun
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
-
- ca.corefacility.bioinformatics.irida.model.run.SequencingRun
-
- All Implemented Interfaces:
IridaThing,MutableIridaThing,Timestamped<java.lang.Long>,java.lang.Comparable<SequencingRun>
@Entity public class SequencingRun extends IridaRepresentationModel implements MutableIridaThing, java.lang.Comparable<SequencingRun>
This class represents a collection of sequence files that have come off one run of a sequencer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSequencingRun.LayoutTypeThe type of layout for the run.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSequencingRun()SequencingRun(SequencingRun.LayoutType layoutType, java.lang.String sequencerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOptionalProperty(java.lang.String key, java.lang.String value)Add one optional property to the map of propertiesintcompareTo(SequencingRun o)booleanequals(java.lang.Object obj)java.util.DategetCreatedDate()Get the created date of the objectjava.lang.StringgetDescription()java.lang.LonggetId()Get the numerical identifier for this objectjava.lang.StringgetLabel()Get a human readable label for this object.SequencingRun.LayoutTypegetLayoutType()java.util.DategetModifiedDate()Get the date that this object was last modifiedjava.util.Map<java.lang.String,java.lang.String>getOptionalProperties()Get the Map of optional propertiesjava.lang.StringgetOptionalProperty(java.lang.String key)Get an individual optional propertyjava.lang.StringgetSequencerType()Get the sequencer typeSequencingRunUploadStatusgetUploadStatus()UsergetUser()inthashCode()voidsetDescription(java.lang.String description)voidsetId(java.lang.Long id)Set the numerical identifier for this objectvoidsetModifiedDate(java.util.Date modifiedDate)Set the modification time of this objectvoidsetSequencerType(java.lang.String sequencerType)voidsetUser(User user)-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
add, add, getLink, getLinks, getRemoteStatus, getSelfHref, hasLink, hasLinks, removeLinks, setRemoteStatus, 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
-
-
-
-
Constructor Detail
-
SequencingRun
protected SequencingRun()
-
SequencingRun
public SequencingRun(SequencingRun.LayoutType layoutType, java.lang.String sequencerType)
-
-
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
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
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
-
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
Description copied from interface:MutableIridaThingSet the modification time of this object- Specified by:
setModifiedDatein interfaceMutableIridaThing- Parameters:
modifiedDate- The date where this object was modified
-
getLabel
public java.lang.String getLabel()
Get a human readable label for this object.- Specified by:
getLabelin interfaceIridaThing- Returns:
- a human-readable label for the object.
-
hashCode
public int hashCode()
Description copied from class:IridaRepresentationModel- Overrides:
hashCodein classIridaRepresentationModel
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:IridaRepresentationModel- Overrides:
equalsin classIridaRepresentationModel
-
getUploadStatus
public SequencingRunUploadStatus getUploadStatus()
-
getLayoutType
public SequencingRun.LayoutType getLayoutType()
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
addOptionalProperty
public void addOptionalProperty(java.lang.String key, java.lang.String value)Add one optional property to the map of properties- Parameters:
key- The key of the property to addvalue- The value of the property to add
-
getOptionalProperties
public java.util.Map<java.lang.String,java.lang.String> getOptionalProperties()
Get the Map of optional properties- Returns:
- A
Map<String,String>of all the optional propertie
-
getOptionalProperty
public java.lang.String getOptionalProperty(java.lang.String key)
Get an individual optional property- Parameters:
key- The key of the property to read- Returns:
- A String of the property's value
-
getSequencerType
public java.lang.String getSequencerType()
Get the sequencer type- Returns:
- Name of the sequencer type
-
setSequencerType
public void setSequencerType(java.lang.String sequencerType)
-
compareTo
public int compareTo(SequencingRun o)
- Specified by:
compareToin interfacejava.lang.Comparable<SequencingRun>
-
-