Package com.evolveum.midpoint.prism
Interface PrismItemMatchingDefinition<T>
- All Known Subinterfaces:
NativeShadowSimpleAttributeDefinition<T>
,PrismItemMatchingDefinition.Delegable<T>
,PrismPropertyDefinition<T>
,PrismPropertyWrapper<T>
,PropertyDefinitionDelegator<T>
,ResourceAttributeDefinitionDelegator<T>
,ResourceAttributeWrapper<T>
,ShadowSimpleAttributeDefinition<T>
- All Known Implementing Classes:
AuthenticationAttemptWrapper
,ExpressionWrapper
,NativeShadowAttributeDefinitionImpl
,NormalizationAwareResourceAttributeDefinition
,PrismItemMatchingDefinition.Data
,PrismPropertyDefinitionImpl
,PrismPropertyWrapperImpl
,ProtectedStringTypeWrapperImpl
,ResourceAttributeWrapperImpl
,ShadowSimpleAttributeDefinitionImpl
,TransformablePropertyDefinition
,TransformablePropertyDefinition.RefinedAttribute
,TransformablePropertyDefinition.ResourceAttribute
public interface PrismItemMatchingDefinition<T>
How values are matched/compared. Currently used only for properties, but nothing precludes the use for other items.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull MatchingRule<T>
Returns the resolvedMatchingRule
for this property.Returns matching rule name.default @NotNull Normalizer<T>
Returns the normalizer that is to be applied when the normalized form of this property is to be computed.default @NotNull Normalizer<String>
Returns the normalizer that is to be applied forPolyString
properties.default @Nullable Normalizer<String>
Should be provided elsewhere.default boolean
TODO
-
Method Details
-
getTypeName
QName getTypeName()Should be provided elsewhere. Here it's just used. -
getTypeClass
-
getMatchingRuleQName
QName getMatchingRuleQName()Returns matching rule name. Matching rules are algorithms that specify how to compare, normalize and/or order the values. E.g. there are matching rules for case insensitive string comparison, for LDAP DNs, etc. TODO describe the semantics where special normalizations are to be used Use with care until this description is complete.- Returns:
- matching rule name
-
getMatchingRule
Returns the resolvedMatchingRule
for this property. -
getNormalizer
Returns the normalizer that is to be applied when the normalized form of this property is to be computed. For polystring-typed properties (that are assumed to be already normalized) it returns "no-op" normalizer. -
getStringNormalizerForPolyStringProperty
Returns the normalizer that is to be applied forPolyString
properties. Throws an exception if not applicable. -
getStringNormalizerIfApplicable
-
isCustomPolyString
default boolean isCustomPolyString()TODO
-