|
2.14.1: 2009-11-05 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.util.export.spotdata.AnnotationAssayField
public class AnnotationAssayField
Assay field implementation that exports the annotations of a
bioassay. Before it can be used an AnnotationType
must be configured.
Field Summary | |
---|---|
private AnnotationType |
at
|
private Formatter<?> |
formatter
|
private SnapshotManager |
snapshotManager
|
Constructor Summary | |
---|---|
AnnotationAssayField()
Create a new annotation field. |
Method Summary | |
---|---|
AnnotationType |
getAnnotationType()
Get the configured annotation type. |
Collection<?> |
getAssayValue(DbControl dc,
BioAssay ba)
Return all annotation values that are related to the specified bioassay, or null if not configured. |
Formatter<?> |
getFormatter()
Get a formatter that converts the values in this field to strings. |
String |
getTitle()
Returns the name of the configured annotation type, or the empty string if not configured. |
void |
setAnnotationType(AnnotationType at)
Set the annotation type of the annotations that should be exported in this field. |
void |
setFormatter(Formatter<?> formatter)
Set a formatter to use for formatting the exported values. |
void |
setSnapshotManager(SnapshotManager snapshotManager)
Set the snapshot manager that should be used to load annotation values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private AnnotationType at
private Formatter<?> formatter
private SnapshotManager snapshotManager
Constructor Detail |
---|
public AnnotationAssayField()
setAnnotationType(AnnotationType)
before use.
Method Detail |
---|
public String getTitle()
getTitle
in interface ExportableField
public Collection<?> getAssayValue(DbControl dc, BioAssay ba)
getAssayValue
in interface AssayField
dc
- The DbControl that is used for database accessba
- The bioassay to get the value(s) from
public Formatter<?> getFormatter()
ExportableField
getFormatter
in interface ExportableField
public void setAnnotationType(AnnotationType at)
public AnnotationType getAnnotationType()
public void setFormatter(Formatter<?> formatter)
public void setSnapshotManager(SnapshotManager snapshotManager)
|
2.14.1: 2009-11-05 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |