[Neo4j] Re: Am I using class Node wrong?

2015-02-05 Thread Mahesh Lal
Thanks a lot Nigel. I am not a big fan of inheritance myself, but in this case composition wouldn't have worked for me because it would then dilute the fact that User object is really a node with the label "User" and a bunch of properties. I like the option you have suggested and will give it a t

[Neo4j] Re: Am I using class Node wrong?

2015-02-05 Thread Nigel Small
Hi Mahesh I'm not a big fan of using *super*. I'm happy to admit that's probably a failing on my part but I find the syntax confusing and certainly not in line with "readability counts"! On top of that, I've not been able to get it working for *Node* inheritance anyway... So, you can use this not