Element Annotation
Sets the Element for type conversion.
Usage
The Element annotation must be applied at field or method level.
Parameters
| Parameter |
Required |
Default |
Description |
| value |
no |
java.lang.Object.class |
The element property value. |
Examples
@Element( value = com.acme.User )
private Map<Long, User> userMap;
@Element( value = com.acme.User )
public List<User> userList;