Class AnnotationRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.AnnotationRequestBody
All Implemented Interfaces:
Serializable

public class AnnotationRequestBody extends ODFOMASAPIRequestBody
CommentRequestBody provides a structure for passing a comment as a request body over a REST API.
See Also:
  • Constructor Details

    • AnnotationRequestBody

      public AnnotationRequestBody()
      Default constructor
    • AnnotationRequestBody

      public AnnotationRequestBody(AnnotationRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getCommentType

      public CommentType getCommentType()
      Return the type of comment.
      Returns:
      string
    • setCommentType

      public void setCommentType(CommentType commentType)
      Set up the type of comment.
      Parameters:
      commentType - string
    • getCommentText

      public String getCommentText()
      Return the comment content.
      Returns:
      string description
    • setCommentText

      public void setCommentText(String commentText)
      Set up the comment content.
      Parameters:
      commentText - text.