dimanche 13 août 2017

scala get members name of class/object and dynamic deep clone

In scala : I had a super class, and It have a lot of member/property,Like java pojo But I have some class inherited the Super class ,So I just put the value into the sub class from super class.I want to implement a dynamic way to getter/setter method, like apache BeanUtils.cloneProperties.

Who could solved this problem help me?





Aucun commentaire:

Enregistrer un commentaire