1.

What Is The Purpose Of @element Annotation Annotation?

Answer»

This ANNOTATION sets the Element for type conversion. The Element annotation must be applied at FIELD or method level.

@Element( VALUE = com.acme.User )

private List<User> userList;

This annotation sets the Element for type conversion. The Element annotation must be applied at field or method level.

@Element( value = com.acme.User )

private List<User> userList;



Discussion

No Comment Found