Community
Participate
Working Groups
Build Identifier: 20110615-0604 Initial situation: I have a table, which has a dynamic number of columns. We always deliver some properties to the table, which will be connected to the variables in the model. My model has a list(ArrayList) of elements. If i want to use the elements to get/set the values I need to create get-/setter methods for each element in the list. Problem: I want to add a lot of elements (X-elements) into the list, which represent the columns. In this case I need to create X-methodes in the model. This isn't nice, because you will always have to change the class, if more columns are needed. I could implement a buffer of 100 methods/properties, but is this the right way? This class would have a lot of redundant code. Reproducible: Always