public class RootRawBioAssayData extends BasicData implements AnnotatableData, NameableData
RootRawBioAssay
Modifier and Type | Field and Description |
---|---|
private AnnotationSetData |
annotationSet |
private String |
description |
private ExperimentData |
experiment |
private Set<AnnotationLink> |
links |
private String |
name |
private RawBioAssayData |
rawBioAssay |
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Constructor and Description |
---|
RootRawBioAssayData() |
Modifier and Type | Method and Description |
---|---|
Set<AnnotationLink> |
getAnnotations()
Short-cut to all annotations belonging to this item.
|
AnnotationSetData |
getAnnotationSet()
Get the annotation set that holds the annotations for an item.
|
String |
getDescription()
Get the description for the item.
|
ExperimentData |
getExperiment()
Get the experiment this root raw bioassay belongs to.
|
String |
getName()
Get the name of the item.
|
RawBioAssayData |
getRawBioAssay()
Get the raw bioassay root raw bioassay is derived from.
|
(package private) void |
setAnnotations(Set<AnnotationLink> links) |
void |
setAnnotationSet(AnnotationSetData annotationSet)
Change the annotation set.
|
void |
setDescription(String description)
Set the description for the item.
|
void |
setExperiment(ExperimentData experiment) |
void |
setName(String name)
Set the name of the item.
|
void |
setRawBioAssay(RawBioAssayData rawBioAssay) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
private AnnotationSetData annotationSet
private Set<AnnotationLink> links
private String name
private String description
private ExperimentData experiment
private RawBioAssayData rawBioAssay
public AnnotationSetData getAnnotationSet()
AnnotatableData
getAnnotationSet
in interface AnnotatableData
AnnotationSetData
item or null if no annotations existpublic void setAnnotationSet(AnnotationSetData annotationSet)
AnnotatableData
setAnnotationSet
in interface AnnotatableData
annotationSet
- Annotation set to change to.public Set<AnnotationLink> getAnnotations()
AnnotatableData
getAnnotations
in interface AnnotatableData
void setAnnotations(Set<AnnotationLink> links)
public String getName()
NameableData
getName
in interface NameableData
String
with the name of the itempublic void setName(String name)
NameableData
MAX_NAME_LENGTH
constant.setName
in interface NameableData
name
- The new name for the itempublic String getDescription()
NameableData
getDescription
in interface NameableData
String
with a description of the itempublic void setDescription(String description)
NameableData
MAX_DESCRIPTION_LENGTH
constant.setDescription
in interface NameableData
description
- The new description for the itempublic ExperimentData getExperiment()
public void setExperiment(ExperimentData experiment)
public RawBioAssayData getRawBioAssay()
public void setRawBioAssay(RawBioAssayData rawBioAssay)