public final class ImmutablePrivilegeDefinition extends java.lang.Object implements PrivilegeDefinition
PrivilegeDefinition
interface.Constructor and Description |
---|
ImmutablePrivilegeDefinition(@NotNull java.lang.String name,
boolean isAbstract,
@Nullable java.lang.Iterable<java.lang.String> declaredAggregateNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
@NotNull java.util.Set<java.lang.String> |
getDeclaredAggregateNames()
Returns the internal names of the declared aggregated privileges or
an empty array if the privilege defined by this definition isn't
an aggregate.
|
@NotNull java.lang.String |
getName()
The internal name of this privilege.
|
int |
hashCode() |
boolean |
isAbstract()
Returns
true if the privilege described by this definition
is abstract. |
java.lang.String |
toString() |
public ImmutablePrivilegeDefinition(@NotNull @NotNull java.lang.String name, boolean isAbstract, @Nullable @Nullable java.lang.Iterable<java.lang.String> declaredAggregateNames)
@NotNull public @NotNull java.lang.String getName()
PrivilegeDefinition
getName
in interface PrivilegeDefinition
public boolean isAbstract()
PrivilegeDefinition
true
if the privilege described by this definition
is abstract.isAbstract
in interface PrivilegeDefinition
true
if the resulting privilege is abstract;
false
otherwise.@NotNull public @NotNull java.util.Set<java.lang.String> getDeclaredAggregateNames()
PrivilegeDefinition
getDeclaredAggregateNames
in interface PrivilegeDefinition
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved