Class MetadataObjectChange.RemoveMetadataObject

java.lang.Object
org.apache.gravitino.authorization.MetadataObjectChange.RemoveMetadataObject
All Implemented Interfaces:
MetadataObjectChange
Enclosing interface:
MetadataObjectChange

public static final class MetadataObjectChange.RemoveMetadataObject extends Object implements MetadataObjectChange
A RemoveMetadataObject is to remove securable object's metadata entity.
  • Method Details

    • metadataObject

      public MetadataObject metadataObject()
      Returns the metadataObject to be renamed.
      Returns:
      return a metadataObject.
    • getLocations

      public List<String> getLocations()
      Returns the location path of the metadata object.
      Returns:
      return a location path.
    • equals

      public boolean equals(Object o)
      Compares this RemoveMetadataObject instance with another object for equality. The comparison is based on the old metadata entity.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents the same rename metadata entity; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this RemoveMetadataObject instance. The hash code is based on the old metadata entity.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this update metadata entity operation.
    • toString

      public String toString()
      Returns a string representation of the RemoveMetadataObject instance. This string format includes the class name followed by the remove metadata entity object operation.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the RemoveMetadataObject instance.