public class CategoryMapper extends Object
| Constructor and Description |
|---|
CategoryMapper() |
| Modifier and Type | Method and Description |
|---|---|
static GlossaryCategory |
mapCategoryToOMRSBean(Category category)
Map the Category to the omrsBean
|
static Category |
mapOMRSBeantoCategory(GlossaryCategory omrsBean)
Map the GlossaryCategory OMRS Bean to the Catoegory exposed in the API
|
public static GlossaryCategory mapCategoryToOMRSBean(Category category) throws InvalidParameterException
category - category exposed in the APIInvalidParameterException - one of the parameters is null or invalid.public static Category mapOMRSBeantoCategory(GlossaryCategory omrsBean)
omrsBean - generated OMRS Bean for Glossary CategoryCopyright © 2018–2019 ODPi. All rights reserved.