public class Study extends PermissionsAware implements Serializable, ParentAccessionModel, Comparable<Study>, Annotatable<StudyAttribute>, FirstTierModel
Constructor and Description |
---|
Study()
Constructor for Study.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Study that)
compareTo.
|
boolean |
equals(Object other) |
String |
getAbstractStr()
Getter for the field
abstractStr . |
String |
getAccession()
Getter for the field
accession . |
String |
getAlias()
Getter for the field
alias . |
Set<StudyAttribute> |
getAnnotations()
Get the annotations for this model
|
String |
getCenterName()
Getter for the field
centerName . |
String |
getCenterProjectName()
Getter for the field
centerProjectName . |
Date |
getCreateTimestamp()
Getter for the field
createTimestamp . |
String |
getDescription()
Getter for the field
description . |
StudyType |
getExistingType()
Getter for the field
existingType . |
Integer |
getExistingTypeInt()
Getter for the field
existingTypeInt . |
SortedSet<Experiment> |
getExperiments()
Getter for the field
experiments . |
String |
getHtml()
Getter for the field
html . |
Boolean |
getIsHasFile()
Getter for the field
isHasFile . |
Boolean |
getIsSelected()
Getter for the field
isSelected . |
String |
getJsonEscapeDescription()
getJsonEscapeDescription.
|
String |
getJsonEscapeDescription200()
getJsonEscapeDescription200.
|
String |
getJsonEscapeTitle()
getJsonEscapeTitle.
|
String |
getNewType()
Getter for the field
newType . |
Registration |
getOwner()
Getter for the field
owner . |
Set<Processing> |
getProcessings()
Getter for the field
processings . |
Integer |
getProjectId()
Getter for the field
projectId . |
static long |
getSerialVersionUID()
Getter for the field
serialVersionUID . |
SortedSet<ShareStudy> |
getSharedStudies()
Getter for the field
sharedStudies . |
String |
getStatus()
Getter for the field
status . |
Set<StudyAttribute> |
getStudyAttributes()
Getter for the field
studyAttributes . |
Integer |
getStudyId()
Getter for the field
studyId . |
Integer |
getSwAccession()
Getter for the field
swAccession . |
String |
getTitle()
Getter for the field
title . |
Date |
getUpdateTimestamp()
Getter for the field
updateTimestamp . |
boolean |
givesPermissionInternal(Registration registration,
Set<Integer> considered)
Short-circuit permission checking by providing a set of entities that have already been checked
|
int |
hashCode() |
void |
setAbstractStr(String abstractStr)
Setter for the field
abstractStr . |
void |
setAccession(String accession)
Setter for the field
accession . |
void |
setAlias(String alias)
Setter for the field
alias . |
void |
setCenterName(String centerName)
Setter for the field
centerName . |
void |
setCenterProjectName(String centerProjectName)
Setter for the field
centerProjectName . |
void |
setCreateTimestamp(Date createTimestamp)
Setter for the field
createTimestamp . |
void |
setDescription(String description)
Setter for the field
description . |
void |
setExistingType(StudyType existingType)
Setter for the field
existingType . |
void |
setExistingTypeInt(Integer existingTypeInt)
Setter for the field
existingTypeInt . |
void |
setExperiments(SortedSet<Experiment> experiments)
Setter for the field
experiments . |
void |
setHtml(String html)
Setter for the field
html . |
void |
setIsHasFile(Boolean isHasFile)
Setter for the field
isHasFile . |
void |
setIsSelected(Boolean isSelected)
Setter for the field
isSelected . |
void |
setNewType(String newType)
Setter for the field
newType . |
void |
setOwner(Registration owner)
Setter for the field
owner . |
void |
setProcessings(Set<Processing> processings)
Setter for the field
processings . |
void |
setProjectId(Integer projectId)
Setter for the field
projectId . |
void |
setSharedStudies(SortedSet<ShareStudy> sharedStudies)
Setter for the field
sharedStudies . |
void |
setStatus(String status)
Setter for the field
status . |
void |
setStudyAttributes(Set<StudyAttribute> studyAttributes)
Setter for the field
studyAttributes . |
void |
setStudyId(Integer studyId)
Setter for the field
studyId . |
void |
setSwAccession(Integer swAccession)
Setter for the field
swAccession . |
void |
setTitle(String title)
Setter for the field
title . |
void |
setUpdateTimestamp(Date updateTimestamp)
Setter for the field
updateTimestamp . |
String |
toString() |
givesPermission, givesPermission
public int compareTo(Study that)
compareTo.
compareTo
in interface Comparable<Study>
that
- a Study
object.public void setStudyId(Integer studyId)
Setter for the field studyId
.
studyId
- a Integer
object.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 void setTitle(String title)
Setter for the field title
.
title
- a String
object.public String getJsonEscapeDescription()
getJsonEscapeDescription.
String
object.public String getJsonEscapeDescription200()
getJsonEscapeDescription200.
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 setAlias(String alias)
Setter for the field alias
.
alias
- a String
object.public void setAccession(String accession)
Setter for the field accession
.
accession
- a String
object.public void setStatus(String status)
Setter for the field status
.
status
- a String
object.public String getAbstractStr()
Getter for the field abstractStr
.
String
object.public void setAbstractStr(String abstractStr)
Setter for the field abstractStr
.
abstractStr
- a String
object.public void setNewType(String newType)
Setter for the field newType
.
newType
- a String
object.public String getCenterName()
Getter for the field centerName
.
String
object.public void setCenterName(String centerName)
Setter for the field centerName
.
centerName
- a String
object.public String getCenterProjectName()
Getter for the field centerProjectName
.
String
object.public void setCenterProjectName(String centerProjectName)
Setter for the field centerProjectName
.
centerProjectName
- a String
object.public Integer getProjectId()
Getter for the field projectId
.
Integer
object.public void setProjectId(Integer projectId)
Setter for the field projectId
.
projectId
- 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 Registration getOwner()
Getter for the field owner
.
Registration
object.public void setOwner(Registration owner)
Setter for the field owner
.
owner
- a Registration
object.public StudyType getExistingType()
Getter for the field existingType
.
StudyType
object.public void setExistingType(StudyType existingType)
Setter for the field existingType
.
existingType
- a StudyType
object.public SortedSet<Experiment> getExperiments()
Getter for the field experiments
.
SortedSet
object.public void setExperiments(SortedSet<Experiment> experiments)
Setter for the field experiments
.
experiments
- a SortedSet
object.public static long getSerialVersionUID()
Getter for the field serialVersionUID
.
public Integer getExistingTypeInt()
Getter for the field existingTypeInt
.
Integer
object.public void setExistingTypeInt(Integer existingTypeInt)
Setter for the field existingTypeInt
.
existingTypeInt
- a Integer
object.public SortedSet<ShareStudy> getSharedStudies()
Getter for the field sharedStudies
.
SortedSet
object.public void setSharedStudies(SortedSet<ShareStudy> sharedStudies)
Setter for the field sharedStudies
.
sharedStudies
- a SortedSet
object.public Set<Processing> getProcessings()
Getter for the field processings
.
Set
object.public void setProcessings(Set<Processing> processings)
Setter for the field processings
.
processings
- a Set
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 setHtml(String html)
Setter for the field html
.
html
- a String
object.public Set<StudyAttribute> getStudyAttributes()
Getter for the field studyAttributes
.
Set
object.public void setStudyAttributes(Set<StudyAttribute> studyAttributes)
Setter for the field studyAttributes
.
studyAttributes
- a Set
object.public boolean givesPermissionInternal(Registration registration, Set<Integer> considered)
givesPermissionInternal
in class PermissionsAware
public Set<StudyAttribute> getAnnotations()
Annotatable
getAnnotations
in interface Annotatable<StudyAttribute>
Copyright © 2015 SeqWare. All rights reserved.