public void invoke(T entity, EntityProperty entityProperty, Cell cell) {
        try {
            Method method = entityProperty.getPropertyDescriptor().getWriteMethod();
            switch (entityProperty.getColumnType()) {
                case TEXT:
                    method.invoke(entity, cell.getStr());
                    break;
                case DOUBLE:
                    method.invoke(entity, new Double(cell.getStr()));
                    break;
                case INTEGER:
                    method.invoke(entity, new Integer(cell.getStr()));
                    break;
            }
        } catch (Exception ex) {
            System.out.println("In exceptin thrown: "+entity);
        }
    }