Re: [Neo] meta structure

2009-08-03 Thread Jerry Juanico
Hi Mattias, With this information I was able to fix my dilemma.Thanks. One more thing. OK I already set-up the schema. Along with it is the expected values, range, data type, etc. But the thing is I cannot access or put values on the properties that I have created. I ran out of options, can u

Re: [Neo] meta structure

2009-08-03 Thread Mattias Persson
Oh ok, you use the same methods for getting the classes and properties as for creating them: (the true/false 2:nd argument is the allowCreate option, so that if true then the class/property will be created if it didn't already exist). MetaStructureClass myClass = namespace.getMetaClass(

Re: [Neo] meta structure

2009-08-03 Thread Jerry Juanico
Oh I see, Maybe I have to refresh again. Anyway, just another question. For example I already have configured the meta structure, with all the data type( string, integer...), data range, etc. Can you give an idea on how can I use or put values in it? I'm lost here. Thanks. Jers On Mon, Aug 3,

Re: [Neo] meta structure

2009-08-03 Thread Mattias Persson
Well, the meta structure is really just a helper for keeping data according to a certain structure... if you make those checks against it yourself, that is. There's nothing automatic in validation or insertion by using this framework as of yet. Inserting data is still done by using the neo4j

[Neo] meta structure

2009-08-02 Thread Jerry Juanico
Hi All, I am currently working with one of the features of ne04j, which is the meta structure. I have tried implementing the test examples and it works fine. But the whole concept is still vague to me. I have noticed that the relationship type is automatic once I invoke the class and property