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