code: public Comment getComment(final DbComment dbComment) {
         return DataModelFactory.createComment(dbComment.getEntityId(),
                 dbComment.getEntityType(),
                 dbComment.getAction(),
                 dbComment.getDbCommentText(),
                 dbComment.getDbCommentedBy(),
                 dbComment.getDbCreatedDateTime());
      }
docs: Transform comment from database model to client/server model
  
  @param dbComment - database model to transform
  @return - the client/server model