Class RatingElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RatingElement
- All Implemented Interfaces:
MetadataElement
RatingElement contains the properties and header for a rating retrieved from the metadata repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorRatingElement(RatingElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the element header associated with the properties.Return details of the relationship from the element in the request to the rating.Return the properties of the rating.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader) Set up the element header associated with the properties.voidsetFeedbackTargetElement(FeedbackTargetElement feedbackTargetElement) Set up details of the relationship from the element in the request to the rating.voidsetProperties(RatingProperties properties) Set up the rating properties.toString()JSON-style toString
-
Constructor Details
-
RatingElement
public RatingElement()Default constructor -
RatingElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
Return the properties of the rating.- Returns:
- properties
-
setProperties
Set up the rating properties.- Parameters:
properties- properties
-
getFeedbackTargetElement
Return details of the relationship from the element in the request to the rating. This value is null if it was retrieved independently of the linked element.- Returns:
- associated relationship
-
setFeedbackTargetElement
Set up details of the relationship from the element in the request to the rating. This value is null if it was retrieved independently of the linked element.- Parameters:
feedbackTargetElement- associated relationship
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-