org.proteios.core.data
Class AnnotatedData
java.lang.Object
org.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.CommonData
org.proteios.core.data.AnnotatedData
- All Implemented Interfaces:
- AnnotatableData, IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData
- Direct Known Subclasses:
- BioMaterialData, DataProcessingStepData, FileData, InstrumentConfigurationData, MascotParameterSetStorageData, OMSSAParameterSetStorageData, PeakListData, PeakListSetData, PolyPeptideData, SearchResultData, SpectrumSearchData, XTandemParameterSetStorageData
public abstract class AnnotatedData
- extends CommonData
- implements AnnotatableData
This class extends the CommonData class and implements the
AnnotatableData interface. Ie. by extending this class a data item
becomes annotatable.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
AnnotatableData,
AnnotatedItem,
Annotation overview
AnnotatedData
public AnnotatedData()
getAnnotationSet
public AnnotationSetData getAnnotationSet()
- Description copied from interface:
AnnotatableData
- Get the annotation set that holds the annotations for an item.
- Specified by:
getAnnotationSet in interface AnnotatableData
- Returns:
- An
AnnotationSetData item or null if no annotations exist
setAnnotationSet
public void setAnnotationSet(AnnotationSetData annotationSet)
- Description copied from interface:
AnnotatableData
- Change the annotation set. Use null to remove the annotations.
- Specified by:
setAnnotationSet in interface AnnotatableData