title: A good way to store data of a person in Java?
body: <p>I would like to store some data such as first name, last name, date of birth, address, telephone number, etc.  There will probably be about 50 fields in total.  What would be a good way to store that data? I was thinking of just using a class named Person and put bunch of members in it for the fields.  Ex:</p>
  
  <pre><code>public class Person {
      private String fName;
      private String mName;
      private String lName;
      private String dob;
      private String address;
      private String phNumber;
      private String sex;
      private String aka;
      // etc...
      public void setfName(String st) {
          fName = st;
      }
      public String getfName() {
          return fName;
      }
      // etc....
  }
  </code></pre>
  
  <p>Is there a better way to perform this task?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I should also mention that each of the data fields will be (hopefully if I figure out how to do it) inserted into a Microsoft Word template.  I'm not necessarily planning on working with the data beyond that scope.  What I have at this moment is a pdf document, which I was able to extract text from.  I will parse that text and attempt to get all the data out of it.  I will then insert that data into the word template (if it's possible).</p>