modelmapper
Simple, Intelligent, Object Mapping.
ModelMapper is an intelligent object mapping library that automatically maps objects to each other. It uses a convention based approach while providing a simple refactoring safe API for handling specific use cases.
- View Javadoc
- Submit Issues
- Ask a Question
- Changelog
- Version 0.5.6
Introduction
We can usually tell how two object models map to each other just by looking at them. And if we can do it, why can't our mapping tool? This is the goal of ModelMapper - to determine how one object model maps to another, based on conventions, in the same way that a human would.
Simple by convention. Extensible by design.
Intelligent
ModelMapper analyzes your object model to intelligently determine how data should be mapped. There's no manual mapping needed. ModelMapper does most of the work for you, automatically projecting and flattening complex models.
Refactoring Safe
ModelMapper provides a simple, fluent mapping API for handling special use cases. The API is type-safe and refactoring-safe, using actual code, rather than string references, to map properties and values.
Convention Based
ModelMapper uses conventions to determine how properties and values are mapped to each other. Users can create custom conventions, or use one of the supplied conventions.