Class TagChange.UpdateTagComment

java.lang.Object
org.apache.gravitino.tag.TagChange.UpdateTagComment
All Implemented Interfaces:
TagChange
Enclosing interface:
TagChange

public static final class TagChange.UpdateTagComment extends Object implements TagChange
A tag change to update the tag comment.
  • Method Details

    • getNewComment

      public String getNewComment()
      Get the new comment intended for the tag.
      Returns:
      The new comment that will be set for the tag.
    • equals

      public boolean equals(Object o)
      Compare the UpdateTagComment instance with another object for equality. Two instances are considered equal if they designate the same new comment for the tag.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      True if the object is equal to this instance, false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for the UpdateTagComment instance.
      Overrides:
      hashCode in class Object
      Returns:
      The hash code for the UpdateTagComment instance.
    • toString

      public String toString()
      Get the string representation of the UpdateTagComment instance.
      Overrides:
      toString in class Object
      Returns:
      The string representation of the UpdateTagComment instance.