Class LikeProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.feedback.LikeProperties
The LikeProperties object records a single user's "like" of an element.
-
Constructor Summary
ConstructorDescriptionDefault constructorLikeProperties
(LikeProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getUser()
Return the user id of the person who created the like.int
hashCode()
Hash of propertiesvoid
Set up the user id of the person who created the like.toString()
Standard toString method.
-
Constructor Details
-
LikeProperties
public LikeProperties()Default constructor -
LikeProperties
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getUser
Return the user id of the person who created the like. Null means the user id is not known.- Returns:
- String liking user
-
setUser
Set up the user id of the person who created the like. Null means the user id is not known.- Parameters:
user
- String liking user
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-