Class RoleChange.RemoveSecurableObject
java.lang.Object
org.apache.gravitino.authorization.RoleChange.RemoveSecurableObject
- All Implemented Interfaces:
RoleChange
- Enclosing interface:
- RoleChange
A RemoveSecurableObject to remove a securable object from a role.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.gravitino.authorization.RoleChange
RoleChange.AddSecurableObject, RoleChange.RemoveSecurableObject, RoleChange.UpdateSecurableObject
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this RemoveSecurableObject instance with another object for equality.Returns the role name.Returns the securable object to be added.int
hashCode()
Generates a hash code for this RemoveSecurableObject instance.toString()
Returns a string representation of the RemoveSecurableObject instance.
-
Method Details
-
getRoleName
Returns the role name.- Returns:
- return a role name.
-
getSecurableObject
Returns the securable object to be added.- Returns:
- return a securable object.
-
equals
Compares this RemoveSecurableObject instance with another object for equality. The comparison is based on the added securable object to a role. -
hashCode
public int hashCode()Generates a hash code for this RemoveSecurableObject instance. The hash code is based on the added securable object. -
toString
Returns a string representation of the RemoveSecurableObject instance. This string format includes the class name followed by the add securable object operation.
-