public void setPerson(Person person) {
		log.debug("Adding person: " + person);
		if (person.getId() == -1) {
			person.setId(getNextId());
		}

		people.remove(person);
		people.add(person);
	}
public void setPerson ( Person person ) { log . debug ( "Adding person: " + person ) ; if ( person . getId ( ) == - 1 ) { person . setId ( getNextId ( ) ) ; } people . remove ( person ) ; people . add ( person ) ; }
Insert a person into the set of people

@param person
The person to add or update