vendredi 8 juillet 2016

How do I get all fields of embedded classes?

I have a class Account:

private String accountType;
private List<String> attributes = new ArrayList<>();
private Date createdDate;
private ContactInfo contactInfo;

As you can see there's a class "ContactInfo" inside. How can I get all fields in Account class and all it's used classes such as "ContactInfo"?





Aucun commentaire:

Enregistrer un commentaire