1.

What Is The Purpose Of @keyproperty Annotation Annotation?

Answer»

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

@KeyProperty( value = "USERNAME" )

protected List<User> USERS = NULL;

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

@KeyProperty( value = "userName" )

protected List<User> users = null;



Discussion

No Comment Found