This rule ensures that PojoClass declares at least one required BusinessKey.
Required BusinessKey means either the required = true, or composite = true.
This Helper class populates the randomly generated collection with some random elements.
It is configured to generate anywhere between 0 - 10 elements in the collection.
This Rule ensures that all Fields are initialized to null.
This rule ignores fields that are marked as final or primitive types since neither can be initialized to null.
Filter classes based on regular regular expression
Example: ".+Domain$" to only include classes that end in Domain "^((?!Test$).)*$" to exclude classes that end with
Test
This implementation was submitted on issue 20.
This method generates a random value of the requested type.
If the requested type isn't registered in the factory, an RandomGeneratorException will be thrown.
This Helper class populates the randomly generated map with some random elements.
It is configured to generate anywhere between 1 - 5 elements in the map.
This rule ensures that no fields declared with public visibility unless they
are static and final It is best to non-POJO classes (Interfaces, Enums,
...etc.) to hold those instead of mixing responsibilities.
This simple implementation of CacheStorage uses WeakHashMap as the underlying storage mechanism and only well suited
for temporal short bursts of cache are needed and GC removal of cached items is acceptable.