java.lang.Object
org.odpi.openmetadata.viewservices.feedbackmanager.metadataelements.LikeElement

public class LikeElement extends Object
LikeElement contains the properties and header for a Like entity retrieved from the metadata repository.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with the properties.
    Return the properties of the like.
    int
    Return hash code for this object
    void
    setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader)
    Set up the element header associated with the properties.
    void
    Set up the properties of the like.
    JSON-style toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LikeElement

      public LikeElement()
      Default constructor
    • LikeElement

      public LikeElement(LikeElement template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getElementHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Returns:
      element header object
    • setElementHeader

      public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader)
      Set up the element header associated with the properties.
      Parameters:
      elementHeader - element header object
    • getProperties

      public LikeProperties getProperties()
      Return the properties of the like.
      Returns:
      properties bean
    • setProperties

      public void setProperties(LikeProperties properties)
      Set up the properties of the like.
      Parameters:
      properties - properties bean
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code