21#include "../common/AbstractObject.h"
25 class AbstractProperty;
28namespace RESQML2_0_1_NS
47 DLL_IMPORT_OR_EXPORT
PropertySet(gsoap_resqml2_0_1::eml20__DataObjectReference* partialObject) : COMMON_NS::AbstractObject(partialObject) {}
66 PropertySet(COMMON_NS::DataObjectRepository* repo,
const std::string & guid,
const std::string & title,
67 bool hasMultipleRealizations,
bool hasSinglePropertyKind, gsoap_resqml2_0_1::resqml20__TimeSetKind timeSetKind);
74 PropertySet(gsoap_resqml2_0_1::_resqml20__PropertySet* fromGsoap) : COMMON_NS::AbstractObject(fromGsoap) {}
109 DLL_IMPORT_OR_EXPORT std::vector<PropertySet *>
getChildren()
const;
146 DLL_IMPORT_OR_EXPORT std::vector<RESQML2_NS::AbstractProperty *>
getProperties()
const;
168 DLL_IMPORT_OR_EXPORT RESQML2_NS::AbstractProperty*
getProperty(uint64_t index) const;
170 DLL_IMPORT_OR_EXPORT
bool hasMultipleRealizations() const;
172 DLL_IMPORT_OR_EXPORT
bool hasSinglePropertyKind() const;
174 DLL_IMPORT_OR_EXPORT gsoap_resqml2_0_1::resqml20__TimeSetKind getTimeSetKind() const;
179 DLL_IMPORT_OR_EXPORT static constexpr
char const*
XML_NS =
"resqml20";
187 DLL_IMPORT_OR_EXPORT
static constexpr char const*
XML_TAG =
"PropertySet";
200 static constexpr
char const*
FAKE_PROP_UUID =
"6b6656bb-32c4-4c4a-84ec-f66cf50bd4dd";
216 void pushBackXmlProperty(RESQML2_NS::AbstractProperty * prop);
218 std::vector<COMMON_NS::DataObjectReference> getAllPropertiesDors() const;
PropertySet(common::DataObjectRepository *repo, const std::string &guid, const std::string &title, bool hasMultipleRealizations, bool hasSinglePropertyKind, gsoap_resqml2_0_1::resqml20__TimeSetKind timeSetKind)
Creates an instance of this class in a gsoap context.
void pushBackProperty(resqml2::AbstractProperty *prop)
static constexpr char const * XML_TAG
Definition PropertySet.h:187
void setParent(PropertySet *parent)
std::vector< resqml2::AbstractProperty * > getProperties() const
PropertySet(gsoap_resqml2_0_1::_resqml20__PropertySet *fromGsoap)
Definition PropertySet.h:74
void loadTargetRelationships() final
common::DataObjectReference getParentDor() const
resqml2::AbstractProperty * getProperty(uint64_t index) const
static constexpr char const * XML_NS
Definition PropertySet.h:179
uint64_t getPropertyCount() const noexcept
PropertySet * getParent() const
static constexpr char const * FAKE_PROP_UUID
Definition PropertySet.h:200
PropertySet(gsoap_resqml2_0_1::eml20__DataObjectReference *partialObject)
Definition PropertySet.h:47
std::string getXmlNamespace() const final
Definition PropertySet.h:184
PropertySet * getChildren(uint64_t index) const
virtual std::string getXmlTag() const final
Definition PropertySet.h:194
std::vector< PropertySet * > getChildren() const
uint64_t getChildrenCount() const noexcept
Definition PropertySet.h:116