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 give me some hint?
Thanks again

Jers

On Mon, Aug 3, 2009 at 5:39 PM, Mattias Persson
<[email protected]>wrote:

> Hi,
>
> I think you'd like to use something like this:
>
> MetaStructureClass userClass = ...
> MetaStructureClass accountClass = ...
> MetaStructureProperty userHasAccount =
>    namespace.getMetaProperty( "user_has_account", true );
> userClass.getDirectProperties().add( userHasAccount );
> userHasAccount.setRange(
>    new MetaStructureClassRange( accountClass ) );
>
> Is that what you're looking for?
>
> 2009/8/3 Jerry Juanico <[email protected]>:
> > 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 instance.
> >
> > I am expecting that it's possible to defined specific relationship type
> as I
> > did in a simple node/relationship/property structure, but I cannot find
> any
> > from the list of  meta structure API.
> >
> > Can someone tell me how?
> >
> > Thanks.
> >
> > Jerry
> > _______________________________________________
> > Neo mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Mattias Persson, [[email protected]]
> Neo Technology, www.neotechnology.com
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to