public class CommentMapper extends Object
| Constructor and Description |
|---|
CommentMapper() |
| Modifier and Type | Method and Description |
|---|---|
static EntityDetail |
mapCommentToOmrsEntityDetail(Comment comment)
Map (convert) the supplied Comment to an entityDetail.
|
static Comment |
mapOmrsEntityDetailToComment(EntityDetail omrsEntityDetail) |
public static Comment mapOmrsEntityDetailToComment(EntityDetail omrsEntityDetail) throws InvalidParameterException
omrsEntityDetail - the supplied EntityDetailInvalidParameterExceptionpublic static EntityDetail mapCommentToOmrsEntityDetail(Comment comment)
comment - supplied CommentCopyright © 2018 ODPi. All rights reserved.