Package com.evolveum.midpoint.prism
Interface LocalDefinitionStore
-
- All Known Subinterfaces:
ComplexTypeDefinition
,CompositeRefinedObjectClassDefinition
,LayerRefinedObjectClassDefinition
,MutableComplexTypeDefinition
,MutableObjectClassComplexTypeDefinition
,MutablePrismContainerDefinition<C>
,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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <C extends Containerable>
PrismContainerDefinition<C>findContainerDefinition(ItemPath path)
default <C extends Containerable>
PrismContainerDefinition<C>findContainerDefinition(String name)
default <ID extends ItemDefinition>
IDfindItemDefinition(ItemPath path)
<ID extends ItemDefinition>
IDfindItemDefinition(ItemPath path, Class<ID> clazz)
default <ID extends ItemDefinition>
IDfindLocalItemDefinition(QName name)
<ID extends ItemDefinition>
IDfindLocalItemDefinition(QName name, Class<ID> clazz, boolean caseInsensitive)
<ID extends ItemDefinition>
IDfindNamedItemDefinition(QName firstName, ItemPath rest, Class<ID> clazz)
default <T> PrismPropertyDefinition<T>
findPropertyDefinition(ItemPath path)
default PrismReferenceDefinition
findReferenceDefinition(ItemName name)
default PrismReferenceDefinition
findReferenceDefinition(ItemPath path)
-
-
-
Method Detail
-
findLocalItemDefinition
<ID extends ItemDefinition> ID findLocalItemDefinition(@NotNull QName name, @NotNull Class<ID> clazz, boolean caseInsensitive)
-
findLocalItemDefinition
default <ID extends ItemDefinition> ID findLocalItemDefinition(@NotNull QName name)
-
findItemDefinition
default <ID extends ItemDefinition> ID findItemDefinition(@NotNull ItemPath path)
-
findReferenceDefinition
default PrismReferenceDefinition findReferenceDefinition(@NotNull ItemName name)
-
findContainerDefinition
default <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(@NotNull String name)
-
findItemDefinition
<ID extends ItemDefinition> ID findItemDefinition(@NotNull ItemPath path, @NotNull Class<ID> clazz)
-
findNamedItemDefinition
<ID extends ItemDefinition> ID findNamedItemDefinition(@NotNull QName firstName, @NotNull ItemPath rest, @NotNull Class<ID> clazz)
-
findPropertyDefinition
default <T> PrismPropertyDefinition<T> findPropertyDefinition(@NotNull ItemPath path)
-
findReferenceDefinition
default PrismReferenceDefinition findReferenceDefinition(@NotNull ItemPath path)
-
findContainerDefinition
default <C extends Containerable> PrismContainerDefinition<C> findContainerDefinition(@NotNull ItemPath path)
-
-