public class Processing extends PermissionsAware implements Serializable, Comparable<Processing>, ParentAccessionModel, Annotatable<ProcessingAttribute>, FirstTierModel
Constructor and Description |
---|
Processing()
Constructor for Processing.
|
Modifier and Type | Method and Description |
---|---|
static ReturnValue |
clone(Processing newP)
clone.
|
static Processing |
cloneToHibernate(Processing newP)
cloneToHibernate.
|
int |
compareTo(Processing that) |
boolean |
equals(Object other) |
String |
getAlgorithm()
Getter for the field
algorithm . |
Set<ProcessingAttribute> |
getAnnotations()
Get the annotations for this model
|
Set<Processing> |
getChildren()
Getter for the field
children . |
Date |
getCreateTimestamp()
Getter for the field
createTimestamp . |
String |
getDescription()
Getter for the field
description . |
Integer |
getExitStatus()
Getter for the field
exitStatus . |
Set<Experiment> |
getExperiments()
Getter for the field
experiments . |
String |
getFilePath()
Getter for the field
filePath . |
Set<File> |
getFiles()
Getter for the field
files . |
Boolean |
getIsHasFile()
Getter for the field
isHasFile . |
Boolean |
getIsSelected()
Getter for the field
isSelected . |
Set<IUS> |
getIUS()
getIUS.
|
String |
getJsonEscapeAlgorithm()
getJsonEscapeAlgorithm.
|
String |
getJsonEscapeDescription()
getJsonEscapeDescription.
|
Set<Lane> |
getLanes()
Getter for the field
lanes . |
Registration |
getOwner()
Getter for the field
owner . |
String |
getParameters()
Getter for the field
parameters . |
Set<Processing> |
getParents()
Getter for the field
parents . |
Integer |
getProcessExitStatus()
Getter for the field
processExitStatus . |
Set<ProcessingAttribute> |
getProcessingAttributes()
Getter for the field
processingAttributes . |
Integer |
getProcessingId()
Getter for the field
processingId . |
Date |
getRunStartTimestamp()
Getter for the field
runStartTimestamp . |
Date |
getRunStopTimestamp()
Getter for the field
runStopTimestamp . |
Set<Sample> |
getSamples()
Getter for the field
samples . |
Set<SequencerRun> |
getSequencerRuns()
Getter for the field
sequencerRuns . |
static long |
getSerialVersionUID()
Getter for the field
serialVersionUID . |
ProcessingStatus |
getStatus() |
String |
getStderr()
Getter for the field
stderr . |
String |
getStdout()
Getter for the field
stdout . |
Set<Study> |
getStudies()
Getter for the field
studies . |
Integer |
getSwAccession()
Getter for the field
swAccession . |
Date |
getUpdateTimestamp()
Getter for the field
updateTimestamp . |
String |
getUrl()
Getter for the field
url . |
String |
getUrlLabel()
Getter for the field
urlLabel . |
String |
getVersion()
Getter for the field
version . |
WorkflowRun |
getWorkflowRun()
Getter for the field
workflowRun . |
WorkflowRun |
getWorkflowRunByAncestorWorkflowRunId()
Getter for the field
workflowRunByAncestorWorkflowRunId . |
Integer |
getWorkflowRunId()
Getter for the field
workflowRunId . |
boolean |
givesPermissionInternal(Registration registration,
Set<Integer> considered)
Short-circuit permission checking by providing a set of entities that have already been checked
|
int |
hashCode() |
boolean |
isTaskGroup()
isTaskGroup.
|
void |
resetCompletedChildren()
resetCompletedChildren.
|
void |
resetRunningChildren()
resetRunningChildren.
|
void |
setAlgorithm(String algorithm)
Setter for the field
algorithm . |
void |
setChildren(Set<Processing> children)
Setter for the field
children . |
void |
setCreateTimestamp(Date createTimestamp)
Setter for the field
createTimestamp . |
void |
setDescription(String description)
Setter for the field
description . |
void |
setExitStatus(Integer exitStatus)
Setter for the field
exitStatus . |
void |
setExperiments(Set<Experiment> experiments)
Setter for the field
experiments . |
void |
setFilePath(String filePath)
Setter for the field
filePath . |
void |
setFiles(Set<File> files)
Setter for the field
files . |
void |
setIsHasFile(Boolean isHasFile)
Setter for the field
isHasFile . |
void |
setIsSelected(Boolean isSelected)
Setter for the field
isSelected . |
void |
setIUS(Set<IUS> ius)
setIUS.
|
void |
setLanes(Set<Lane> lanes)
Setter for the field
lanes . |
void |
setOwner(Registration owner)
Setter for the field
owner . |
void |
setParameters(String parameters)
Setter for the field
parameters . |
void |
setParents(Set<Processing> parents)
Setter for the field
parents . |
void |
setProcessExitStatus(Integer processExitStatus)
Setter for the field
processExitStatus . |
void |
setProcessingAttributes(Set<ProcessingAttribute> processingAttributes)
Setter for the field
processingAttributes . |
void |
setProcessingId(Integer processingId)
Setter for the field
processingId . |
void |
setRunStartTimestamp(Date runStartTimestamp)
Setter for the field
runStartTimestamp . |
void |
setRunStopTimestamp(Date runStopTimestamp)
Setter for the field
runStopTimestamp . |
void |
setSamples(Set<Sample> samples)
Setter for the field
samples . |
void |
setSequencerRuns(Set<SequencerRun> sequencerRuns)
Setter for the field
sequencerRuns . |
void |
setStatus(ProcessingStatus status) |
void |
setStderr(String stderr)
Setter for the field
stderr . |
void |
setStdout(String stdout)
Setter for the field
stdout . |
void |
setStudies(Set<Study> studies)
Setter for the field
studies . |
void |
setSwAccession(Integer swAccession)
Setter for the field
swAccession . |
void |
setTaskGroup(boolean taskGroup)
Setter for the field
taskGroup . |
void |
setUpdateTimestamp(Date updateTimestamp)
Setter for the field
updateTimestamp . |
void |
setUrl(String url)
Setter for the field
url . |
void |
setUrlLabel(String urlLabel)
Setter for the field
urlLabel . |
void |
setVersion(String version)
Setter for the field
version . |
void |
setWorkflowRun(WorkflowRun workflowRun)
Setter for the field
workflowRun . |
void |
setWorkflowRunByAncestorWorkflowRunId(WorkflowRun workflowRunByAncestorWorkflowRunId)
Setter for the field
workflowRunByAncestorWorkflowRunId . |
void |
setWorkflowRunId(Integer workflowRunId)
Setter for the field
workflowRunId . |
String |
toString() |
givesPermission, givesPermission
public int compareTo(Processing that)
compareTo
in interface Comparable<Processing>
that
- public Integer getExitStatus()
Getter for the field exitStatus
.
Integer
object.public void setExitStatus(Integer exitStatus)
Setter for the field exitStatus
.
exitStatus
- a Integer
object.public Integer getProcessExitStatus()
Getter for the field processExitStatus
.
Integer
object.public void setProcessExitStatus(Integer processExitStatus)
Setter for the field processExitStatus
.
processExitStatus
- a Integer
object.public Set<Processing> getParents()
Getter for the field parents
.
Set
object.public void setParents(Set<Processing> parents)
Setter for the field parents
.
parents
- a Set
object.public Set<Processing> getChildren()
Getter for the field children
.
Set
object.public void setChildren(Set<Processing> children)
Setter for the field children
.
children
- a Set
object.public boolean isTaskGroup()
isTaskGroup.
public void setTaskGroup(boolean taskGroup)
Setter for the field taskGroup
.
taskGroup
- a boolean.public Integer getSwAccession()
Getter for the field swAccession
.
getSwAccession
in interface FirstTierModel
Integer
object.public void setSwAccession(Integer swAccession)
Setter for the field swAccession
.
swAccession
- a Integer
object.public Date getCreateTimestamp()
Getter for the field createTimestamp
.
Date
object.public void setCreateTimestamp(Date createTimestamp)
Setter for the field createTimestamp
.
createTimestamp
- a Date
object.public Date getUpdateTimestamp()
Getter for the field updateTimestamp
.
Date
object.public void setUpdateTimestamp(Date updateTimestamp)
Setter for the field updateTimestamp
.
updateTimestamp
- a Date
object.public static long getSerialVersionUID()
Getter for the field serialVersionUID
.
public String getJsonEscapeAlgorithm()
getJsonEscapeAlgorithm.
String
object.public void setAlgorithm(String algorithm)
Setter for the field algorithm
.
algorithm
- a String
object.public void setFilePath(String filePath)
Setter for the field filePath
.
filePath
- a String
object.public Integer getProcessingId()
Getter for the field processingId
.
Integer
object.public void setProcessingId(Integer processingId)
Setter for the field processingId
.
processingId
- a Integer
object.public ProcessingStatus getStatus()
public void setStatus(ProcessingStatus status)
public String getJsonEscapeDescription()
getJsonEscapeDescription.
String
object.public String getDescription()
Getter for the field description
.
String
object.public void setDescription(String description)
Setter for the field description
.
description
- a String
object.public void setLanes(Set<Lane> lanes)
Setter for the field lanes
.
lanes
- a Set
object.public void setUrlLabel(String urlLabel)
Setter for the field urlLabel
.
urlLabel
- a String
object.public void setVersion(String version)
Setter for the field version
.
version
- a String
object.public void setFiles(Set<File> files)
Setter for the field files
.
files
- a Set
object.public Integer getWorkflowRunId()
Getter for the field workflowRunId
.
Integer
object.public void setWorkflowRunId(Integer workflowRunId)
Setter for the field workflowRunId
.
workflowRunId
- a Integer
object.public Registration getOwner()
Getter for the field owner
.
Registration
object.public void setOwner(Registration owner)
Setter for the field owner
.
owner
- a Registration
object.public WorkflowRun getWorkflowRun()
Getter for the field workflowRun
.
WorkflowRun
object.public void setWorkflowRun(WorkflowRun workflowRun)
Setter for the field workflowRun
.
workflowRun
- a WorkflowRun
object.public Boolean getIsSelected()
Getter for the field isSelected
.
Boolean
object.public void setIsSelected(Boolean isSelected)
Setter for the field isSelected
.
isSelected
- a Boolean
object.public Boolean getIsHasFile()
Getter for the field isHasFile
.
Boolean
object.public void setIsHasFile(Boolean isHasFile)
Setter for the field isHasFile
.
isHasFile
- a Boolean
object.public void setStudies(Set<Study> studies)
Setter for the field studies
.
studies
- a Set
object.public void setSamples(Set<Sample> samples)
Setter for the field samples
.
samples
- a Set
object.public Set<SequencerRun> getSequencerRuns()
Getter for the field sequencerRuns
.
Set
object.public void setSequencerRuns(Set<SequencerRun> sequencerRuns)
Setter for the field sequencerRuns
.
sequencerRuns
- a Set
object.public Set<Experiment> getExperiments()
Getter for the field experiments
.
Set
object.public void setExperiments(Set<Experiment> experiments)
Setter for the field experiments
.
experiments
- a Set
object.public Date getRunStartTimestamp()
Getter for the field runStartTimestamp
.
Date
object.public void setRunStartTimestamp(Date runStartTimestamp)
Setter for the field runStartTimestamp
.
runStartTimestamp
- a Date
object.public Date getRunStopTimestamp()
Getter for the field runStopTimestamp
.
Date
object.public void setRunStopTimestamp(Date runStopTimestamp)
Setter for the field runStopTimestamp
.
runStopTimestamp
- a Date
object.public String getParameters()
Getter for the field parameters
.
String
object.public void setParameters(String parameters)
Setter for the field parameters
.
parameters
- a String
object.public void setStdout(String stdout)
Setter for the field stdout
.
stdout
- a String
object.public void setStderr(String stderr)
Setter for the field stderr
.
stderr
- a String
object.public WorkflowRun getWorkflowRunByAncestorWorkflowRunId()
Getter for the field workflowRunByAncestorWorkflowRunId
.
WorkflowRun
object.public void setWorkflowRunByAncestorWorkflowRunId(WorkflowRun workflowRunByAncestorWorkflowRunId)
Setter for the field workflowRunByAncestorWorkflowRunId
.
workflowRunByAncestorWorkflowRunId
- a WorkflowRun
object.public Set<ProcessingAttribute> getProcessingAttributes()
Getter for the field processingAttributes
.
Set
object.public void setProcessingAttributes(Set<ProcessingAttribute> processingAttributes)
Setter for the field processingAttributes
.
processingAttributes
- a Set
object.public void resetCompletedChildren()
resetCompletedChildren.
public void resetRunningChildren()
resetRunningChildren.
public static ReturnValue clone(Processing newP) throws org.restlet.resource.ResourceException, SQLException
clone.
newP
- a Processing
object.ReturnValue
object.org.restlet.resource.ResourceException
- if any.SQLException
- if any.public static Processing cloneToHibernate(Processing newP)
cloneToHibernate.
newP
- a Processing
object.Processing
object.public boolean givesPermissionInternal(Registration registration, Set<Integer> considered)
givesPermissionInternal
in class PermissionsAware
public Set<ProcessingAttribute> getAnnotations()
Annotatable
getAnnotations
in interface Annotatable<ProcessingAttribute>
Copyright © 2015 SeqWare. All rights reserved.