public class PersonMapper extends Object
| Constructor and Description |
|---|
PersonMapper() |
| Modifier and Type | Method and Description |
|---|---|
static Person |
mapOmrsEntityDetailToPerson(EntityDetail omrsEntityDetail) |
static EntityDetail |
mapPersonToOmrsEntityDetail(Person person)
Map (convert) the supplied Person to an entityDetail.
|
public static Person mapOmrsEntityDetailToPerson(EntityDetail omrsEntityDetail) throws InvalidParameterException
omrsEntityDetail - the supplied EntityDetailInvalidParameterException - a parameter is null or an invalid value.public static EntityDetail mapPersonToOmrsEntityDetail(Person person)
person - supplied PersonCopyright © 2018–2019 ODPi. All rights reserved.