Package com.evolveum.midpoint.prism
Interface LocalDefinitionStore
-
- All Known Subinterfaces:
AttributeContainerDefinitionDelegator
,ComplexTypeDefinition
,ComplexTypeDefinitionDelegator
,CompositeRefinedObjectClassDefinition
,ContainerDefinitionDelegator<C>
,LayerRefinedObjectClassDefinition
,MutableComplexTypeDefinition
,MutableObjectClassComplexTypeDefinition
,MutablePrismContainerDefinition<C>
,MutablePrismObjectDefinition<O>
,ObjectClassComplexTypeDefinition
,ObjectClassTypeDefinitionDelegator
,ObjectDefinitionDelegator<O>
,PartiallyMutableItemDefinition.Container<C>
,PrismContainerDefinition<C>
,PrismObjectDefinition<O>
,RefinedObjectClassDefinition
,ResourceAttributeContainerDefinition
- All Known Implementing Classes:
ComplexTypeDefinitionImpl
,CompositeRefinedObjectClassDefinitionImpl
,DummyPrismObjectDefinition
,LayerRefinedObjectClassDefinitionImpl
,ObjectClassComplexTypeDefinitionImpl
,PrismContainerDefinitionImpl
,PrismObjectDefinitionImpl
,RefinedObjectClassDefinitionImpl
,ResourceAttributeContainerDefinitionImpl
,TransformableComplexTypeDefinition
,TransformableComplexTypeDefinition.ObjectClass
,TransformableContainerDefinition
,TransformableContainerDefinition.AttributeContainer
,TransformableObjectDefinition
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)
-
-