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 EntityDetailInvalidParameterExceptionpublic static EntityDetail mapHostToOmrsEntityDetail(Host host)
host - supplied HostCopyright © 2018 ODPi. All rights reserved.