Multiple Layers
Entities can be created with an arbitrary amount of layers, so feel free to combine them as you like:
EntityVersionContext<Long> versionContext =
EntityVersionContext.AutoIncrementingLong();
JulLogger logger = new JulLogger();
Person john = PersonCreator.New()
.addLayer(versionContext)
.addLayer(logger)
.firstName("John")
.lastName("Doe")
.create();
The example on GitHub makes use of all the described features. |