* Keep their code clean by keeping the validation of their domain inside the domain – the factory methods
* Register the validation exceptions and report them aggregated upon deserialization
* Stay independent of the final format of the serialization (YAML/JSON/XML)
Highlighted features of MapMate are:
* Using the Objects the same way the user would use them, which means:
neither reading nor writing private fields
no writing values into final fields
no invocation of private methods
no generation of dynamic proxies
no annotations polluting domain
* Support for validating domain objects
registration of validation exceptions
aggregation of them into logical error messages
detection of redundant validation exceptions
* Non-intrusive usage and configuration
MapMate instance can be configured in a single place and offers detection of Custom Primitives and Serialized Objects without the use of annotations
control over conventions for detection of Custom Primitives and Serialized Objects
no dependencies (direct or conventional) to the (de)serialization and validation frameworks
* High level of customization
MapMate is highly configurable, allowing configuration for whitelisting and blacklisting packages and/or classes the detection mechanism of Custom Primitives and Serialized Objects manual definition of Custom Primitives and Serialized Objects customizing the Validation Errors.
Let’s block ads! (Why?)
Key takeaways:Udta Teer is a spy comedy-caper starring Ayushmann Khurrana, described by reviewers as a…
Key takeaways:France has reported the first known human shamonda virus infection, involving a virus previously…
Key takeaways:Anthony Richardson, the Indianapolis Colts quarterback, has been charged with misdemeanor marijuana possession, according…
Key takeaways:Marvel is marketing Avengers: Doomsday with a World Series teaser and a first poster…
Key takeaways:Physicists have trapped a single antimatter particle and kept it caged for months —…
Key takeaways:On October 22, President John F. Kennedy delivered a televised address revealing Soviet nuclear…