title: Generic getter and setter methods
body: <p>I am trying to write an abstract class. This class is going to be a Field. There will be different types of fields which will need to extend the field class and write its own setter class. For example....There will be a String Field and an Integer Field.</p>
  
  <p>String Field will need to extend the Field class but must have it's own <code>setValue</code> and <code>getValue</code> method which has a String variable to set and return. Number Field must do the same with Integer.</p>
  
  <p>I think the best way is to have a Generic Type set Value in the super class but I am not sure how to do about this. Any help much appreciated.</p>