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()
PrivilegeDefinitiongetName in interface PrivilegeDefinitionpublic boolean isAbstract()
PrivilegeDefinitiontrue if the privilege described by this definition
is abstract.isAbstract in interface PrivilegeDefinitiontrue if the resulting privilege is abstract;
false otherwise.@NotNull public @NotNull java.util.Set<java.lang.String> getDeclaredAggregateNames()
PrivilegeDefinitiongetDeclaredAggregateNames in interface PrivilegeDefinitionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved