Class IndexedItemValueNormalizerImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.indexing.IndexedItemValueNormalizerImpl
-
- All Implemented Interfaces:
IndexedItemValueNormalizer
,ValueNormalizer
public class IndexedItemValueNormalizerImpl extends Object implements IndexedItemValueNormalizer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndexedItemValueNormalizer
create(@NotNull String indexedItemName, @NotNull IndexedItemNormalizationDefinitionType normalizationBean)
@NotNull PrismPropertyDefinition<?>
getIndexItemDefinition()
Returns the definition of the indexed version of the item.ItemName
getIndexItemName()
Returns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).ItemPath
getIndexItemPath()
Returns the full path to the indexed version of the item.@NotNull String
getName()
Returns the name of the normalizer (normalization).boolean
isDefault()
Is this normalizer (normalization) the default one configured for the given item?@NotNull String
normalize(@NotNull Object rawInput, Task task, OperationResult result)
String
toString()
-
-
-
Method Detail
-
create
public static IndexedItemValueNormalizer create(@NotNull @NotNull String indexedItemName, @NotNull @NotNull IndexedItemNormalizationDefinitionType normalizationBean)
-
getName
@NotNull public @NotNull String getName()
Description copied from interface:IndexedItemValueNormalizer
Returns the name of the normalizer (normalization).- Specified by:
getName
in interfaceIndexedItemValueNormalizer
-
isDefault
public boolean isDefault()
Description copied from interface:IndexedItemValueNormalizer
Is this normalizer (normalization) the default one configured for the given item?- Specified by:
isDefault
in interfaceIndexedItemValueNormalizer
-
getIndexItemName
public ItemName getIndexItemName()
Description copied from interface:IndexedItemValueNormalizer
Returns the qualified name of the indexed version of the item, corresponding to this normalizer (normalization).- Specified by:
getIndexItemName
in interfaceIndexedItemValueNormalizer
-
getIndexItemPath
public ItemPath getIndexItemPath()
Description copied from interface:IndexedItemValueNormalizer
Returns the full path to the indexed version of the item.- Specified by:
getIndexItemPath
in interfaceIndexedItemValueNormalizer
-
getIndexItemDefinition
@NotNull public @NotNull PrismPropertyDefinition<?> getIndexItemDefinition()
Description copied from interface:IndexedItemValueNormalizer
Returns the definition of the indexed version of the item. Currently, it is always a definition of a string. Later this may be changed.- Specified by:
getIndexItemDefinition
in interfaceIndexedItemValueNormalizer
-
normalize
@NotNull public @NotNull String normalize(@NotNull @NotNull Object rawInput, Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException
- Specified by:
normalize
in interfaceValueNormalizer
- Throws:
SchemaException
ExpressionEvaluationException
CommunicationException
SecurityViolationException
ConfigurationException
ObjectNotFoundException
-
-