title: Get all properties java Object
body: <p>I have an object in java that have a lot of properties. I want to get it for create a SOAP request dynamically (tags-value). </p>
  
  <p>I need all of this properties not only the first level (I want properties inside others properties).</p>
  
  <p>I see the reflection api in java in this web but only give me the public properties (or declared with getDeclaredFields()) of the object and I have properties in other classes because hibernate get me all values from a DB in FetchType.EAGER</p>
  
  <pre><code>@Version
  @Column(name = "VERSION")
  private Integer version;
  
  @ManyToOne(fetch = FetchType.EAGER)
  @JoinColumn(name = "ID_LUGAR")
  public GatLugar gatLugar;
  
  @Column(name = "NUM_ATESTADO")
  public Long numAtestado;
  
  @Temporal(TemporalType.DATE)
  @Column(name = "FECHA_REGISTRO")
  private Date fechaRegistro;
  
  @Temporal(TemporalType.DATE)
  @Column(name = "FECHA_HECHO")
  private Date fechaHecho;
  </code></pre>
  
  <p>For example numAtestado with java reflection get it but gatLugar have more properties-values inside and dont have it with reflection.</p>
  
  <p>Sorry for my english im from spain xD</p>
  
  <p>Thanks for all!!</p>