public class AssetMapper extends Object
| Constructor and Description |
|---|
AssetMapper() |
| Modifier and Type | Method and Description |
|---|---|
static EntityDetail |
mapAssetToOmrsEntityDetail(Asset asset)
Map (convert) the supplied Asset to an entityDetail.
|
static Asset |
mapOmrsEntityDetailToAsset(EntityDetail omrsEntityDetail) |
public static Asset mapOmrsEntityDetailToAsset(EntityDetail omrsEntityDetail) throws InvalidParameterException
omrsEntityDetail - the supplied EntityDetailInvalidParameterExceptionpublic static EntityDetail mapAssetToOmrsEntityDetail(Asset asset)
asset - supplied AssetCopyright © 2018 ODPi. All rights reserved.