@Handler(supports=PersonName.class) public class PersonNameSaveHandler extends Object implements SaveHandler<PersonName>
PersonName object is saved. The current implemention just
 trims out the whitespace from the beginning and end of the given/middle/familyname/familyName2
 attributes| Constructor and Description | 
|---|
| PersonNameSaveHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | handle(PersonName personName,
      User creator,
      Date dateCreated,
      String other)This method is used by the implementing classes to set any required data that it needs to. | 
public void handle(PersonName personName, User creator, Date dateCreated, String other)
SaveHandlerhandle in interface RequiredDataHandler<PersonName>handle in interface SaveHandler<PersonName>personName - an OpenmrsObject that needs to have some required data setcreator - the user who is saving this objectdateCreated - the datetime this object is being savedother - (optional) would be the second argument in the save method, if existsSaveHandler.handle(org.openmrs.OpenmrsObject, org.openmrs.User,
      java.util.Date, java.lang.String)Copyright © 2024 OpenMRS Inc.. All rights reserved.