title: Ebean: How to create a column for a getter without a property
body: <p>I wan't to be able to store computed values from Java in my database.</p>
  
  <p>For example, I might have a Person class that with a <code>firstName</code> and a <code>lastName</code>. I may want a getter that returns the the total length of the <code>Person</code>s name, without it being an actual property.</p>
  
  <pre><code>@Entity
  public class Person extends Model {
      @Id
      public Long id;
  
      public String firstName;
  
      public String lastName;
  
      public Int getNameLength() {
          return firstName.length() + lastName.length();
      }
  
      public Person (String firstName, String lastName) {
          this.firstName = firstName;
          this.lastName = lastName;
      }
  }
  </code></pre>
  
  <p>So if I create a new <code>Person</code> like so:</p>
  
  <pre><code>Person bob = new Person("Bob", "Roy");
  bob.save();
  </code></pre>
  
  <p>Then we should end up with this in the table:</p>
  
  <pre><code>|  id  |  first_name  |  last_name  |  name_length |
  ====================================================
  |  1   |    "Bob"     |    "Roy"    |      6       |
  </code></pre>
  
  <p>Does anyone know if this is possible?</p>