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.org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentTypeReturn the type of comment.voidsetCommentText(String commentText) Set up the comment content.voidsetCommentType(org.odpi.openmetadata.frameworks.connectors.properties.beans.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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType getCommentType()Return the type of comment.- Returns:
- string
-
setCommentType
public void setCommentType(org.odpi.openmetadata.frameworks.connectors.properties.beans.CommentType commentType) 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.
-