@Override
	public Object getValueAt(int rowIndex, int columnIndex) {
		Object res = null;
		Person person = listPerson.get(rowIndex);
		switch (columnIndex) {
			case 0:
				res = person.getId();
				break;
			case 1:
				res = person.getFirstName();
				break;
			case 2:
				res = person.getLastName();
				break;
			case 3:
				res = person.getAge();
				break;
			case 4:
				if(person.getAddressList().size()==0){
					res="";
				}
				else{
					res = person.getAddressList().get(0).getAdress();
				}
				break;
			case 5:
				if(person.getPhoneList().size()==0){
					res="";
				}
				else{
					res = person.getPhoneList().get(0).getPhone();
				}
				break;
	
			default:
				break;
		}
		return res;
	}