Re: [Neo] Dynamic properties...

2009-04-17 Thread Tobias Ivarsson
On Sat, Apr 18, 2009 at 12:43 AM, Mattias Ask wrote: > Thanks for the input! Of course I couldn't let this go so I looked > some at Groovy to see what is possible there: > > > class Teen { >def stateOfMind() { "You don't understand me!" } > } > > def hasse = new Teen() > > def emc = new Expa

Re: [Neo] Dynamic properties...

2009-04-17 Thread Mattias Ask
Thanks for the input! Of course I couldn't let this go so I looked some at Groovy to see what is possible there: class Teen { def stateOfMind() { "You don't understand me!" } } def hasse = new Teen() def emc = new ExpandoMetaClass( Teen.class, false ) emc.children = { ["Kurt", "Lisa"] } e

Re: [Neo] Dynamic properties...

2009-04-17 Thread Atle Prange
On Fri, 2009-04-17 at 10:25 +0200, Mattias Ask wrote: Hi Mattias, interesting question. Maybe you can model the relation to toher Persons as typed relationships, that way you get the same model as in neo4j. You have a class called Relationship, with a type marker (RelationshipType) and a contai

Re: [Neo] Dynamic properties...

2009-04-17 Thread Tobias Ivarsson
On Fri, Apr 17, 2009 at 10:25 AM, Mattias Ask wrote: > Hi, > > I have a new problem which I've never encountered before... Code, and > not the persistence, restricts what I want to do. > > I love Neo4j since it matches how I think of informations, but due to > that I now I find that Java doesn't.

[Neo] Dynamic properties...

2009-04-17 Thread Mattias Ask
Hi, I have a new problem which I've never encountered before... Code, and not the persistence, restricts what I want to do. I love Neo4j since it matches how I think of informations, but due to that I now I find that Java doesn't. What is it I want to do? Let's say you have a Teenager. In so

Re: [Neo] Using the Neo4J Components

2009-04-17 Thread Tobias Ivarsson
On Fri, Apr 17, 2009 at 4:08 AM, doug wrote: > I am interested in exploring the functionality of Neo4J, and for the > application I have in mind, I would like to use some of the components, > such as the Neo-Meta, Neo-Utils and others. Am I correct in assuming > > > > - There is no publi