summaryrefslogtreecommitdiff
path: root/src/core/model
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2014-12-21 15:49:08 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2014-12-21 15:49:08 +0100
commit282ec6571898942f3d143f1defc585c486b45f8c (patch)
tree48dcc1dd2f6631993120dbe5599c4b52c64d9414 /src/core/model
parentf1bb76dedf2d6b480b566540e811a7e0d3af9886 (diff)
Dokumenten und Domänenbeispiel.
Diffstat (limited to 'src/core/model')
-rw-r--r--src/core/model/Document.hpp1
-rw-r--r--src/core/model/Domain.hpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index 5a293d3..7d24161 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -365,6 +365,7 @@ public:
*/
class Document : public Node {
private:
+ //TODO: Might there be several roots? E.g. metadata?
Owned<StructuredEntity> root;
public:
diff --git a/src/core/model/Domain.hpp b/src/core/model/Domain.hpp
index e257c0d..99ac6e1 100644
--- a/src/core/model/Domain.hpp
+++ b/src/core/model/Domain.hpp
@@ -368,6 +368,9 @@ protected:
public:
const bool transparent;
+ // TODO: Is it possible to have root=true and cardinality other than 1?
+ // This also refers to the question in Document.hpp: Is it possible to have
+ // more than 1 root?
const bool root;
/**