Class AnnotationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
org.odpi.openmetadata.accessservices.discoveryengine.rest.AnnotationRequestBody
- All Implemented Interfaces:
Serializable
CommentRequestBody provides a structure for passing a comment as a request body over a REST API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAnnotationRequestBody
(AnnotationRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the comment content.Return the type of comment.void
setCommentText
(String commentText) Set up the comment content.void
setCommentType
(CommentType commentType) Set up the type of comment.Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.rest.ODFOMASAPIRequestBody
toString
-
Constructor Details
-
AnnotationRequestBody
public AnnotationRequestBody()Default constructor -
AnnotationRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getCommentType
Return the type of comment.- Returns:
- string
-
setCommentType
Set up the type of comment.- Parameters:
commentType
- string
-
getCommentText
Return the comment content.- Returns:
- string description
-
setCommentText
Set up the comment content.- Parameters:
commentText
- text.
-