bioformats  5.1.3
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
ome::xml::model::Annotation Class Reference

Annotation model object. More...

#include <ome/xml/model/Annotation.h>

+ Inheritance diagram for ome::xml::model::Annotation:
+ Collaboration diagram for ome::xml::model::Annotation:

Public Member Functions

 Annotation ()
 Default constructor.
 
 Annotation (const Annotation &copy)
 Copy constructor. More...
 
virtual ~Annotation ()
 Destructor.
 
bool validElementName (const std::string &name) const
 Check if a given element name is valid for processing by this model object. More...
 
virtual void update (const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
 Update the object hierarchy recursively from an XML DOM tree. More...
 
bool link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &object)
 Link a given OME model object to this model object. More...
 
ome::compat::shared_ptr< std::string > getNamespace ()
 Get the Namespace property. More...
 
const ome::compat::shared_ptr< std::string > getNamespace () const
 Get the Namespace property. More...
 
void setNamespace (ome::compat::shared_ptr< std::string > &namespace_)
 Set the Namespace property. More...
 
const std::string & getID () const
 Get the ID property. More...
 
void setID (const std::string &id)
 Set the ID property. More...
 
ome::compat::shared_ptr< std::string > getAnnotator ()
 Get the Annotator property. More...
 
const ome::compat::shared_ptr< std::string > getAnnotator () const
 Get the Annotator property. More...
 
void setAnnotator (ome::compat::shared_ptr< std::string > &annotator)
 Set the Annotator property. More...
 
ome::compat::shared_ptr< std::string > getDescription ()
 Get the Description property. More...
 
const ome::compat::shared_ptr< std::string > getDescription () const
 Get the Description property. More...
 
