Package com.evolveum.midpoint.prism
Interface LocalDefinitionStore
-
- All Known Subinterfaces:
ComplexTypeDefinition
,CompositeRefinedObjectClassDefinition
,LayerRefinedObjectClassDefinition
,MutableComplexTypeDefinition
,MutableObjectClassComplexTypeDefinition
,MutablePrismContainerDefinition<C>
,MutablePrismObjectDefinition<O>
,ObjectClassComplexTypeDefinition
,PrismContainerDefinition<C>
,PrismObjectDefinition<O>
,RefinedObjectClassDefinition
,ResourceAttributeContainerDefinition
- All Known Implementing Classes:
com.evolveum.midpoint.prism.impl.ComplexTypeDefinitionImpl
,CompositeRefinedObjectClassDefinitionImpl
,LayerRefinedObjectClassDefinitionImpl
,ObjectClassComplexTypeDefinitionImpl
,com.evolveum.midpoint.prism.impl.PrismContainerDefinitionImpl
,RefinedObjectClassDefinitionImpl
,ResourceAttributeContainerDefinitionImpl
public interface LocalDefinitionStore
Used to retrieve definition from 'local definition store' - i.e. store that contains definition(s) related to one parent item. Such stores are prism containers and complex types. Before midPoint 3.5, some of these methods tried to resolve definitions globally (if the store could contain 'any' definitions). However, starting from 3.5, this is a responsibility of a client. It can call methods in SchemaRegistry to help with that. Note: Although these methods can return null, they are not marked as @Nullable. It is because we want avoid false warnings about possible NPEs when used e.g. to find definitions that certainly exist (like c:user etc).- Author:
- mederly
-
-
Method Summary
-
-
-
Method Detail
-
findLocalItemDefinition
<ID extends ItemDefinition> ID findLocalItemDefinition(@NotNull @NotNull QName name, @NotNull @NotNull Class<ID> clazz, boolean caseInsensitive)
-
findLocalItemDefinition
default <ID extends ItemDefinition> ID findLocalItemDefinition(@NotNull @NotNull QName name)
-
findItemDefinition
default <ID extends ItemDefinition> ID findItemDefinition(@NotNull @NotNull ItemPath path)
-
findReferenceDefinition
default PrismReferenceDefinition findReferenceDefinition(@NotNull @NotNull ItemName name)
-
findContainerDefinition
default <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(@NotNull @NotNull String name)
-
findItemDefinition
<ID extends ItemDefinition> ID findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<ID> clazz)
-
findNamedItemDefinition
<ID extends ItemDefinition> ID findNamedItemDefinition(@NotNull @NotNull QName firstName, @NotNull @NotNull ItemPath rest, @NotNull @NotNull Class<ID> clazz)
-
findPropertyDefinition
default <T> PrismPropertyDefinition<T> findPropertyDefinition(@NotNull @NotNull ItemPath path)
-
findReferenceDefinition
default PrismReferenceDefinition findReferenceDefinition(@NotNull @NotNull ItemPath path)
-
findContainerDefinition
default <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(@NotNull @NotNull ItemPath path)
-
-