Interface AttributeDefinitionStore

    • Method Detail

      • getAttributeDefinitions

        @NotNull
        default <AD extends ResourceAttributeDefinition<?>> @NotNull Collection<AD> getAttributeDefinitions​(Class<AD> type)
        Returns all attribute definitions of given type as an unmodifiable collection.
      • findAttributeDefinition

        @Nullable
        default @Nullable ResourceAttributeDefinition<?> findAttributeDefinition​(QName name)
        Finds a definition of an attribute with a given name. Returns null if nothing is found.
      • findAttributeDefinitionStrictlyRequired

        @NotNull
        default @NotNull ResourceAttributeDefinition<?> findAttributeDefinitionStrictlyRequired​(@NotNull
                                                                                                @NotNull QName name)
        Finds a definition of an attribute with a given name. Throws IllegalStateException if it's not there.
      • findAttributeDefinition

        @Nullable
        default @Nullable ResourceAttributeDefinition<?> findAttributeDefinition​(QName name,
                                                                                 boolean caseInsensitive)
        Finds a attribute definition by looking at the property name. Returns null if nothing is found.
        Parameters:
        name - property definition name
        caseInsensitive - if true, ignoring the case
        Returns:
        found property definition or null
      • findAttributeDefinition

        default ResourceAttributeDefinition<?> findAttributeDefinition​(String name)
        Finds attribute definition using local name only. BEWARE: Ignores attributes in namespaces other than "ri:" (e.g. icfs:uid and icfs:name).
      • hasIndexOnlyAttributes

        default boolean hasIndexOnlyAttributes()
        Returns true if the object class has any index-only attributes.
      • containsAttributeDefinition

        default boolean containsAttributeDefinition​(@NotNull
                                                    @NotNull QName attributeName)
        Returns true if there is an attribute with the given name defined.
      • getNamesOfAttributesWithOutboundExpressions

        default Collection<? extends QName> getNamesOfAttributesWithOutboundExpressions()
      • getNamesOfAttributesWithInboundExpressions

        default Collection<? extends QName> getNamesOfAttributesWithInboundExpressions()