void setDescription (ome::compat::shared_ptr< std::string > &description)
 Set the Description property. More...
 
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type sizeOfLinkedAnnotationList () const
 Get size of linked Annotation list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type getLinkedAnnotationList () const
 Get the linked Annotation list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Annotation > & getLinkedAnnotation (OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Annotation. More...
 
const ome::compat::weak_ptr< ome::xml::model::Annotation > & setLinkedAnnotation (OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
 Set linked Annotation. More...
 
bool linkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
 Link Annotation. More...
 
bool unlinkAnnotation (const ome::compat::shared_ptr< ome::xml::model::Annotation > &annotation)
 Unlink Annotation. More...
 
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type sizeOfLinkedImageList () const
 Get size of linked Image list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type getLinkedImageList () const
 Get the linked Image list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Image > & getLinkedImage (OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Image. More...
 
const ome::compat::weak_ptr< ome::xml::model::Image > & setLinkedImage (OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
 Set linked Image. More...
 
bool linkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
 Link Image. More...
 
bool unlinkImage (const ome::compat::shared_ptr< ome::xml::model::Image > &image_BackReference)
 Unlink Image. More...
 
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPixelsList () const
 Get size of linked Pixels list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type getLinkedPixelsList () const
 Get the linked Pixels list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Pixels > & getLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Pixels. More...
 
const ome::compat::weak_ptr< ome::xml::model::Pixels > & setLinkedPixels (OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference)
 Set linked Pixels. More...
 
bool linkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference)
 Link Pixels. More...
 
bool unlinkPixels (const ome::compat::shared_ptr< ome::xml::model::Pixels > &pixels_BackReference)
 Unlink Pixels. More...
 
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlaneList () const
 Get size of linked Plane list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type getLinkedPlaneList () const
 Get the linked Plane list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Plane > & getLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Plane. More...
 
const ome::compat::weak_ptr< ome::xml::model::Plane > & setLinkedPlane (OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
 Set linked Plane. More...
 
bool linkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
 Link Plane. More...
 
bool unlinkPlane (const ome::compat::shared_ptr< ome::xml::model::Plane > &plane_BackReference)
 Unlink Plane. More...
 
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type sizeOfLinkedChannelList () const
 Get size of linked Channel list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type getLinkedChannelList () const
 Get the linked Channel list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Channel > & getLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Channel. More...
 
const ome::compat::weak_ptr< ome::xml::model::Channel > & setLinkedChannel (OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
 Set linked Channel. More...
 
bool linkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
 Link Channel. More...
 
bool unlinkChannel (const ome::compat::shared_ptr< ome::xml::model::Channel > &channel_BackReference)
 Unlink Channel. More...
 
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type sizeOfLinkedProjectList () const
 Get size of linked Project list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type getLinkedProjectList () const
 Get the linked Project list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Project > & getLinkedProject (OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Project. More...
 
const ome::compat::weak_ptr< ome::xml::model::Project > & setLinkedProject (OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
 Set linked Project. More...
 
bool linkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
 Link Project. More...
 
bool unlinkProject (const ome::compat::shared_ptr< ome::xml::model::Project > &project_BackReference)
 Unlink Project. More...
 
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterGroupList () const
 Get size of linked ExperimenterGroup list. More...
 
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type getLinkedExperimenterGroupList () const
 Get the linked ExperimenterGroup list. More...
 
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & getLinkedExperimenterGroup (OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index) const
 Get linked ExperimenterGroup. More...
 
const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & setLinkedExperimenterGroup (OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
 Set linked ExperimenterGroup. More...
 
bool linkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
 Link ExperimenterGroup. More...
 
bool unlinkExperimenterGroup (const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &experimenterGroup_BackReference)
 Unlink ExperimenterGroup. More...
 
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type sizeOfLinkedDatasetList () const
 Get size of linked Dataset list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type getLinkedDatasetList () const
 Get the linked Dataset list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Dataset > & getLinkedDataset (OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Dataset. More...
 
const ome::compat::weak_ptr< ome::xml::model::Dataset > & setLinkedDataset (OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
 Set linked Dataset. More...
 
bool linkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
 Link Dataset. More...
 
bool unlinkDataset (const ome::compat::shared_ptr< ome::xml::model::Dataset > &dataset_BackReference)
 Unlink Dataset. More...
 
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type sizeOfLinkedExperimenterList () const
 Get size of linked Experimenter list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type getLinkedExperimenterList () const
 Get the linked Experimenter list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & getLinkedExperimenter (OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Experimenter. More...
 
const ome::compat::weak_ptr< ome::xml::model::Experimenter > & setLinkedExperimenter (OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
 Set linked Experimenter. More...
 
bool linkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
 Link Experimenter. More...
 
bool unlinkExperimenter (const ome::compat::shared_ptr< ome::xml::model::Experimenter > &experimenter_BackReference)
 Unlink Experimenter. More...
 
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type sizeOfLinkedROIList () const
 Get size of linked ROI list. More...
 
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type getLinkedROIList () const
 Get the linked ROI list. More...
 
const ome::compat::weak_ptr< ome::xml::model::ROI > & getLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index) const
 Get linked ROI. More...
 
const ome::compat::weak_ptr< ome::xml::model::ROI > & setLinkedROI (OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
 Set linked ROI. More...
 
bool linkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
 Link ROI. More...
 
bool unlinkROI (const ome::compat::shared_ptr< ome::xml::model::ROI > &roi_BackReference)
 Unlink ROI. More...
 
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlateList () const
 Get size of linked Plate list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type getLinkedPlateList () const
 Get the linked Plate list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Plate > & getLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Plate. More...
 
const ome::compat::weak_ptr< ome::xml::model::Plate > & setLinkedPlate (OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
 Set linked Plate. More...
 
bool linkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
 Link Plate. More...
 
bool unlinkPlate (const ome::compat::shared_ptr< ome::xml::model::Plate > &plate_BackReference)
 Unlink Plate. More...
 
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type sizeOfLinkedReagentList () const
 Get size of linked Reagent list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type getLinkedReagentList () const
 Get the linked Reagent list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Reagent > & getLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Reagent. More...
 
const ome::compat::weak_ptr< ome::xml::model::Reagent > & setLinkedReagent (OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
 Set linked Reagent. More...
 
bool linkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
 Link Reagent. More...
 
bool unlinkReagent (const ome::compat::shared_ptr< ome::xml::model::Reagent > &reagent_BackReference)
 Unlink Reagent. More...
 
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type sizeOfLinkedScreenList () const
 Get size of linked Screen list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type getLinkedScreenList () const
 Get the linked Screen list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Screen > & getLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Screen. More...
 
const ome::compat::weak_ptr< ome::xml::model::Screen > & setLinkedScreen (OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
 Set linked Screen. More...
 
bool linkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
 Link Screen. More...
 
bool unlinkScreen (const ome::compat::shared_ptr< ome::xml::model::Screen > &screen_BackReference)
 Unlink Screen. More...
 
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type sizeOfLinkedPlateAcquisitionList () const
 Get size of linked PlateAcquisition list. More...
 
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type getLinkedPlateAcquisitionList () const
 Get the linked PlateAcquisition list. More...
 
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & getLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index) const
 Get linked PlateAcquisition. More...
 
const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & setLinkedPlateAcquisition (OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
 Set linked PlateAcquisition. More...
 
bool linkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
 Link PlateAcquisition. More...
 
bool unlinkPlateAcquisition (const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &plateAcquisition_BackReference)
 Unlink PlateAcquisition. More...
 
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type sizeOfLinkedWellList () const
 Get size of linked Well list. More...
 
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type getLinkedWellList () const
 Get the linked Well list. More...
 
const ome::compat::weak_ptr< ome::xml::model::Well > & getLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index) const
 Get linked Well. More...
 
const ome::compat::weak_ptr< ome::xml::model::Well > & setLinkedWell (OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
 Set linked Well. More...
 
bool linkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
 Link Well. More...
 
bool unlinkWell (const ome::compat::shared_ptr< ome::xml::model::Well > &well_BackReference)
 Unlink Well. More...
 
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type sizeOfLinkedWellSampleList () const
 Get size of linked WellSample list. More...
 
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type getLinkedWellSampleList () const
 Get the linked WellSample list. More...
 
const ome::compat::weak_ptr< ome::xml::model::WellSample > & getLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index) const
 Get linked WellSample. More...
 
const ome::compat::weak_ptr< ome::xml::model::WellSample > & setLinkedWellSample (OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type index, const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
 Set linked WellSample. More...
 
bool linkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
 Link WellSample. More...
 
bool unlinkWellSample (const ome::compat::shared_ptr< ome::xml::model::WellSample > &wellSample_BackReference)
 Unlink WellSample. More...
 
virtual common::xml::dom::Element asXMLElement (common::xml::dom::Document &document) const
 Transform the object hierarchy rooted at this element to XML. More...
 
const std::string & getXMLNamespace () const
 Get the XML namespace for this model object. More...
 
- Public Member Functions inherited from ome::xml::model::detail::OMEModelObject
virtual ~OMEModelObject ()
 Destructor.
 
virtual void update (const common::xml::dom::Element &element,::ome::xml::model::OMEModel &model)
 Update the object hierarchy recursively from an XML DOM tree. More...
 
virtual bool link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< ::ome::xml::model::OMEModelObject > &object)
 Link a given OME model object to this model object. More...
 
- Public Member Functions inherited from ome::xml::model::OMEModelObject
virtual const std::string & elementName () const =0
 Get the element name of this model object. More...
 
virtual bool link (ome::compat::shared_ptr< Reference > &reference, ome::compat::shared_ptr< OMEModelObject > &object)=0
 Link a given OME model object to this model object. More...
 

Protected Member Functions

virtual common::xml::dom::Element asXMLElementInternal (common::xml::dom::Document &document, common::xml::dom::Element &element) const
 Transform the object hierarchy rooted at this element to XML. More...
 
- Protected Member Functions inherited from ome::xml::model::detail::OMEModelObject
 OMEModelObject (const std::string &objectType="OMEModelObject")
 Constructor.
 
 OMEModelObject (const OMEModelObject &copy)
 Copy constructor. More...
 
template<class C , typename T >
bool contains (const C &container, const ome::compat::shared_ptr< T > &element)
 Check if a container contains a particular element. More...
 
- Protected Member Functions inherited from ome::xml::model::OMEModelObject
 OMEModelObject ()
 Constructor.
 

Private Attributes

ome::compat::shared_ptr< std::string > namespace_
 Namespace property.
 
std::string id
 ID property.
 
ome::compat::shared_ptr< std::string > annotator
 Annotator property.
 
ome::compat::shared_ptr< std::string > description
 Description property.
 
OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type annotationLinks
 AnnotationRef reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type imageLinks
 Image_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type pixelsLinks
 Pixels_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type planeLinks
 Plane_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type channelLinks
 Channel_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type projectLinks
 Project_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type experimenterGroupLinks
 ExperimenterGroup_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type datasetLinks
 Dataset_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type experimenterLinks
 Experimenter_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type roiLinks
 ROI_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type plateLinks
 Plate_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type reagentLinks
 Reagent_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type screenLinks
 Screen_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type plateAcquisitionLinks
 PlateAcquisition_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type wellLinks
 Well_BackReference back reference (occurs more than once)
 
OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type wellSampleLinks
 WellSample_BackReference back reference (occurs more than once)
 

Additional Inherited Members

- Static Public Member Functions inherited from ome::xml::model::detail::OMEModelObject
static std::vector< common::xml::dom::ElementgetChildrenByTagName (const common::xml::dom::Element &parent, const std::string &name)
 Retrieve all the children of an element that have a given tag name. More...
 
static std::string stripNamespacePrefix (const std::string &value)
 Strip the namespace prefix from a tag name. More...
 
- Protected Attributes inherited from ome::xml::model::detail::OMEModelObject
ome::common::Logger logger
 Message logger.
 

Detailed Description

Annotation model object.

Constructor & Destructor Documentation

ome::xml::model::Annotation::Annotation ( const Annotation copy)

Copy constructor.

Parameters
copythe Annotation to copy.

Member Function Documentation

common::xml::dom::Element ome::xml::model::Annotation::asXMLElement ( common::xml::dom::Document document) const
virtual
common::xml::dom::Element ome::xml::model::Annotation::asXMLElementInternal ( common::xml::dom::Document document,
common::xml::dom::Element element 
) const
protectedvirtual

Transform the object hierarchy rooted at this element to XML.

This internal implementation of asXMLelement also requires an XML element, which must not be null, or may be instantiated and passed from superclasses.

Parameters
documentXML document for element creation.
elementXML element for setting model data.
Returns
an XML DOM tree root element for this model object.

Implements ome::xml::model::detail::OMEModelObject.

Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::OriginalMetadataAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.

References annotationLinks, annotator, ome::common::xml::dom::Node::appendChild(), ome::xml::model::detail::OMEModelObject::asXMLElementInternal(), ome::common::xml::dom::Document::createElementNS(), description, id, namespace_, and ome::common::xml::dom::Element::setAttribute().

Referenced by asXMLElement(), ome::xml::model::BasicAnnotation::asXMLElementInternal(), ome::xml::model::TextAnnotation::asXMLElementInternal(), ome::xml::model::NumericAnnotation::asXMLElementInternal(), ome::xml::model::TypeAnnotation::asXMLElementInternal(), and ome::xml::model::ListAnnotation::asXMLElementInternal().

+ Here is the caller graph for this function:

ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getAnnotator ( )

Get the Annotator property.

Returns
the Annotator property.

References annotator.

const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getAnnotator ( ) const

Get the Annotator property.

Returns
the Annotator property.

References annotator.

ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getDescription ( )

Get the Description property.

Returns
the Description property.

References description.

const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getDescription ( ) const

Get the Description property.

Returns
the Description property.

References description.

const std::string & ome::xml::model::Annotation::getID ( ) const

Get the ID property.

Returns
the ID property.

References id.

Referenced by update().

+ Here is the caller graph for this function:

const ome::compat::weak_ptr< ome::xml::model::Annotation > & ome::xml::model::Annotation::getLinkedAnnotation ( OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Annotation.

Parameters
indexthe index number of the Annotation.
Returns
a weak pointer to the Annotation.
Exceptions
std::out_of_rangeif the index is invalid.

References annotationLinks.

OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedAnnotationList ( ) const

Get the linked Annotation list.

Returns
a reference to the list.

References annotationLinks.

const ome::compat::weak_ptr< ome::xml::model::Channel > & ome::xml::model::Annotation::getLinkedChannel ( OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Channel.

Parameters
indexthe index number of the Channel.
Returns
a weak pointer to the Channel.
Exceptions
std::out_of_rangeif the index is invalid.

References channelLinks.

OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedChannelList ( ) const

Get the linked Channel list.

Returns
a reference to the list.

References channelLinks.

const ome::compat::weak_ptr< ome::xml::model::Dataset > & ome::xml::model::Annotation::getLinkedDataset ( OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Dataset.

Parameters
indexthe index number of the Dataset.
Returns
a weak pointer to the Dataset.
Exceptions
std::out_of_rangeif the index is invalid.

References datasetLinks.

OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedDatasetList ( ) const

Get the linked Dataset list.

Returns
a reference to the list.

References datasetLinks.

const ome::compat::weak_ptr< ome::xml::model::Experimenter > & ome::xml::model::Annotation::getLinkedExperimenter ( OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Experimenter.

Parameters
indexthe index number of the Experimenter.
Returns
a weak pointer to the Experimenter.
Exceptions
std::out_of_rangeif the index is invalid.

References experimenterLinks.

const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::Annotation::getLinkedExperimenterGroup ( OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type  index) const

Get linked ExperimenterGroup.

Parameters
indexthe index number of the ExperimenterGroup.
Returns
a weak pointer to the ExperimenterGroup.
Exceptions
std::out_of_rangeif the index is invalid.

References experimenterGroupLinks.

OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedExperimenterGroupList ( ) const

Get the linked ExperimenterGroup list.

Returns
a reference to the list.

References experimenterGroupLinks.

OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedExperimenterList ( ) const

Get the linked Experimenter list.

Returns
a reference to the list.

References experimenterLinks.

const ome::compat::weak_ptr< ome::xml::model::Image > & ome::xml::model::Annotation::getLinkedImage ( OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Image.

Parameters
indexthe index number of the Image.
Returns
a weak pointer to the Image.
Exceptions
std::out_of_rangeif the index is invalid.

References imageLinks.

OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedImageList ( ) const

Get the linked Image list.

Returns
a reference to the list.

References imageLinks.

const ome::compat::weak_ptr< ome::xml::model::Pixels > & ome::xml::model::Annotation::getLinkedPixels ( OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Pixels.

Parameters
indexthe index number of the Pixels.
Returns
a weak pointer to the Pixels.
Exceptions
std::out_of_rangeif the index is invalid.

References pixelsLinks.

OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPixelsList ( ) const

Get the linked Pixels list.

Returns
a reference to the list.

References pixelsLinks.

const ome::compat::weak_ptr< ome::xml::model::Plane > & ome::xml::model::Annotation::getLinkedPlane ( OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Plane.

Parameters
indexthe index number of the Plane.
Returns
a weak pointer to the Plane.
Exceptions
std::out_of_rangeif the index is invalid.

References planeLinks.

OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlaneList ( ) const

Get the linked Plane list.

Returns
a reference to the list.

References planeLinks.

const ome::compat::weak_ptr< ome::xml::model::Plate > & ome::xml::model::Annotation::getLinkedPlate ( OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Plate.

Parameters
indexthe index number of the Plate.
Returns
a weak pointer to the Plate.
Exceptions
std::out_of_rangeif the index is invalid.

References plateLinks.

const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & ome::xml::model::Annotation::getLinkedPlateAcquisition ( OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type  index) const

Get linked PlateAcquisition.

Parameters
indexthe index number of the PlateAcquisition.
Returns
a weak pointer to the PlateAcquisition.
Exceptions
std::out_of_rangeif the index is invalid.

References plateAcquisitionLinks.

OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlateAcquisitionList ( ) const

Get the linked PlateAcquisition list.

Returns
a reference to the list.

References plateAcquisitionLinks.

OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedPlateList ( ) const

Get the linked Plate list.

Returns
a reference to the list.

References plateLinks.

const ome::compat::weak_ptr< ome::xml::model::Project > & ome::xml::model::Annotation::getLinkedProject ( OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Project.

Parameters
indexthe index number of the Project.
Returns
a weak pointer to the Project.
Exceptions
std::out_of_rangeif the index is invalid.

References projectLinks.

OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedProjectList ( ) const

Get the linked Project list.

Returns
a reference to the list.

References projectLinks.

const ome::compat::weak_ptr< ome::xml::model::Reagent > & ome::xml::model::Annotation::getLinkedReagent ( OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Reagent.

Parameters
indexthe index number of the Reagent.
Returns
a weak pointer to the Reagent.
Exceptions
std::out_of_rangeif the index is invalid.

References reagentLinks.

OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedReagentList ( ) const

Get the linked Reagent list.

Returns
a reference to the list.

References reagentLinks.

const ome::compat::weak_ptr< ome::xml::model::ROI > & ome::xml::model::Annotation::getLinkedROI ( OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type  index) const

Get linked ROI.

Parameters
indexthe index number of the ROI.
Returns
a weak pointer to the ROI.
Exceptions
std::out_of_rangeif the index is invalid.

References roiLinks.

OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedROIList ( ) const

Get the linked ROI list.

Returns
a reference to the list.

References roiLinks.

const ome::compat::weak_ptr< ome::xml::model::Screen > & ome::xml::model::Annotation::getLinkedScreen ( OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Screen.

Parameters
indexthe index number of the Screen.
Returns
a weak pointer to the Screen.
Exceptions
std::out_of_rangeif the index is invalid.

References screenLinks.

OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedScreenList ( ) const

Get the linked Screen list.

Returns
a reference to the list.

References screenLinks.

const ome::compat::weak_ptr< ome::xml::model::Well > & ome::xml::model::Annotation::getLinkedWell ( OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type  index) const

Get linked Well.

Parameters
indexthe index number of the Well.
Returns
a weak pointer to the Well.
Exceptions
std::out_of_rangeif the index is invalid.

References wellLinks.

OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedWellList ( ) const

Get the linked Well list.

Returns
a reference to the list.

References wellLinks.

const ome::compat::weak_ptr< ome::xml::model::WellSample > & ome::xml::model::Annotation::getLinkedWellSample ( OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type  index) const

Get linked WellSample.

Parameters
indexthe index number of the WellSample.
Returns
a weak pointer to the WellSample.
Exceptions
std::out_of_rangeif the index is invalid.

References wellSampleLinks.

OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type ome::xml::model::Annotation::getLinkedWellSampleList ( ) const

Get the linked WellSample list.

Returns
a reference to the list.

References wellSampleLinks.

ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getNamespace ( )

Get the Namespace property.

Returns
the Namespace property.

References namespace_.

const ome::compat::shared_ptr< std::string > ome::xml::model::Annotation::getNamespace ( ) const

Get the Namespace property.

Returns
the Namespace property.

References namespace_.

const std::string & ome::xml::model::Annotation::getXMLNamespace ( ) const
virtual
bool ome::xml::model::Annotation::link ( ome::compat::shared_ptr< Reference > &  reference,
ome::compat::shared_ptr< ome::xml::model::OMEModelObject > &  object 
)

Link a given OME model object to this model object.

Parameters
referencetype qualifier for the reference. This should be the corresponding reference type for object. If, for example, object is of type Image, reference must be of type ImageRef.
objectModel object to link to.
Returns
true if this model object was able to handle the reference, otherwise false.
Todo:
the use of reference to provide type information for the type of object is unconventional and quite possibly unnecessary–a simple string or type_info would suffice for what it's being used for, if it's needed at all. Is this true for all cases? The implementation also needs to do strict checking of the object type; it's not currently failing if it's of the wrong type. This applies to all generated model objects implementing this interface.
Todo:
This bit is silly; why do we have two dynamic_casts here.

References annotationLinks, ome::xml::model::detail::OMEModelObject::link(), and ome::xml::model::detail::OMEModelObject::logger.

Referenced by ome::xml::model::BasicAnnotation::link(), ome::xml::model::TypeAnnotation::link(), ome::xml::model::TextAnnotation::link(), ome::xml::model::NumericAnnotation::link(), and ome::xml::model::ListAnnotation::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkAnnotation ( const ome::compat::shared_ptr< ome::xml::model::Annotation > &  annotation)

Link Annotation.

Parameters
annotationthe Annotation to link.
Returns
true if the object was added to the internal annotationLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References annotationLinks.

bool ome::xml::model::Annotation::linkChannel ( const ome::compat::shared_ptr< ome::xml::model::Channel > &  channel_BackReference)

Link Channel.

Parameters
channel_BackReferencethe Channel to link.
Returns
true if the object was added to the internal channelLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References channelLinks.

Referenced by ome::xml::model::Channel::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkDataset ( const ome::compat::shared_ptr< ome::xml::model::Dataset > &  dataset_BackReference)

Link Dataset.

Parameters
dataset_BackReferencethe Dataset to link.
Returns
true if the object was added to the internal datasetLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References datasetLinks.

Referenced by ome::xml::model::Dataset::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkExperimenter ( const ome::compat::shared_ptr< ome::xml::model::Experimenter > &  experimenter_BackReference)

Link Experimenter.

Parameters
experimenter_BackReferencethe Experimenter to link.
Returns
true if the object was added to the internal experimenterLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References experimenterLinks.

Referenced by ome::xml::model::Experimenter::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkExperimenterGroup ( const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &  experimenterGroup_BackReference)

Link ExperimenterGroup.

Parameters
experimenterGroup_BackReferencethe ExperimenterGroup to link.
Returns
true if the object was added to the internal experimenterGroupLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References experimenterGroupLinks.

Referenced by ome::xml::model::ExperimenterGroup::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkImage ( const ome::compat::shared_ptr< ome::xml::model::Image > &  image_BackReference)

Link Image.

Parameters
image_BackReferencethe Image to link.
Returns
true if the object was added to the internal imageLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References imageLinks.

Referenced by ome::xml::model::Image::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkPixels ( const ome::compat::shared_ptr< ome::xml::model::Pixels > &  pixels_BackReference)

Link Pixels.

Parameters
pixels_BackReferencethe Pixels to link.
Returns
true if the object was added to the internal pixelsLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References pixelsLinks.

Referenced by ome::xml::model::Pixels::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkPlane ( const ome::compat::shared_ptr< ome::xml::model::Plane > &  plane_BackReference)

Link Plane.

Parameters
plane_BackReferencethe Plane to link.
Returns
true if the object was added to the internal planeLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References planeLinks.

Referenced by ome::xml::model::Plane::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkPlate ( const ome::compat::shared_ptr< ome::xml::model::Plate > &  plate_BackReference)

Link Plate.

Parameters
plate_BackReferencethe Plate to link.
Returns
true if the object was added to the internal plateLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References plateLinks.

Referenced by ome::xml::model::Plate::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkPlateAcquisition ( const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &  plateAcquisition_BackReference)

Link PlateAcquisition.

Parameters
plateAcquisition_BackReferencethe PlateAcquisition to link.
Returns
true if the object was added to the internal plateAcquisitionLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References plateAcquisitionLinks.

Referenced by ome::xml::model::PlateAcquisition::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkProject ( const ome::compat::shared_ptr< ome::xml::model::Project > &  project_BackReference)

Link Project.

Parameters
project_BackReferencethe Project to link.
Returns
true if the object was added to the internal projectLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References projectLinks.

Referenced by ome::xml::model::Project::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkReagent ( const ome::compat::shared_ptr< ome::xml::model::Reagent > &  reagent_BackReference)

Link Reagent.

Parameters
reagent_BackReferencethe Reagent to link.
Returns
true if the object was added to the internal reagentLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References reagentLinks.

Referenced by ome::xml::model::Reagent::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkROI ( const ome::compat::shared_ptr< ome::xml::model::ROI > &  roi_BackReference)

Link ROI.

Parameters
roi_BackReferencethe ROI to link.
Returns
true if the object was added to the internal roiLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References roiLinks.

Referenced by ome::xml::model::ROI::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkScreen ( const ome::compat::shared_ptr< ome::xml::model::Screen > &  screen_BackReference)

Link Screen.

Parameters
screen_BackReferencethe Screen to link.
Returns
true if the object was added to the internal screenLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References screenLinks.

Referenced by ome::xml::model::Screen::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkWell ( const ome::compat::shared_ptr< ome::xml::model::Well > &  well_BackReference)

Link Well.

Parameters
well_BackReferencethe Well to link.
Returns
true if the object was added to the internal wellLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References wellLinks.

Referenced by ome::xml::model::Well::link().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::linkWellSample ( const ome::compat::shared_ptr< ome::xml::model::WellSample > &  wellSample_BackReference)

Link WellSample.

Parameters
wellSample_BackReferencethe WellSample to link.
Returns
true if the object was added to the internal wellSampleLinks list, otherwise false.
Todo:
Why have a return value here; what is it used for? Is this an artifact of the Java API?

References wellSampleLinks.

Referenced by ome::xml::model::WellSample::link().

+ Here is the caller graph for this function:

void ome::xml::model::Annotation::setAnnotator ( ome::compat::shared_ptr< std::string > &  annotator)

Set the Annotator property.

Parameters
annotatorthe value to set.

References annotator.

Referenced by update().

+ Here is the caller graph for this function:

void ome::xml::model::Annotation::setDescription ( ome::compat::shared_ptr< std::string > &  description)

Set the Description property.

Parameters
descriptionthe value to set.

References description.

Referenced by update().

+ Here is the caller graph for this function:

void ome::xml::model::Annotation::setID ( const std::string &  id)

Set the ID property.

Parameters
idthe value to set.

References id.

Referenced by update().

+ Here is the caller graph for this function:

const ome::compat::weak_ptr< ome::xml::model::Annotation > & ome::xml::model::Annotation::setLinkedAnnotation ( OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Annotation > &  annotation 
)

Set linked Annotation.

Note
The index must be valid.
Parameters
indexthe index number of the Annotation.
annotationthe Annotation to set.
Returns
a weak pointer to the Annotation.
Exceptions
std::out_of_rangeif the index is invalid.

References annotationLinks.

const ome::compat::weak_ptr< ome::xml::model::Channel > & ome::xml::model::Annotation::setLinkedChannel ( OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Channel > &  channel_BackReference 
)

Set linked Channel.

Note
The index must be valid.
Parameters
indexthe index number of the Channel.
channel_BackReferencethe Channel to set.
Returns
a weak pointer to the Channel.
Exceptions
std::out_of_rangeif the index is invalid.

References channelLinks.

const ome::compat::weak_ptr< ome::xml::model::Dataset > & ome::xml::model::Annotation::setLinkedDataset ( OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Dataset > &  dataset_BackReference 
)

Set linked Dataset.

Note
The index must be valid.
Parameters
indexthe index number of the Dataset.
dataset_BackReferencethe Dataset to set.
Returns
a weak pointer to the Dataset.
Exceptions
std::out_of_rangeif the index is invalid.

References datasetLinks.

const ome::compat::weak_ptr< ome::xml::model::Experimenter > & ome::xml::model::Annotation::setLinkedExperimenter ( OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Experimenter > &  experimenter_BackReference 
)

Set linked Experimenter.

Note
The index must be valid.
Parameters
indexthe index number of the Experimenter.
experimenter_BackReferencethe Experimenter to set.
Returns
a weak pointer to the Experimenter.
Exceptions
std::out_of_rangeif the index is invalid.

References experimenterLinks.

const ome::compat::weak_ptr< ome::xml::model::ExperimenterGroup > & ome::xml::model::Annotation::setLinkedExperimenterGroup ( OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &  experimenterGroup_BackReference 
)

Set linked ExperimenterGroup.

Note
The index must be valid.
Parameters
indexthe index number of the ExperimenterGroup.
experimenterGroup_BackReferencethe ExperimenterGroup to set.
Returns
a weak pointer to the ExperimenterGroup.
Exceptions
std::out_of_rangeif the index is invalid.

References experimenterGroupLinks.

const ome::compat::weak_ptr< ome::xml::model::Image > & ome::xml::model::Annotation::setLinkedImage ( OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Image > &  image_BackReference 
)

Set linked Image.

Note
The index must be valid.
Parameters
indexthe index number of the Image.
image_BackReferencethe Image to set.
Returns
a weak pointer to the Image.
Exceptions
std::out_of_rangeif the index is invalid.

References imageLinks.

const ome::compat::weak_ptr< ome::xml::model::Pixels > & ome::xml::model::Annotation::setLinkedPixels ( OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Pixels > &  pixels_BackReference 
)

Set linked Pixels.

Note
The index must be valid.
Parameters
indexthe index number of the Pixels.
pixels_BackReferencethe Pixels to set.
Returns
a weak pointer to the Pixels.
Exceptions
std::out_of_rangeif the index is invalid.

References pixelsLinks.

const ome::compat::weak_ptr< ome::xml::model::Plane > & ome::xml::model::Annotation::setLinkedPlane ( OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Plane > &  plane_BackReference 
)

Set linked Plane.

Note
The index must be valid.
Parameters
indexthe index number of the Plane.
plane_BackReferencethe Plane to set.
Returns
a weak pointer to the Plane.
Exceptions
std::out_of_rangeif the index is invalid.

References planeLinks.

const ome::compat::weak_ptr< ome::xml::model::Plate > & ome::xml::model::Annotation::setLinkedPlate ( OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Plate > &  plate_BackReference 
)

Set linked Plate.

Note
The index must be valid.
Parameters
indexthe index number of the Plate.
plate_BackReferencethe Plate to set.
Returns
a weak pointer to the Plate.
Exceptions
std::out_of_rangeif the index is invalid.

References plateLinks.

const ome::compat::weak_ptr< ome::xml::model::PlateAcquisition > & ome::xml::model::Annotation::setLinkedPlateAcquisition ( OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &  plateAcquisition_BackReference 
)

Set linked PlateAcquisition.

Note
The index must be valid.
Parameters
indexthe index number of the PlateAcquisition.
plateAcquisition_BackReferencethe PlateAcquisition to set.
Returns
a weak pointer to the PlateAcquisition.
Exceptions
std::out_of_rangeif the index is invalid.

References plateAcquisitionLinks.

const ome::compat::weak_ptr< ome::xml::model::Project > & ome::xml::model::Annotation::setLinkedProject ( OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Project > &  project_BackReference 
)

Set linked Project.

Note
The index must be valid.
Parameters
indexthe index number of the Project.
project_BackReferencethe Project to set.
Returns
a weak pointer to the Project.
Exceptions
std::out_of_rangeif the index is invalid.

References projectLinks.

const ome::compat::weak_ptr< ome::xml::model::Reagent > & ome::xml::model::Annotation::setLinkedReagent ( OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Reagent > &  reagent_BackReference 
)

Set linked Reagent.

Note
The index must be valid.
Parameters
indexthe index number of the Reagent.
reagent_BackReferencethe Reagent to set.
Returns
a weak pointer to the Reagent.
Exceptions
std::out_of_rangeif the index is invalid.

References reagentLinks.

const ome::compat::weak_ptr< ome::xml::model::ROI > & ome::xml::model::Annotation::setLinkedROI ( OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::ROI > &  roi_BackReference 
)

Set linked ROI.

Note
The index must be valid.
Parameters
indexthe index number of the ROI.
roi_BackReferencethe ROI to set.
Returns
a weak pointer to the ROI.
Exceptions
std::out_of_rangeif the index is invalid.

References roiLinks.

const ome::compat::weak_ptr< ome::xml::model::Screen > & ome::xml::model::Annotation::setLinkedScreen ( OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Screen > &  screen_BackReference 
)

Set linked Screen.

Note
The index must be valid.
Parameters
indexthe index number of the Screen.
screen_BackReferencethe Screen to set.
Returns
a weak pointer to the Screen.
Exceptions
std::out_of_rangeif the index is invalid.

References screenLinks.

const ome::compat::weak_ptr< ome::xml::model::Well > & ome::xml::model::Annotation::setLinkedWell ( OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::Well > &  well_BackReference 
)

Set linked Well.

Note
The index must be valid.
Parameters
indexthe index number of the Well.
well_BackReferencethe Well to set.
Returns
a weak pointer to the Well.
Exceptions
std::out_of_rangeif the index is invalid.

References wellLinks.

const ome::compat::weak_ptr< ome::xml::model::WellSample > & ome::xml::model::Annotation::setLinkedWellSample ( OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type  index,
const ome::compat::shared_ptr< ome::xml::model::WellSample > &  wellSample_BackReference 
)

Set linked WellSample.

Note
The index must be valid.
Parameters
indexthe index number of the WellSample.
wellSample_BackReferencethe WellSample to set.
Returns
a weak pointer to the WellSample.
Exceptions
std::out_of_rangeif the index is invalid.

References wellSampleLinks.

void ome::xml::model::Annotation::setNamespace ( ome::compat::shared_ptr< std::string > &  namespace_)

Set the Namespace property.

Parameters
namespace_the value to set.

References namespace_.

Referenced by update().

+ Here is the caller graph for this function:

OMEModelObject::indexed_container< ome::xml::model::Annotation, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedAnnotationList ( ) const

Get size of linked Annotation list.

Returns
the size of the list.

References annotationLinks.

OMEModelObject::indexed_container< ome::xml::model::Channel, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedChannelList ( ) const

Get size of linked Channel list.

Returns
the size of the list.

References channelLinks.

OMEModelObject::indexed_container< ome::xml::model::Dataset, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedDatasetList ( ) const

Get size of linked Dataset list.

Returns
the size of the list.

References datasetLinks.

OMEModelObject::indexed_container< ome::xml::model::ExperimenterGroup, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedExperimenterGroupList ( ) const

Get size of linked ExperimenterGroup list.

Returns
the size of the list.

References experimenterGroupLinks.

OMEModelObject::indexed_container< ome::xml::model::Experimenter, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedExperimenterList ( ) const

Get size of linked Experimenter list.

Returns
the size of the list.

References experimenterLinks.

OMEModelObject::indexed_container< ome::xml::model::Image, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedImageList ( ) const

Get size of linked Image list.

Returns
the size of the list.

References imageLinks.

OMEModelObject::indexed_container< ome::xml::model::Pixels, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPixelsList ( ) const

Get size of linked Pixels list.

Returns
the size of the list.

References pixelsLinks.

OMEModelObject::indexed_container< ome::xml::model::Plane, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlaneList ( ) const

Get size of linked Plane list.

Returns
the size of the list.

References planeLinks.

OMEModelObject::indexed_container< ome::xml::model::PlateAcquisition, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlateAcquisitionList ( ) const

Get size of linked PlateAcquisition list.

Returns
the size of the list.

References plateAcquisitionLinks.

OMEModelObject::indexed_container< ome::xml::model::Plate, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedPlateList ( ) const

Get size of linked Plate list.

Returns
the size of the list.

References plateLinks.

OMEModelObject::indexed_container< ome::xml::model::Project, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedProjectList ( ) const

Get size of linked Project list.

Returns
the size of the list.

References projectLinks.

OMEModelObject::indexed_container< ome::xml::model::Reagent, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedReagentList ( ) const

Get size of linked Reagent list.

Returns
the size of the list.

References reagentLinks.

OMEModelObject::indexed_container< ome::xml::model::ROI, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedROIList ( ) const

Get size of linked ROI list.

Returns
the size of the list.

References roiLinks.

OMEModelObject::indexed_container< ome::xml::model::Screen, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedScreenList ( ) const

Get size of linked Screen list.

Returns
the size of the list.

References screenLinks.

OMEModelObject::indexed_container< ome::xml::model::Well, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedWellList ( ) const

Get size of linked Well list.

Returns
the size of the list.

References wellLinks.

OMEModelObject::indexed_container< ome::xml::model::WellSample, ome::compat::weak_ptr >::type::size_type ome::xml::model::Annotation::sizeOfLinkedWellSampleList ( ) const

Get size of linked WellSample list.

Returns
the size of the list.

References wellSampleLinks.

bool ome::xml::model::Annotation::unlinkAnnotation ( const ome::compat::shared_ptr< ome::xml::model::Annotation > &  annotation)

Unlink Annotation.

Parameters
annotationthe Annotation to unlink.
Returns
true if the Annotation was unlinked, otherwise false if the Annotation was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References annotationLinks.

bool ome::xml::model::Annotation::unlinkChannel ( const ome::compat::shared_ptr< ome::xml::model::Channel > &  channel_BackReference)

Unlink Channel.

Parameters
channel_BackReferencethe Channel to unlink.
Returns
true if the Channel was unlinked, otherwise false if the Channel was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References channelLinks.

bool ome::xml::model::Annotation::unlinkDataset ( const ome::compat::shared_ptr< ome::xml::model::Dataset > &  dataset_BackReference)

Unlink Dataset.

Parameters
dataset_BackReferencethe Dataset to unlink.
Returns
true if the Dataset was unlinked, otherwise false if the Dataset was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References datasetLinks.

bool ome::xml::model::Annotation::unlinkExperimenter ( const ome::compat::shared_ptr< ome::xml::model::Experimenter > &  experimenter_BackReference)

Unlink Experimenter.

Parameters
experimenter_BackReferencethe Experimenter to unlink.
Returns
true if the Experimenter was unlinked, otherwise false if the Experimenter was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References experimenterLinks.

bool ome::xml::model::Annotation::unlinkExperimenterGroup ( const ome::compat::shared_ptr< ome::xml::model::ExperimenterGroup > &  experimenterGroup_BackReference)

Unlink ExperimenterGroup.

Parameters
experimenterGroup_BackReferencethe ExperimenterGroup to unlink.
Returns
true if the ExperimenterGroup was unlinked, otherwise false if the ExperimenterGroup was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References experimenterGroupLinks.

bool ome::xml::model::Annotation::unlinkImage ( const ome::compat::shared_ptr< ome::xml::model::Image > &  image_BackReference)

Unlink Image.

Parameters
image_BackReferencethe Image to unlink.
Returns
true if the Image was unlinked, otherwise false if the Image was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References imageLinks.

bool ome::xml::model::Annotation::unlinkPixels ( const ome::compat::shared_ptr< ome::xml::model::Pixels > &  pixels_BackReference)

Unlink Pixels.

Parameters
pixels_BackReferencethe Pixels to unlink.
Returns
true if the Pixels was unlinked, otherwise false if the Pixels was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References pixelsLinks.

bool ome::xml::model::Annotation::unlinkPlane ( const ome::compat::shared_ptr< ome::xml::model::Plane > &  plane_BackReference)

Unlink Plane.

Parameters
plane_BackReferencethe Plane to unlink.
Returns
true if the Plane was unlinked, otherwise false if the Plane was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References planeLinks.

bool ome::xml::model::Annotation::unlinkPlate ( const ome::compat::shared_ptr< ome::xml::model::Plate > &  plate_BackReference)

Unlink Plate.

Parameters
plate_BackReferencethe Plate to unlink.
Returns
true if the Plate was unlinked, otherwise false if the Plate was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References plateLinks.

bool ome::xml::model::Annotation::unlinkPlateAcquisition ( const ome::compat::shared_ptr< ome::xml::model::PlateAcquisition > &  plateAcquisition_BackReference)

Unlink PlateAcquisition.

Parameters
plateAcquisition_BackReferencethe PlateAcquisition to unlink.
Returns
true if the PlateAcquisition was unlinked, otherwise false if the PlateAcquisition was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References plateAcquisitionLinks.

bool ome::xml::model::Annotation::unlinkProject ( const ome::compat::shared_ptr< ome::xml::model::Project > &  project_BackReference)

Unlink Project.

Parameters
project_BackReferencethe Project to unlink.
Returns
true if the Project was unlinked, otherwise false if the Project was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References projectLinks.

bool ome::xml::model::Annotation::unlinkReagent ( const ome::compat::shared_ptr< ome::xml::model::Reagent > &  reagent_BackReference)

Unlink Reagent.

Parameters
reagent_BackReferencethe Reagent to unlink.
Returns
true if the Reagent was unlinked, otherwise false if the Reagent was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References reagentLinks.

bool ome::xml::model::Annotation::unlinkROI ( const ome::compat::shared_ptr< ome::xml::model::ROI > &  roi_BackReference)

Unlink ROI.

Parameters
roi_BackReferencethe ROI to unlink.
Returns
true if the ROI was unlinked, otherwise false if the ROI was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References roiLinks.

bool ome::xml::model::Annotation::unlinkScreen ( const ome::compat::shared_ptr< ome::xml::model::Screen > &  screen_BackReference)

Unlink Screen.

Parameters
screen_BackReferencethe Screen to unlink.
Returns
true if the Screen was unlinked, otherwise false if the Screen was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References screenLinks.

bool ome::xml::model::Annotation::unlinkWell ( const ome::compat::shared_ptr< ome::xml::model::Well > &  well_BackReference)

Unlink Well.

Parameters
well_BackReferencethe Well to unlink.
Returns
true if the Well was unlinked, otherwise false if the Well was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References wellLinks.

bool ome::xml::model::Annotation::unlinkWellSample ( const ome::compat::shared_ptr< ome::xml::model::WellSample > &  wellSample_BackReference)

Unlink WellSample.

Parameters
wellSample_BackReferencethe WellSample to unlink.
Returns
true if the WellSample was unlinked, otherwise false if the WellSample was not linked and could hence not be unlinked.
Todo:

Does the return value serve any useful purpose? Is this also inherited Java API?

Doesn't the removal break the indexing?

Does the removal deal with multiple instances; we aren't preventing duplicates on insertion.

References wellSampleLinks.

void ome::xml::model::Annotation::update ( const common::xml::dom::Element element,
ome::xml::model::OMEModel model 
)
virtual

Update the object hierarchy recursively from an XML DOM tree.

Note
No properties are removed, only added or updated.
Parameters
elementroot of the XML DOM tree to from which to construct the model object graph.
modelhandler for the OME model used to track instances and references seen during the update.
Exceptions
EnumerationExceptionif there is an error instantiating an enumeration during model object creation, or ModelException if there are any consistency or validity errors found during processing.

Implements ome::xml::model::OMEModelObject.

Reimplemented in ome::xml::model::FileAnnotation, ome::xml::model::TimestampAnnotation, ome::xml::model::BooleanAnnotation, ome::xml::model::CommentAnnotation, ome::xml::model::DoubleAnnotation, ome::xml::model::LongAnnotation, ome::xml::model::TagAnnotation, ome::xml::model::TermAnnotation, ome::xml::model::XMLAnnotation, ome::xml::model::ListAnnotation, ome::xml::model::BasicAnnotation, ome::xml::model::NumericAnnotation, ome::xml::model::TextAnnotation, and ome::xml::model::TypeAnnotation.

References ome::xml::model::OMEModel::addModelObject(), ome::xml::model::OMEModel::addReference(), ome::common::xml::dom::Element::getAttribute(), ome::xml::model::detail::OMEModelObject::getChildrenByTagName(), getID(), ome::common::xml::dom::Element::getTagName(), ome::common::xml::dom::Element::hasAttribute(), ome::xml::model::detail::OMEModelObject::logger, setAnnotator(), setDescription(), setID(), setNamespace(), ome::xml::model::detail::OMEModelObject::stripNamespacePrefix(), ome::xml::model::detail::OMEModelObject::update(), and validElementName().

Referenced by ome::xml::model::BasicAnnotation::update(), ome::xml::model::TypeAnnotation::update(), ome::xml::model::TextAnnotation::update(), ome::xml::model::NumericAnnotation::update(), and ome::xml::model::ListAnnotation::update().

+ Here is the caller graph for this function:

bool ome::xml::model::Annotation::validElementName ( const std::string &  name) const
virtual

The documentation for this class was generated from the following files: