title: With Android Room, do I need to add setter and getter for nested object?
body: <p>In the code below, class <code>Address</code> is nested in Entity <code>User</code>. I wonder if all the attributes of <code>Address</code> are <code>private</code>, do we need <code>getter</code> and <code>setter</code> for each of the field in <code>Address</code>? Notice there is a <code>List&lt;String&gt;</code>, so I'm not sure if <code>Room</code> will work well with <code>@TypeConverter</code> in this case.  </p>
  
  <pre><code>public class Address {
      public String street;
      public String state;
      public List&lt;String&gt; city;
  
      @ColumnInfo(name = "post_code")
      public int postCode;
  }
  
  @Entity
  public class User {
      @PrimaryKey
      public int id;
  
      public String firstName;
  
      @Embedded
      public Address address;
  }
  </code></pre>