public class NetworkMapper extends Object
| Constructor and Description |
|---|
NetworkMapper() |
| Modifier and Type | Method and Description |
|---|---|
static EntityDetail |
mapNetworkToOmrsEntityDetail(Network network)
Map (convert) the supplied Network to an entityDetail.
|
static Network |
mapOmrsEntityDetailToNetwork(EntityDetail omrsEntityDetail) |
public static Network mapOmrsEntityDetailToNetwork(EntityDetail omrsEntityDetail) throws InvalidParameterException
omrsEntityDetail - the supplied EntityDetailInvalidParameterException - a parameter is null or an invalid value.public static EntityDetail mapNetworkToOmrsEntityDetail(Network network)
network - supplied NetworkCopyright © 2018–2019 ODPi. All rights reserved.