@Override
    public Object getValueAt(int rowIndex, int columnIndex) {
        if (persons != null) {
            if (columnIndex == 0) {
                return persons.get(rowIndex);
            } else if (columnIndex == 1) {
                return persons.get(rowIndex).getAge();
            } else if (columnIndex == 2) {
                return persons.get(rowIndex).getPosition();
            } else if (columnIndex == 3) {
                return persons.get(rowIndex).getMoviesSize();
            }
        }
        return null;
    }