Class ShadowSimpleAttributeImpl<T>
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.ItemImpl<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
com.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
com.evolveum.midpoint.schema.processor.ShadowSimpleAttributeImpl<T>
- All Implemented Interfaces:
Freezable
,Item<PrismPropertyValue<T>,
,PrismPropertyDefinition<T>> Itemable
,ItemDefinitionTransformer.TransformableItem
,ParentVisitable
,PathVisitable
,PrismProperty<T>
,PrismVisitable
,Revivable
,Visitable
,ShadowAttribute<PrismPropertyValue<T>,
,ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> ShadowSimpleAttribute<T>
,DebugDumpable
,Serializable
public class ShadowSimpleAttributeImpl<T>
extends com.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
implements ShadowSimpleAttribute<T>
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.ItemImpl
definition, elementName, incomplete, parent, values
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
Fields inherited from interface com.evolveum.midpoint.prism.Item
KEY_NAMESPACE_CONTEXT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
applyDefinitionToValues
(@NotNull PrismPropertyDefinition<T> newDefinition, boolean force) void
checkConsistenceInternal
(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) protected void
checkDefinition
(@NotNull PrismPropertyDefinition<T> def) clone()
Literal clone.cloneComplex
(CloneStrategy strategy) Complex clone with different cloning strategies.protected void
copyValues
(CloneStrategy strategy, ShadowSimpleAttributeImpl<T> clone) protected String
Return a human readable name of this class suitable for logs.Returns applicable definition.@NotNull Collection<T>
Returns the normalized real values.@NotNull Collection<T>
Returns the original real values.Methods inherited from class com.evolveum.midpoint.prism.impl.PrismPropertyImpl
add, addForced, addInternalExecution, addRealValue, addRealValueSkipUniquenessCheck, addValue, addValue, addValues, clear, copyValues, createDelta, createDelta, debugDump, deleteValue, deleteValues, diff, diff, find, findPartial, fixupDelta, getAnyRealValue, getRealValue, getRealValues, getRealValues, getValue, getValueClass, getValues, hasRealValue, replaceValues, setRealValue, setRealValues, setValue, toHumanReadableString, toString, valueRemoved
Methods inherited from class com.evolveum.midpoint.prism.impl.ItemImpl
accept, accept, acceptParentVisitor, add, addAll, addIgnoringEquivalents, addInternal, addRespectingMetadataAndCloning, addWithResult, appendDebugDumpSuffix, applyDefinition, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, copyValues, diff, equals, equals, equals, getAllItems, getAllValues, getElementName, getHighestId, getParent, getPath, getPathComponent, getRealValue, getRealValuesArray, getUserData, getUserData, getValue, getValues, hashCode, hashCode, hashCode, isIncomplete, merge, normalize, performFreeze, propagateDeepCloneDefinition, recomputeAllValues, remove, remove, removeAll, removeRespectingMetadata, removeWithResult, replace, replaceAll, revive, setDefinition, setElementName, setIncomplete, setParent, setUserData, transformDefinition
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.Item
acceptParentVisitor, acceptVisitor, add, add, addAll, addAll, addIgnoringEquivalents, addRespectingMetadataAndCloning, applyDefinition, applyDefinition, applyDefinitionIfMissing, assertDefinitions, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, clear, contains, contains, copy, diff, diff, equals, equals, equals, filterValues, filterYields, find, findValue, findValue, getAllItems, getAllValues, getAnyValue, getAnyValue, getClonedValues, getDisplayName, getElementName, getHelp, getHighestId, getNamespaceContext, getParent, getPath, getRealValue, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, getValue, getValues, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hashCode, hasRaw, isEmpty, isIncomplete, isOperational, isRaw, isSingleValue, isSingleValueByDefinition, merge, normalize, recomputeAllValues, remove, remove, removeAll, removeIf, removeRespectingMetadata, replace, replaceAll, setDefinition, setElementName, setIncomplete, setParent, setUserData, size, valuesStream
Methods inherited from interface com.evolveum.midpoint.prism.PathVisitable
accept
Methods inherited from interface com.evolveum.midpoint.prism.PrismProperty
addRealValue, addRealValues, addRealValueSkipUniquenessCheck, addValue, addValues, deleteValue, deleteValues, diff, diff, findPartial, getAnyRealValue, getRealValue, getRealValues, getRealValues, getValue, getValueClass, getValues, hasRealValue, replaceValues, setRealValue, setRealValues, setValue, toHumanReadableString
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAttribute
getElementName, isIncomplete, setIncomplete
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowSimpleAttribute
applyDefinitionFrom, checkDefinitionConsistence, createDelta, createDelta, createReplaceDelta, getDefinitionRequired, getNativeAttributeName, getStandardPath, hasNoValues, isPolyString, normalizationAwareEqFilter, normalizationAwareVersion, plainEqFilter
-
Method Details
-
getDefinition
Description copied from interface:Item
Returns applicable definition.May return null if no definition is applicable or the definition is not known.
- Specified by:
getDefinition
in interfaceItem<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Specified by:
getDefinition
in interfaceItemable
- Specified by:
getDefinition
in interfaceShadowAttribute<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
getDefinition
in interfaceShadowSimpleAttribute<T>
- Overrides:
getDefinition
in classcom.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
- Returns:
- applicable definition
-
createImmutableClone
- Specified by:
createImmutableClone
in interfaceItem<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Specified by:
createImmutableClone
in interfacePrismProperty<T>
- Specified by:
createImmutableClone
in interfaceShadowAttribute<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
createImmutableClone
in interfaceShadowSimpleAttribute<T>
- Overrides:
createImmutableClone
in classcom.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
-
clone
Description copied from interface:Item
Literal clone.- Specified by:
clone
in interfaceItem<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Specified by:
clone
in interfacePrismProperty<T>
- Specified by:
clone
in interfaceShadowAttribute<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
clone
in interfaceShadowSimpleAttribute<T>
- Overrides:
clone
in classcom.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
-
cloneComplex
Description copied from interface:Item
Complex clone with different cloning strategies.- Specified by:
cloneComplex
in interfaceItem<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Specified by:
cloneComplex
in interfacePrismProperty<T>
- Specified by:
cloneComplex
in interfaceShadowAttribute<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>> - Specified by:
cloneComplex
in interfaceShadowSimpleAttribute<T>
- Overrides:
cloneComplex
in classcom.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
- See Also:
-
copyValues
-
getDebugDumpClassName
Return a human readable name of this class suitable for logs.- Overrides:
getDebugDumpClassName
in classcom.evolveum.midpoint.prism.impl.PrismPropertyImpl<T>
-
checkDefinition
- Overrides:
checkDefinition
in classcom.evolveum.midpoint.prism.impl.ItemImpl<PrismPropertyValue<T>,
PrismPropertyDefinition<T>>
-
applyDefinitionToValues
protected void applyDefinitionToValues(@NotNull @NotNull PrismPropertyDefinition<T> newDefinition, boolean force) throws SchemaException - Overrides:
applyDefinitionToValues
in classcom.evolveum.midpoint.prism.impl.ItemImpl<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Throws:
SchemaException
-
getOrigValues
Description copied from interface:ShadowSimpleAttribute
Returns the original real values. Assumes the definition is present.- Specified by:
getOrigValues
in interfaceShadowSimpleAttribute<T>
-
getNormValues
Description copied from interface:ShadowSimpleAttribute
Returns the normalized real values. Assumes the definition is present.- Specified by:
getNormValues
in interfaceShadowSimpleAttribute<T>
- Throws:
SchemaException
-
checkConsistenceInternal
public void checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) - Specified by:
checkConsistenceInternal
in interfaceItem<PrismPropertyValue<T>,
PrismPropertyDefinition<T>> - Overrides:
checkConsistenceInternal
in classcom.evolveum.midpoint.prism.impl.ItemImpl<PrismPropertyValue<T>,
PrismPropertyDefinition<T>>
-
addValueSkipUniquenessCheck
- Specified by:
addValueSkipUniquenessCheck
in interfaceShadowAttribute<PrismPropertyValue<T>,
ShadowSimpleAttributeDefinition<T>, T, ShadowSimpleAttribute<T>>
-