@Test public void setEmailAddress() { Person person = personService.getPerson(7); PersonWrapper wrapper = new PersonWrapper(person); wrapper.setEmailAddress("test@example.com"); personService.savePerson(person); List<PersonAttribute> attrs = person.getAttributes("Email address"); Assert.assertThat(attrs, hasSize(1)); Assert.assertThat(wrapper.getEmailAddress(), is("test@example.com")); }
public void setEmailAddress(String value) { setAsAttribute(CommonMetadata._PersonAttributeType.EMAIL_ADDRESS, value); }
PersonWrapper extends AbstractPersonWrapper { public void setEmailAddress(String value) { setAsAttribute(CommonMetadata._PersonAttributeType.EMAIL_ADDRESS, value); } }
PersonWrapper extends AbstractPersonWrapper { public void setEmailAddress(String value) { setAsAttribute(CommonMetadata._PersonAttributeType.EMAIL_ADDRESS, value); } PersonWrapper(Person target); }
PersonWrapper extends AbstractPersonWrapper { public void setEmailAddress(String value) { setAsAttribute(CommonMetadata._PersonAttributeType.EMAIL_ADDRESS, value); } PersonWrapper(Person target); String getTelephoneContact(); void setTelephoneContact(String value); String getEmailAddress(); void setEmailAddress(String value); }
PersonWrapper extends AbstractPersonWrapper { public void setEmailAddress(String value) { setAsAttribute(CommonMetadata._PersonAttributeType.EMAIL_ADDRESS, value); } PersonWrapper(Person target); String getTelephoneContact(); void setTelephoneContact(String value); String getEmailAddress(); void setEmailAddress(String value);  }