{title:'@Swap Annotation', updated:'8.0.0,9.0.0'}
{@link oaj.annotation.Swap @Swap} can be used to associate a swap class using an
annotation.
This is often cleaner than using the builder
|
Multiple swaps can be associated with a class using multiple {@link oaj.annotation.Swap @Swap} annotations:
|
|
The
|
When applied to bean properties, the swap annotation need only be applied to either the getter, setter, or field.
The swap annotation can also be applied to the private field of a bean property, like so:
|