Here is a very hard-coded alternative to your problem:
1) Create an interface with value setter
Code:
     public interface RowWithColumnValues {
             void setColumnValue(int columnId, String value);
    }
2) Hard-code part: create classes that implement the interface above with exactly 1"escalating " variable and extending the "previous" variable's class:
...