@Override
    public Object getValueAt(int rowIndex, int columnIndex) {
        Rent rent = rents.get(rowIndex);
        switch (COLUMNS.values()[columnIndex]) {
            case ID:
                return rent.getId();
            case CUSTOMER:
                return rent.getCustomer();
            case CAR:
                return rent.getCar();
	    case FROM:
                return rent.getFrom();
            case TO:
                return rent.getTo();
	    case COST:
                return rent.getCost();
            default:
                throw new IllegalArgumentException("columnIndex");
        }
    }