Database Reference
In-Depth Information
Figure 9.2. Conceptual overview of the movie-lovers' social network, with referrals
9.2.1. Initial POJO domain modeling
If you ignore the fact for a moment that your data is actually being stored in Neo4j and
take a simple stab at modeling your conceptual domain as POJOs, your first attempt might
look something like the following listing. Note that getters and setters have been omitted
for brevity.