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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationRequestBody()Default constructorAnnotationRequestBody(AnnotationRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommentText()Return the comment content.CommentTypegetCommentType()Return the type of comment.voidsetCommentText(String commentText)Set up the comment content.voidsetCommentType(CommentType commentType)Set up the type of comment.-
Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
toString
-
-
-
-
Constructor Detail
-
AnnotationRequestBody
public AnnotationRequestBody()
Default constructor
-
AnnotationRequestBody
public AnnotationRequestBody(AnnotationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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.
-
-