Class ImmutablePrivilegeDefinition

    • Constructor Detail

      • ImmutablePrivilegeDefinition

        public ImmutablePrivilegeDefinition​(@NotNull
                                            @NotNull String name,
                                            boolean isAbstract,
                                            @Nullable
                                            @Nullable Iterable<String> declaredAggregateNames)
    • Method Detail

      • isAbstract

        public boolean isAbstract()
        Description copied from interface: PrivilegeDefinition
        Returns true if the privilege described by this definition is abstract.
        Specified by:
        isAbstract in interface PrivilegeDefinition
        Returns:
        true if the resulting privilege is abstract; false otherwise.
      • getDeclaredAggregateNames

        @NotNull
        public @NotNull Set<String> getDeclaredAggregateNames()
        Description copied from interface: PrivilegeDefinition
        Returns the internal names of the declared aggregated privileges or an empty array if the privilege defined by this definition isn't an aggregate.
        Specified by:
        getDeclaredAggregateNames in interface PrivilegeDefinition
        Returns:
        The internal names of the aggregated privileges or an empty array.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object