Package com.evolveum.midpoint.prism
Interface LivePrismItemDefinition
- All Known Subinterfaces:
ContainerDefinitionDelegator<C>
,ItemDefinition<I>
,ItemDefinitionDelegator<I>
,ItemWrapper<I,
,VW> ObjectDefinitionDelegator<O>
,PrismContainerDefinition<C>
,PrismContainerWrapper<C>
,PrismObjectDefinition<O>
,PrismObjectWrapper<O>
,PrismPropertyDefinition<T>
,PrismPropertyWrapper<T>
,PrismReferenceDefinition
,PrismReferenceWrapper<R>
,PropertyDefinitionDelegator<T>
,ReferenceDefinitionDelegator
,ResourceAttributeDefinitionDelegator<T>
,ResourceAttributeWrapper<T>
,ShadowAssociationDefinition
,ShadowAssociationsContainerDefinition
,ShadowAttributesContainerDefinition
,ShadowAttributesContainerDefinitionDelegator
,ShadowReferenceAttributeDefinition
,ShadowSimpleAttributeDefinition<T>
,ShadowWrapper
- All Known Implementing Classes:
AssignmentHolderWrapper
,AssociationAttributeMappingWrapper
,AssociationInboundExpressionWrapper
,AssociationMappingExpressionWrapper
,AssociationOutboundExpressionWrapper
,AuthenticationAttemptWrapper
,AuthenticationBehaviorWrapper
,CaseWorkItemTypeWrapper
,ExpressionWrapper
,com.evolveum.midpoint.prism.impl.ItemDefinitionImpl
,ItemWrapperImpl
,NormalizationAwareResourceAttributeDefinition
,ObjectTypeAttributeMappingWrapper
,com.evolveum.midpoint.prism.impl.PrismContainerDefinitionImpl
,PrismContainerWrapperImpl
,PrismObjectWrapperImpl
,PrismPropertyWrapperImpl
,PrismReferenceWrapperImpl
,PrismSchemaWrapper
,ProfilingClassLoggerContainerWrapperImpl
,ProtectedStringTypeWrapperImpl
,ResourceAttributeWrapperImpl
,ResourceWrapper
,ShadowAssociationDefinitionImpl
,ShadowAssociationsContainerDefinitionImpl
,ShadowAssociationValueWrapper
,ShadowAssociationWrapperImpl
,ShadowAttributesContainerDefinitionImpl
,ShadowReferenceAttributeDefinitionImpl
,ShadowSimpleAttributeDefinitionImpl
,ShadowWrapperImpl
,ValueMetadataWrapperImpl
public interface LivePrismItemDefinition
TODO ... describes operations executable when the definition is "live and well" in its place,
like the complex type definition in prism container
Work in progress.
-
Method Summary
Modifier and TypeMethodDescription<T extends ItemDefinition<?>>
TfindItemDefinition
(@NotNull ItemPath path, @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition.boolean
isValidFor
(@NotNull QName elementQName, @NotNull Class<? extends ItemDefinition<?>> clazz, boolean caseInsensitive) Returns true if this definition is valid for given element name and definition class, in either case-sensitive (the default) or case-insensitive way.static boolean
matchesThisDefinition
(@NotNull ItemPath path, @NotNull Class<?> clazz, @NotNull Object _this) Helper method to implementfindItemDefinition(ItemPath, Class)
for unstructured definitions.
-
Method Details
-
isValidFor
boolean isValidFor(@NotNull @NotNull QName elementQName, @NotNull @NotNull Class<? extends ItemDefinition<?>> clazz, boolean caseInsensitive) Returns true if this definition is valid for given element name and definition class, in either case-sensitive (the default) or case-insensitive way. Used e.g. for "slow" path lookup where we iterate over all definitions in a complex type. -
findItemDefinition
<T extends ItemDefinition<?>> T findItemDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<T> clazz) Used to find a matching item definition _within_ this definition. Treats e.g. de-referencing in prism references. -
matchesThisDefinition
static boolean matchesThisDefinition(@NotNull @NotNull ItemPath path, @NotNull @NotNull Class<?> clazz, @NotNull @NotNull Object _this) Helper method to implementfindItemDefinition(ItemPath, Class)
for unstructured definitions.
-