Class FeedbackProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.feedback.FeedbackProperties
FeedbackProperties provides a base class for passing feedback objects as a request body over a REST API.
-
Constructor Summary
ConstructorDescriptionDefault constructorFeedbackProperties
(FeedbackProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return whether the feedback is private or notvoid
setIsPublic
(boolean aPrivate) Set up the privacy flag.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
equals, getEffectiveFrom, getEffectiveTo, getExtendedProperties, hashCode, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
FeedbackProperties
public FeedbackProperties()Default constructor -
FeedbackProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getIsPublic
public boolean getIsPublic()Return whether the feedback is private or not- Returns:
- boolean
-
setIsPublic
public void setIsPublic(boolean aPrivate) Set up the privacy flag.- Parameters:
aPrivate
- boolean
-
toString
JSON-style toString.- Overrides:
toString
in classRelationshipProperties
- Returns:
- list of properties and their values.
-