Class TableColumn


  • public class TableColumn
    extends ModelElement
    Description of one column of a runtime table.
    • Constructor Detail

      • TableColumn

        protected TableColumn​(TableStructure tableStructure,
                              java.lang.String name,
                              java.lang.Class<?> datatype,
                              java.lang.reflect.Method getter)
    • Method Detail

      • getDatatype

        public java.lang.Class<?> getDatatype()
        Returns:
        the class for this column's values
      • getGetterMethod

        protected java.lang.reflect.Method getGetterMethod()
      • getValue

        public java.lang.Object getValue​(java.lang.Object row)
        Returns:
        the value of this column in the given row
      • createModelsFrom

        protected static java.util.LinkedHashMap<java.lang.String,​TableColumn> createModelsFrom​(TableStructure tableStructure,
                                                                                                      java.lang.Class<? extends ITable<?>> tableObjectClass,
                                                                                                      java.lang.Class<?> tableRowClass)