public final class ImmutablePrivilegeDefinition extends java.lang.Object implements PrivilegeDefinition
PrivilegeDefinition
interface.Constructor and Description |
---|
ImmutablePrivilegeDefinition(java.lang.String name,
boolean isAbstract,
java.lang.Iterable<java.lang.String> declaredAggregateNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
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.
|
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(java.lang.String name, boolean isAbstract, java.lang.Iterable<java.lang.String> declaredAggregateNames)
public 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.public 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 Systems Incorporated. All Rights Reserved"