My use case is pretty common. I have an XML which contains data about
entities and relationships among them. For each node I create a class,
except from the ones that represent relationships. In this case I create
edges. My question is about the hierarchy.
Suppose I a structure as below. Take into account that the hierarchy is not
fixed, but you know that a Forum belongs to a Package.
<Package name = "groups">
<Package name = "google">
<Package name = "com">
<Package name = "forums">
<Forum name="OrientDB">
<Calls type="Forum">Java</Calls>
</Forum>
</Package>
</Package>
</Package>
</Package>
How do you usually model your solution? I would like to retrieve the
complete package of a forum, for example. "groups.google.com.forums". Or
maybe the opposite, all forums that belongs to "groups", regardless of
the depth.
I have create Edges named belongs_to, but not sure if it's a proper
solution. What do you think?
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.