@Override
	public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
		Person person = listPerson.get(rowIndex);
		switch (columnIndex) {
			case 0:
				person.setId(Integer.parseInt((String) aValue));
				break;
			case 1:
				person.setFirstName((String) aValue);
				break;
			case 2:
				person.setLastName((String) aValue);
				break;
			case 3:
				person.setAge(Integer.parseInt((String) aValue));
				break;
			case 4:
				if(person.getAddressList().size()==0){
					Address address = new Address();
					address.setAdress((String) aValue);
					address.setPerson(person);
					person.getAddressList().add(address);
				}
				else{
					person.getAddressList().get(0).setAdress((String) aValue);
				}
				
				break;
			case 5:
				if(person.getPhoneList().size()==0){
					Phone phone = new Phone();
					phone.setPhone((String) aValue);
					phone.setPerson(person);
					person.getPhoneList().add(phone);
				}
				else{
					person.getPhoneList().get(0).setPhone((String) aValue);
				}
				
				break;
				
			default:
				break;
		}
		FromDAO.update(person);
	}