public class HostMapper extends Object
| Constructor and Description |
|---|
HostMapper() |
| Modifier and Type | Method and Description |
|---|---|
static EntityDetail |
mapHostToOmrsEntityDetail(Host host)
Map (convert) the supplied Host to an entityDetail.
|
static Host |
mapOmrsEntityDetailToHost(EntityDetail omrsEntityDetail) |
public static Host mapOmrsEntityDetailToHost(EntityDetail omrsEntityDetail) throws InvalidParameterException
omrsEntityDetail - the supplied EntityDetailInvalidParameterException - a parameter is null or an invalid value.public static EntityDetail mapHostToOmrsEntityDetail(Host host)
host - supplied HostCopyright © 2018–2019 ODPi. All rights reserved.