-
Notifications
You must be signed in to change notification settings - Fork 41
Annotation Overview
avurro edited this page Apr 6, 2016
·
9 revisions
under construction
The annotations are useful generally to write least possible, this type of configuration is base on DRY principle.
DRY = Don't Repeat Yourself.
This means that the existing code is used as much possible to avoid a repetition in the configuration.
This type of configuration is very useful in case of hierarchy of classes.
For understand the power under this feature will be proposed a possible real case.
We will go to analyze this hierarchy:
________
| |
| Role |
|______|
________________|_________________
____|____ ___|____ ____|____
| | | | | |
| Admin | | User | | Guest |
|______ | |______| |_______|
________|_________
______|_____ _______|_____
| | | |
| DB Admin | | Web Admin |
|__________| |___________|
© 2016 Alessandro Vurro
- Home
- How to map
- Relations
- Conversions
- creation/enrichment
- XML
- Annotation
- API
- Configurations
- Utilities
- Examples
- Articles
- More information
- Performance tests
- Release Notes