PropertyUtilsBean propUtils = new PropertyUtilsBean()
propUtils.setNestedProperty(object, fieldName, value);
The above code can handle any List/Array of object and Map of object. But, is unable to handle HashSet of object.
Is there any way, this can be done? Or do we have to specifically handle it?
Aucun commentaire:
Enregistrer un commentaire