I've been looking at the metamodel component and found a few good examples
of how to create a metamodel. My question is, once it's created, what can I
do with it? Say I create a 'Person' metamodel class with properties like
first_name (string), last_name (string), birthday (date), etc. Can I then
instantiate an object of the 'Person' class and have the property
restictions automatically applied? In other words, can I create a node that
is associated with a particular metamodel class and use some generic
interface to set properties that enforces the metamodel restrictions?
Or is the metamodel component mainly a way to store the metamodel
information and it is left up to the programmer to inspect it and enforce
the rules defined within it?

Thanks,
Adam
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to