public class Sample extends PermissionsAware implements Serializable, Comparable<Sample>, ParentAccessionModel, Annotatable<SampleAttribute>, FirstTierModel
| Modifier and Type | Field and Description |
|---|---|
static String |
GEO_REACTION_ID_ATTR_TAG
The presence of this attribute is used to identify that the sample is a library
|
| Constructor and Description |
|---|
Sample()
Constructor for Sample.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Sample that) |
boolean |
equals(Object other) |
String |
getAdapters()
Getter for the field
adapters. |
String |
getAlias()
Getter for the field
alias. |
Set<SampleAttribute> |
getAnnotations()
Get the annotations for this model
|
String |
getAnonymizedName()
Getter for the field
anonymizedName. |
Set<Sample> |
getChildren()
Getter for the field
children. |
Integer |
getCountFile()
Getter for the field
countFile. |
Date |
getCreateTimestamp()
Getter for the field
createTimestamp. |
String |
getDescription()
Getter for the field
description. |
Integer |
getExpectedNumReads()
Getter for the field
expectedNumReads. |
Integer |
getExpectedNumRuns()
Getter for the field
expectedNumRuns. |
Integer |
getExpectedNumSpots()
Getter for the field
expectedNumSpots. |
Experiment |
getExperiment()
Getter for the field
experiment. |
String |
getIndividualName()
Getter for the field
individualName. |
Boolean |
getIsHasFile()
Getter for the field
isHasFile. |
Boolean |
getIsSelected()
Getter for the field
isSelected. |
SortedSet<IUS> |
getIUS()
getIUS.
|
String |
getJsonEscapeDescription()
getJsonEscapeDescription.
|
String |
getJsonEscapeName()
getJsonEscapeName.
|
String |
getJsonEscapeTitle()
getJsonEscapeTitle.
|
SortedSet<Lane> |
getLanes()
Getter for the field
lanes. |
String |
getName()
Getter for the field
name. |
Organism |
getOrganism()
Getter for the field
organism. |
Integer |
getOrganismId()
Getter for the field
organismId. |
Registration |
getOwner()
Getter for the field
owner. |
Set<Sample> |
getParents()
Getter for the field
parents. |
Set<Processing> |
getProcessings()
Getter for the field
processings. |
String |
getRegions()
Getter for the field
regions. |
Set<SampleAttribute> |
getSampleAttributes()
Getter for the field
sampleAttributes. |
Integer |
getSampleId()
Getter for the field
sampleId. |
static long |
getSerialVersionUID()
Getter for the field
serialVersionUID. |
Boolean |
getSkip()
Getter for the field
skip. |
String |
getStrExpectedNumReads()
Getter for the field
strExpectedNumReads. |
String |
getStrExpectedNumRuns()
Getter for the field
strExpectedNumRuns. |
Integer |
getSwAccession()
Getter for the field
swAccession. |
String |
getTags()
Getter for the field
tags. |
String |
getTitle()
Getter for the field
title. |
String |
getType()
Getter for the field
type. |
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 |
setAdapters(String adapters)
Setter for the field
adapters. |
void |
setAlias(String alias)
Setter for the field
alias. |
void |
setAnonymizedName(String anonymizedName)
Setter for the field
anonymizedName. |
void |
setChildren(Set<Sample> children)
Setter for the field
children. |
void |
setCountFile(Integer countFile)
Setter for the field
countFile. |
void |
setCreateTimestamp(Date createTimestamp)
Setter for the field
createTimestamp. |
void |
setDescription(String description)
Setter for the field
description. |
void |
setExpectedNumReads(Integer expectedNumReads)
Setter for the field
expectedNumReads. |
void |
setExpectedNumRuns(Integer expectedNumRuns)
Setter for the field
expectedNumRuns. |
void |
setExpectedNumSpots(Integer expectedNumSpots)
Setter for the field
expectedNumSpots. |
void |
setExperiment(Experiment experiment)
Setter for the field
experiment. |
void |
setIndividualName(String individualName)
Setter for the field
individualName. |
void |
setIsHasFile(Boolean isHasFile)
Setter for the field
isHasFile. |
void |
setIsSelected(Boolean isSelected)
Setter for the field
isSelected. |
void |
setIUS(SortedSet<IUS> ius)
setIUS.
|
void |
setLanes(SortedSet<Lane> lanes)
Setter for the field
lanes. |
void |
setLanesForView(SortedSet<Lane> lanes)
setLanesForView.
|
void |
setName(String name)
Setter for the field
name. |
void |
setOrganism(Organism organism)
Setter for the field
organism. |
void |
setOrganismId(Integer organismId)
Setter for the field
organismId. |
void |
setOwner(Registration owner)
Setter for the field
owner. |
void |
setParents(Set<Sample> parents)
Setter for the field
parents. |
void |
setProcessings(Set<Processing> processings)
Setter for the field
processings. |
void |
setRegions(String regions)
Setter for the field
regions. |
void |
setSampleAttributes(Set<SampleAttribute> sampleAttributes)
Setter for the field
sampleAttributes. |
void |
setSampleId(Integer sampleId)
Setter for the field
sampleId. |
void |
setSkip(Boolean skip)
Setter for the field
skip. |
void |
setStrExpectedNumReads(String strExpectedNumReads)
Setter for the field
strExpectedNumReads. |
void |
setStrExpectedNumRuns(String strExpectedNumRuns)
Setter for the field
strExpectedNumRuns. |
void |
setSwAccession(Integer swAccession)
Setter for the field
swAccession. |
void |
setTags(String tags)
Setter for the field
tags. |
void |
setTitle(String title)
Setter for the field
title. |
void |
setType(String type)
Setter for the field
type. |
void |
setUpdateTimestamp(Date updateTimestamp)
Setter for the field
updateTimestamp. |
String |
toString() |
givesPermission, givesPermissionpublic static final String GEO_REACTION_ID_ATTR_TAG
public int compareTo(Sample that)
compareTo in interface Comparable<Sample>that - public void setAlias(String alias)
Setter for the field alias.
alias - a String object.public Integer getOrganismId()
Getter for the field organismId.
Integer object.public void setOrganismId(Integer organismId)
Setter for the field organismId.
organismId - a Integer object.public void setAdapters(String adapters)
Setter for the field adapters.
adapters - a String object.public String getIndividualName()
Getter for the field individualName.
String object.public void setIndividualName(String individualName)
Setter for the field individualName.
individualName - a String object.public void setTitle(String title)
Setter for the field title.
title - a String object.public Integer getExpectedNumRuns()
Getter for the field expectedNumRuns.
Integer object.public void setExpectedNumRuns(Integer expectedNumRuns)
Setter for the field expectedNumRuns.
expectedNumRuns - a Integer object.public Integer getExpectedNumSpots()
Getter for the field expectedNumSpots.
Integer object.public void setExpectedNumSpots(Integer expectedNumSpots)
Setter for the field expectedNumSpots.
expectedNumSpots - a Integer object.public Integer getExpectedNumReads()
Getter for the field expectedNumReads.
Integer object.public void setExpectedNumReads(Integer expectedNumReads)
Setter for the field expectedNumReads.
expectedNumReads - a Integer object.public void setLanes(SortedSet<Lane> lanes)
Setter for the field lanes.
lanes - a SortedSet object.public void setLanesForView(SortedSet<Lane> lanes)
setLanesForView.
lanes - a SortedSet object.public void setSampleId(Integer sampleId)
Setter for the field sampleId.
sampleId - a Integer object.public Experiment getExperiment()
Getter for the field experiment.
Experiment object.public void setExperiment(Experiment experiment)
Setter for the field experiment.
experiment - a Experiment 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 String getAnonymizedName()
Getter for the field anonymizedName.
String object.public void setAnonymizedName(String anonymizedName)
Setter for the field anonymizedName.
anonymizedName - a String object.public void setName(String name)
Setter for the field name.
name - a String object.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 setType(String type)
Setter for the field type.
type - a String object.public void setTags(String tags)
Setter for the field tags.
tags - a String object.public void setRegions(String regions)
Setter for the field regions.
regions - a String object.public void setSkip(Boolean skip)
Setter for the field skip.
skip - a Boolean 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 Integer getSwAccession()
Getter for the field swAccession.
getSwAccession in interface FirstTierModelInteger object.public void setSwAccession(Integer swAccession)
Setter for the field swAccession.
swAccession - a Integer object.public void setOrganism(Organism organism)
Setter for the field organism.
organism - a Organism 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 Integer getCountFile()
Getter for the field countFile.
Integer object.public void setCountFile(Integer countFile)
Setter for the field countFile.
countFile - a Integer object.public String getStrExpectedNumRuns()
Getter for the field strExpectedNumRuns.
String object.public void setStrExpectedNumRuns(String strExpectedNumRuns)
Setter for the field strExpectedNumRuns.
strExpectedNumRuns - a String object.public String getStrExpectedNumReads()
Getter for the field strExpectedNumReads.
String object.public void setStrExpectedNumReads(String strExpectedNumReads)
Setter for the field strExpectedNumReads.
strExpectedNumReads - a String 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 void setParents(Set<Sample> parents)
Setter for the field parents.
parents - a Set object.public void setChildren(Set<Sample> children)
Setter for the field children.
children - a Set object.public Set<SampleAttribute> getSampleAttributes()
Getter for the field sampleAttributes.
Set object.public void setSampleAttributes(Set<SampleAttribute> sampleAttributes)
Setter for the field sampleAttributes.
sampleAttributes - a Set object.public boolean givesPermissionInternal(Registration registration, Set<Integer> considered)
givesPermissionInternal in class PermissionsAwarepublic Set<SampleAttribute> getAnnotations()
AnnotatablegetAnnotations in interface Annotatable<SampleAttribute>Copyright © 2015 SeqWare. All rights reserved.