Please use the name() method on the RelationshipType to print the
actual name of it... and also as equality tests between relationship
types. See http://api.neo4j.org/current/org/neo4j/api/core/RelationshipType.html
for more information about that.

2009/8/26 Vanessa Junquero Trabado <vanessitajunqu...@hotmail.com>:
>
> Ok.
> The speed has increased a lot, but if I remove the property RelationshipType 
> of the
> edges, I have the following problem when I try to get the type of a
> relationship:
> My code is:
>
> iter = neo.getRelationshipIds(eNode).iterator();
>
> long rel = iter.next();
> System.out.print(neo.getRelatoinshipById(rel).getType());
>
> And the result is:
>
> org.neo4j.impl.batchinsert.batchinserterimpl$relationshiptypei...@17494c8
>
> The definition of the relationships is:
>
>
>
>     enum MyRelationshipTypes implements RelationshipType
>     {
>         REF_TITLE, REF_IMAGE
>     }
>
> Thank you for all.
>
> Vanesa.
> _________________________________________________________________
> Comparte las noticias que te interesan. Con MSN Reporter puedes compartir con 
> otros internautas las noticias que más te interesan, y votar las que otras 
> personas han destacado.
> http://reporter.es.msn.com/?days=1&view=News
> _______________________________________________
> Neo mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Neo Technology, www.neotechnology.com
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to