46 #ifndef OME_XML_MODEL_FILEANNOTATION_H
47 #define OME_XML_MODEL_FILEANNOTATION_H
57 #include <ome/common/xml/dom/Document.h>
58 #include <ome/common/xml/dom/Element.h>
59 #include <ome/common/xml/dom/Node.h>
60 #include <ome/common/xml/dom/NodeList.h>
62 #include <ome/xml/model/BinaryFile.h>
63 #include <ome/xml/model/StructuredAnnotations.h>
64 #include <ome/xml/model/TypeAnnotation.h>
83 ome::compat::shared_ptr<ome::xml::model::BinaryFile>
binaryFile;
118 static ome::compat::shared_ptr< FileAnnotation>
143 link (ome::compat::shared_ptr<Reference>& reference,
144 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
151 ome::compat::shared_ptr<ome::xml::model::BinaryFile>
159 const ome::compat::shared_ptr<ome::xml::model::BinaryFile>
168 setBinaryFile (ome::compat::shared_ptr<ome::xml::model::BinaryFile>& binaryFile);
175 ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
183 const ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>
192 setStructuredAnnotations (ome::compat::weak_ptr<ome::xml::model::StructuredAnnotations>& structuredAnnotations_BackReference);
216 #endif // OME_XML_MODEL_FILEANNOTATION_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
ome::compat::shared_ptr< ome::xml::model::BinaryFile > getBinaryFile()
Get the BinaryFile property.
Definition: FileAnnotation.cpp:200
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: FileAnnotation.cpp:277
FileAnnotation()
Default constructor.
Definition: FileAnnotation.cpp:105
void setBinaryFile(ome::compat::shared_ptr< ome::xml::model::BinaryFile > &binaryFile)
Set the BinaryFile property.
Definition: FileAnnotation.cpp:214
ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > getStructuredAnnotations()
Get the StructuredAnnotations property.
Definition: FileAnnotation.cpp:221
void setStructuredAnnotations(ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > &structuredAnnotations_BackReference)
Set the StructuredAnnotations property.
Definition: FileAnnotation.cpp:235
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
FileAnnotation model object.
Definition: FileAnnotation.h:79
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.
Definition: FileAnnotation.cpp:185
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.
Definition: FileAnnotation.cpp:249
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
const std::string & elementName() const
Get the element name of this model object.
Definition: FileAnnotation.cpp:140
static ome::compat::shared_ptr< FileAnnotation > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a FileAnnotation model object from DOM element.
Definition: FileAnnotation.cpp:131
ome::compat::shared_ptr< ome::xml::model::BinaryFile > binaryFile
BinaryFile property.
Definition: FileAnnotation.h:83
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: FileAnnotation.cpp:147
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: FileAnnotation.cpp:242
TypeAnnotation model object.
Definition: TypeAnnotation.h:77
virtual void update(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Update the object hierarchy recursively from an XML DOM tree.
Definition: FileAnnotation.cpp:156
ome::compat::weak_ptr< ome::xml::model::StructuredAnnotations > structuredAnnotations
StructuredAnnotations_BackReference back reference.
Definition: FileAnnotation.h:85
virtual ~FileAnnotation()
Destructor.
Definition: FileAnnotation.cpp:126
Xerces-C modern C++ wrapper.
Definition: Base.h:53