title: How to create Getter and Setter for TableView
body: <pre><code>public class CatTable {
  
  
  private SimpleStringProperty nameCat1;
  private SimpleStringProperty nameCat2;
      private SimpleStringProperty nameCat3;
      private SimpleStringProperty nameCat4;
      private SimpleStringProperty nameCat5;
      private SimpleStringProperty nameCat6;
      .
      .
      .
      .
      private SimpleStringProperty nameCat100;
  
      public CatTable(){
      this.nameCat1 = new SimpleStringProperty();     
      this.nameCat2 = new SimpleStringProperty();
      this.nameCat3 = new SimpleStringProperty();
      this.nameCat4 = new SimpleStringProperty();
              .
              .
              .
      this.nameCat100 = new SimpleStringProperty();
  }
  
      public CatTable(String nameCat1, String nameCat2, ... , nameCat100){
      this.nameCat1 = new SimpleStringProperty(numCat1);
      this.nameCat2= new SimpleStringProperty(nameCat2);
               .
               .
               .
      this.nameCat100= new SimpleStringProperty(nameCat100);
  }
  
  public String getNameCat1(){
      return nameCat1.get();
  }
  
  public void setNameCat1(String numCat1){
      this.nameCat1.set(nameCat1);
  }
  
  public String getNameCat2(){
      return nameCat2.get();
  }
  public void setNameCat2(String nameCat2){
      this.nameCat2.set(nameCat2);
  }
  
      .
      .
      .
       public String getNameCat100(){
      return nameCat100.get();
      }
      public void setNameCat100(String nameCat100){
      this.nameCat100.set(nameCat100);
  </code></pre>
  
  <p>I try to make tableview with getter and setter.
  and if there are 100 tableColumns. i make each getters and setters for columns </p>
  
  <p>Does anyone know how to make it simple?
  I have no idea at all.</p>