Class CommentBuilder


  • public class CommentBuilder
    extends ReferenceableBuilder
    CommentBuilder is able to build the properties for a Comment entity.
    • Constructor Detail

      • CommentBuilder

        public CommentBuilder​(String qualifiedName,
                              int commentType,
                              String commentText,
                              boolean isPublic,
                              OMRSRepositoryHelper repositoryHelper,
                              String serviceName,
                              String serverName)
        Constructor.
        Parameters:
        qualifiedName - unique name (qualifiedName) for the comment
        commentType - ordinal of comment enum.
        commentText - String - the text of the comment.
        isPublic - should this be visible to all or private to the caller
        repositoryHelper - helper methods
        serviceName - name of this OMAS
        serverName - name of local server