Class Project
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.IridaRepresentationModel
-
- ca.corefacility.bioinformatics.irida.model.project.Project
-
- All Implemented Interfaces:
IridaThing,MutableIridaThing,RemoteSynchronizable,Timestamped<java.lang.Long>,java.lang.Comparable<Project>
@Entity public class Project extends IridaRepresentationModel implements MutableIridaThing, java.lang.Comparable<Project>, RemoteSynchronizable
A project object.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Project p)booleanequals(java.lang.Object other)AnalysisSubmission.PrioritygetAnalysisPriority()java.util.DategetCreatedDate()Get the created date of the objectjava.lang.LonggetGenomeSize()java.lang.LonggetId()Get the numerical identifier for this objectjava.lang.StringgetLabel()Get a human readable label for this object.java.lang.IntegergetMaximumCoverage()java.lang.IntegergetMinimumCoverage()java.util.DategetModifiedDate()Get the date that this object was last modifiedjava.lang.StringgetName()java.lang.StringgetOrganism()java.lang.StringgetProjectDescription()java.lang.IntegergetRemoteProjectHash()RemoteStatusgetRemoteStatus()Get theRemoteStatusfor this object if it was read from a remote sourcejava.lang.StringgetRemoteURL()ProjectSyncFrequencygetSyncFrequency()inthashCode()voidsetAnalysisPriority(AnalysisSubmission.Priority analysisPriority)voidsetGenomeSize(java.lang.Long genomeSize)voidsetId(java.lang.Long id)Set the numerical identifier for this objectvoidsetMaximumCoverage(java.lang.Integer maximumCoverage)voidsetMinimumCoverage(java.lang.Integer minimumCoverage)voidsetModifiedDate(java.util.Date modifiedDate)Set the modification time of this objectvoidsetName(java.lang.String name)voidsetOrganism(java.lang.String organism)voidsetProjectDescription(java.lang.String projectDescription)voidsetRemoteProjectHash(java.lang.Integer remoteProjectHash)voidsetRemoteStatus(RemoteStatus remoteStatus)Set theRemoteStatusfor this object if it was read from a remote sourcevoidsetRemoteURL(java.lang.String remoteURL)voidsetSyncFrequency(ProjectSyncFrequency syncFrequency)-
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
-
Project
public Project()
-
Project
public Project(java.lang.String name)
Create a newProjectwith the given name- Parameters:
name- The name of the project
-
-
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
-
equals
public boolean equals(java.lang.Object other)
Description copied from class:IridaRepresentationModel- Overrides:
equalsin classIridaRepresentationModel
-
hashCode
public int hashCode()
Description copied from class:IridaRepresentationModel- Overrides:
hashCodein classIridaRepresentationModel
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
compareTo
public int compareTo(Project p)
- Specified by:
compareToin interfacejava.lang.Comparable<Project>
-
getLabel
public java.lang.String getLabel()
Description copied from interface:IridaThingGet a human readable label for this object.- Specified by:
getLabelin interfaceIridaThing- Returns:
- a human-readable label for the object.
-
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
-
getProjectDescription
public java.lang.String getProjectDescription()
-
setProjectDescription
public void setProjectDescription(java.lang.String projectDescription)
-
getRemoteURL
public java.lang.String getRemoteURL()
-
setRemoteURL
public void setRemoteURL(java.lang.String remoteURL)
-
getOrganism
public java.lang.String getOrganism()
-
setOrganism
public void setOrganism(java.lang.String organism)
-
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
-
getRemoteProjectHash
public java.lang.Integer getRemoteProjectHash()
-
setRemoteProjectHash
public void setRemoteProjectHash(java.lang.Integer remoteProjectHash)
-
getSyncFrequency
public ProjectSyncFrequency getSyncFrequency()
-
setSyncFrequency
public void setSyncFrequency(ProjectSyncFrequency syncFrequency)
-
getGenomeSize
public java.lang.Long getGenomeSize()
-
setGenomeSize
public void setGenomeSize(java.lang.Long genomeSize)
-
getMinimumCoverage
public java.lang.Integer getMinimumCoverage()
-
setMinimumCoverage
public void setMinimumCoverage(java.lang.Integer minimumCoverage)
-
getMaximumCoverage
public java.lang.Integer getMaximumCoverage()
-
setMaximumCoverage
public void setMaximumCoverage(java.lang.Integer maximumCoverage)
-
getAnalysisPriority
public AnalysisSubmission.Priority getAnalysisPriority()
-
setAnalysisPriority
public void setAnalysisPriority(AnalysisSubmission.Priority analysisPriority)
-
-