This package contains the domain model classes for the example used in this
book. They represent a fairly simple model of Authors that have an Address and
write Books that are then published by a Publisher.
There are four classes:
- Address - an Address has no references
- Author - an Author has a reference to an Address (or null if no Address
has been specified) and a collection of Books.
- Book - a Book has a collection of Authors that wrote it (or null if no
Authors have been specified) and a publisher (or null if no Publisher has
been specified).
- Publisher - a Publisher has a collection of Books that it publishes (or
null it it has not yet published any books).