examples/mini-examples/welcome-example/src/main/java/de/saxsys/mvvmfx/examples/welcome/viewmodel/personwelcome/PersonWelcomeViewModel.java
public void setPersonId(int personId) {
		person = repository.getPersonById(personId);

		StringBinding salutationBinding
				= Bindings.when(person.genderProperty().isEqualTo(Gender.NOT_SPECIFIED))
				.then("Herr/Frau/* ")
				.otherwise(
						Bindings.when(person.genderProperty().isEqualTo(Gender.MALE))
						.then("Herr ").otherwise("Frau "));

		welcomeString.unbind();
		welcomeString.bind(Bindings.concat("Willkommen ", salutationBinding,
				person.firstNameProperty(), " ",
				person.lastNameProperty()));
	}
public void setPersonId(int personId) {
		person = repository.getPersonById(personId);

		StringBinding salutationBinding
				= Bindings.when(person.genderProperty().isEqualTo(Gender.NOT_SPECIFIED))
				.then("Herr/Frau/* ")
				.otherwise(
						Bindings.when(person.genderProperty().isEqualTo(Gender.MALE))
						.then("Herr ").otherwise("Frau "));

		welcomeString.unbind();
		welcomeString.bind(Bindings.concat("Willkommen ", salutationBinding,
				person.firstNameProperty(), " ",
				person.lastNameProperty()));
	}
Set Person id for the screen

@param personId for the screen