Class RoleChange.RemoveSecurableObject

java.lang.Object
org.apache.gravitino.authorization.RoleChange.RemoveSecurableObject
All Implemented Interfaces:
RoleChange
Enclosing interface:
RoleChange

public static final class RoleChange.RemoveSecurableObject extends Object implements RoleChange
A RemoveSecurableObject to remove a securable object from a role.
  • Method Details

    • getRoleName

      public String getRoleName()
      Returns the role name.
      Returns:
      return a role name.
    • getSecurableObject

      public SecurableObject getSecurableObject()
      Returns the securable object to be added.
      Returns:
      return a securable object.
    • equals

      public boolean equals(Object o)
      Compares this RemoveSecurableObject instance with another object for equality. The comparison is based on the added securable object to a role.
      Overrides:
      equals in class Object
      Parameters:
      o - The object to compare with this instance.
      Returns:
      true if the given object represents the same as remove securable object; false otherwise.
    • hashCode

      public int hashCode()
      Generates a hash code for this RemoveSecurableObject instance. The hash code is based on the added securable object.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this adds securable object operation.
    • toString

      public String toString()
      Returns a string representation of the RemoveSecurableObject instance. This string format includes the class name followed by the add securable object operation.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the RemoveSecurableObject instance.