Nodeid and heritage

3 views
Skip to first unread message

BGrabiel

unread,
Sep 7, 2010, 3:31:53 AM9/7/10
to jo4neo
Hello,

I'd like to know if the attribut "transient public Nodeid node" have
to write in the child class and the parent class.
By example :

public class Person {
transient public Nodeid node
String name;
}

public class American {
transient public Nodeid node
String size
}

Do I need to write transient public Nodeid node in the both classes?

Thank you very much,


Bat

Peter Neubauer

unread,
Sep 9, 2010, 10:17:46 AM9/9/10
to jo4...@googlegroups.com
Bat,
not sure there, maybe someone else has a clue? You might just look at
the code if in doubt, and try debugging it?

Cheers,

/peter neubauer

VP Product Development, Neo Technology

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.

Taylor Cowan

unread,
Sep 9, 2010, 10:44:31 AM9/9/10
to jo4...@googlegroups.com
I think its only required in base, and also think there r examples in test package

Sent from my HTC

Reply all
Reply to author
Forward
0 new messages