46 #ifndef OME_XML_MODEL_UUID_H
47 #define OME_XML_MODEL_UUID_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/detail/OMEModelObject.h>
116 static ome::compat::shared_ptr< UUID>
141 link (ome::compat::shared_ptr<Reference>& reference,
142 ome::compat::shared_ptr< ome::xml::model::OMEModelObject>&
object);
158 setValue (
const std::string& value);
165 ome::compat::shared_ptr<std::string>
173 const ome::compat::shared_ptr<std::string>
182 setFileName (ome::compat::shared_ptr<std::string>& fileName);
206 #endif // OME_XML_MODEL_UUID_H
OME model interface (abstract top-level container)
Definition: OMEModel.h:62
bool validElementName(const std::string &name) const
Check if a given element name is valid for processing by this model object.
Definition: UUID.cpp:143
ome::compat::shared_ptr< std::string > fileName
FileName property.
Definition: UUID.h:83
std::string value
Element's text data.
Definition: UUID.h:81
virtual ~UUID()
Destructor.
Definition: UUID.cpp:122
DOM Document wrapper.
Definition: Document.h:82
DOM Element wrapper.
Definition: Element.h:66
OME model object (concrete implementation).
Definition: OMEModelObject.h:64
UUID model object.
Definition: UUID.h:77
UUID()
Default constructor.
Definition: UUID.cpp:101
void setValue(const std::string &value)
Set element value.
Definition: UUID.cpp:199
const std::string & getXMLNamespace() const
Get the XML namespace for this model object.
Definition: UUID.cpp:264
static ome::compat::shared_ptr< UUID > create(const common::xml::dom::Element &element, ome::xml::model::OMEModel &model)
Create a UUID model object from DOM element.
Definition: UUID.cpp:127
Open Microscopy Environment C++ implementation.
Definition: CoreMetadata.cpp:40
void setFileName(ome::compat::shared_ptr< std::string > &fileName)
Set the FileName property.
Definition: UUID.cpp:220
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: UUID.cpp:234
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: UUID.cpp:152
const std::string & getValue() const
Get element value.
Definition: UUID.cpp:193
virtual common::xml::dom::Element asXMLElement(common::xml::dom::Document &document) const
Transform the object hierarchy rooted at this element to XML.
Definition: UUID.cpp:227
ome::compat::shared_ptr< std::string > getFileName()
Get the FileName property.
Definition: UUID.cpp:206
const std::string & elementName() const
Get the element name of this model object.
Definition: UUID.cpp:136
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: UUID.cpp:179
Xerces-C modern C++ wrapper.
Definition: Base.h:53