Skip to content

Commit 55613b8

Browse files
committed
issues/1649 Review comments fixed
1 parent c933ccb commit 55613b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/developer-guide/getting-started-with-persistence.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ If you want to store that entity properly you need to adopt the following rules:
5757
* Create the interface for your entity with all the getters and setters that are required to interact with the entity, according to the `JavaBeans` coding convention. This interface should extend `org.carlspring.strongbox.data.domain.DomainObject`. We need an interface in order to hide the implementation-specific details that depend on the underlying database, such as inheritance strategy.
5858
* Create the entity class which implements the above interface and extend to `org.carlspring.strongbox.data.domain.DomainEntity`.
5959
* Declare an entity class with `@NodeEntity` or `@RelationshipEntity`.
60-
* Define a default empty constructor, this would need to create entity instance from `neo4j-ogm` internals.
60+
* Define a default empty constructor, as this would be required in order to create entity instances from `neo4j-ogm` internals.
6161

6262
The complete source code example that follows all requirements should look something like this:
6363

@@ -99,6 +99,8 @@ As mentioned above, besides `neo4j-ogm` and `spring-data-neo4j`, we were forced
9999
- `unfold` : to extract entity properties into vertex/edge and its properties
100100
- `cascade` : to cascade other vertices/edges within delete if needed
101101

102+
Basically these all these operations are implemented using special `__` class, which represent anonymous traversal in Gremlin.
103+
102104
The `EntityTraversalAdapter` implementations can also use each other to support relations between entities, inheritance and cascade operations.
103105

104106
Below is the code example of `EntityTraversalAdapter` implementation for `PetEntity`:

0 commit comments

Comments
 (0)