minor documentation update

This commit is contained in:
Michael Hunger
2011-04-18 16:28:28 +02:00
parent 314e9e25c6
commit a0fc7eb41d
2 changed files with 10 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -5,7 +5,9 @@
<subtitle>A convincing act</subtitle>
<para>
Our application was not yet very much fun, just storing movies and actors. After all,
the power is in the relationships between them.
the power is in the relationships between them. Fortunately Neo4j treats relationships as first class citizens
allowing them to be addressed individually and assigned properties. That allows for representing them as entities
if needed.
</para>
<section>
<title>Creating relationships</title>
@@ -16,6 +18,13 @@
It had to be annotated with @RelationshipEntity and the @StartNode and @EndNode had to be marked.
So our Role looked like this:
</para>
<para>
<mediaobject>
<imageobject>
<imagedata fileref="relationship.png" align="center"/>
</imageobject>
</mediaobject>
</para>
<para>
<example>
<title>Role class</title>