public class CommentConverter extends CommonHeaderConverter
| Constructor and Description |
|---|
CommentConverter(EntityDetail entity,
Relationship attachedCommentRelationship,
List<Relationship> acceptedAnswersRelationships,
OMRSRepositoryHelper repositoryHelper,
String serviceName)
Constructor captures the initial content with relationship
|
| Modifier and Type | Method and Description |
|---|---|
Comment |
getBean()
Return the bean constructed from the repository content.
|
public CommentConverter(EntityDetail entity, Relationship attachedCommentRelationship, List<Relationship> acceptedAnswersRelationships, OMRSRepositoryHelper repositoryHelper, String serviceName)
entity - properties to convertattachedCommentRelationship - properties to convertacceptedAnswersRelationships - properties to convertrepositoryHelper - helper object to parse entity/relationshipserviceName - name of this componentpublic Comment getBean()
Copyright © 2018–2020 ODPi. All rights reserved.