Updated docs for node type strategy

This commit is contained in:
David Montag
2011-03-22 17:30:23 -07:00
parent af25f4435f
commit 00d2ed8c04

View File

@@ -15,14 +15,6 @@
<para>
There are three available implementations to choose from.
<itemizedlist>
<listitem>
<para><code>SubReferenceNodeTypeStrategy</code></para>
<para>
Stores entity types in a tree in the graph representing the type hierarchy. Each entity
has a INSTANCE_OF relationship to a type node representing that entity's type. The type may or
may not have a SUBCLASS_OF relationship to another type node.
</para>
</listitem>
<listitem>
<para><code>IndexingNodeTypeStrategy</code></para>
<para>
@@ -32,6 +24,14 @@
node has a property <code>__type__</code> with the type of that entity.
</para>
</listitem>
<listitem>
<para><code>SubReferenceNodeTypeStrategy</code></para>
<para>
Stores entity types in a tree in the graph representing the type hierarchy. Each entity
has a INSTANCE_OF relationship to a type node representing that entity's type. The type may or
may not have a SUBCLASS_OF relationship to another type node.
</para>
</listitem>
<listitem>
<para><code>NoopNodeTypeStrategy</code></para>
<para>
@@ -42,6 +42,7 @@
</itemizedlist>
</para>
<para>
The default implementation is <code>SubReferenceNodeTypeStrategy</code>.
The default implementation is <code>IndexingNodeTypeStrategy</code> for new graphs. If using an existing
graph, Spring Data Graph will default to the strategy first used when the graph was created.
</para>
</section>