Class ShadowAssociationsContainerImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.ItemImpl<PrismContainerValue<C>,PrismContainerDefinition<C>>
com.evolveum.midpoint.prism.impl.PrismContainerImpl<ShadowAssociationsType>
com.evolveum.midpoint.schema.processor.ShadowAssociationsContainerImpl
- All Implemented Interfaces:
Freezable
,Item<PrismContainerValue<ShadowAssociationsType>,
,PrismContainerDefinition<ShadowAssociationsType>> Itemable
,ItemDefinitionTransformer.TransformableItem
,ParentVisitable
,PathVisitable
,PrismContainer<ShadowAssociationsType>
,PrismContainerable<ShadowAssociationsType>
,PrismVisitable
,Revivable
,Visitable
,ShadowAssociationsContainer
,ShadowItemsContainer
,DebugDumpable
,Serializable
public final class ShadowAssociationsContainerImpl
extends PrismContainerImpl<ShadowAssociationsType>
implements ShadowAssociationsContainer
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.PrismContainerImpl
compileTimeClass
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
Convenience method.void
add
(ShadowAssociation association) void
checkConsistenceInternal
(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) void
checkDefinition
(@NotNull PrismContainerDefinition<ShadowAssociationsType> def) This is a separate method, as it is used at various places, e.g.clone()
Literal clone.cloneComplex
(CloneStrategy strategy) Complex clone with different cloning strategies.findAssociation
(QName assocName) Finds a specific attribute in the resource object by name.findOrCreateAssociation
(QName assocName) @NotNull Collection<ShadowAssociation>
Returns the resource object associations.protected String
Return a human readable name of this class suitable for logs.Returns applicable property container definition.Methods inherited from class com.evolveum.midpoint.prism.impl.PrismContainerImpl
accept, addInternal, addInternalExecution, applyDefinition, assertDefinitions, canRepresent, canRepresent, containsItem, copyValues, createDelta, createDelta, createImmutableClone, createNewValue, createNewValueInternal, createParentIfNeeded, debugDump, deepCloneDefinition, diff, diff, diffModifications, equivalent, find, findContainer, findContainer, findCreateItem, findCreateItem, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findReference, findValue, getAllItems, getAllValues, getCompileTimeClass, getPropertyRealValue, getRealValue, getRealValues, getValue, getValue, hasCompleteDefinition, isEmpty, mergeValue, mergeValues, mergeValues, propagateDeepCloneDefinition, remove, removeContainer, removeItem, removeProperty, removeReference, setContainerRealValue, setDefinition, setDefinitionHack, setPropertyRealValue, setPropertyRealValues, setRealValue, setValue, startStrictModifications, stopStrictModifications, toString, trim, trimDefinitionTree, useIdentifierIndex
Methods inherited from class com.evolveum.midpoint.prism.impl.ItemImpl
accept, acceptParentVisitor, add, addAll, addForced, addIgnoringEquivalents, addRespectingMetadataAndCloning, addWithResult, appendDebugDumpSuffix, applyDefinitionToValues, assertDefinitions, assertDefinitions, checkConsistence, checkConsistence, checkConsistence, checkConsistence, checkConsistence, clear, copyValues, diff, equals, equals, equals, fixupDelta, getElementName, getHighestId, getParent, getPath, getPathComponent, getRealValue, getRealValuesArray, getUserData, getUserData, getValues, hashCode, hashCode, hashCode, isIncomplete, merge, normalize, performFreeze, recomputeAllValues, remove, remove, removeAll, removeRespectingMetadata, removeWithResult, replace, replaceAll, revive, setElementName, setIncomplete, setParent, setUserData, transformDefinition, valueRemoved
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, getRealValues, getRealValuesArray, getRealValuesOrRawTypes, getUserData, getUserData, hasAnyValue, hasCompleteDefinition, hashCode, hashCode, hashCode, hasNoValues, 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.PrismContainer
accept, canRepresent, canRepresent, containsItem, createDelta, createDelta, createImmutableClone, createNewValue, deepCloneDefinition, diff, diff, diffModifications, equivalent, findContainer, findCreateItem, findCreateItem, findItem, findItem, findItem, findOrCreateContainer, findOrCreateItem, findOrCreateItem, findOrCreateProperty, findOrCreateReference, findPartial, findProperty, findReference, findValue, getCompileTimeClass, getPropertyRealValue, getRealValue, getRealValues, getValue, getValue, getValues, mergeValue, mergeValues, mergeValues, remove, removeContainer, removeItem, removeProperty, removeReference, setContainerRealValue, setPropertyRealValue, setPropertyRealValues, setRealValue, setValue, trim, trimDefinitionTree
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerable
getComplexTypeDefinition
Methods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAssociationsContainer
add, add, getAssociationNames, getAssociationValues, getDefinitionRequired
-
Method Details
-
getDefinition
Description copied from class:PrismContainerImpl
Returns applicable property container definition.May return null if no definition is applicable or the definition is not know.
- Specified by:
getDefinition
in interfaceItem<PrismContainerValue<ShadowAssociationsType>,
PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
getDefinition
in interfaceItemable
- Specified by:
getDefinition
in interfacePrismContainer<ShadowAssociationsType>
- Specified by:
getDefinition
in interfacePrismContainerable<ShadowAssociationsType>
- Specified by:
getDefinition
in interfaceShadowAssociationsContainer
- Overrides:
getDefinition
in classPrismContainerImpl<ShadowAssociationsType>
- Returns:
- applicable property container definition
-
getAssociations
Description copied from interface:ShadowAssociationsContainer
Returns the resource object associations. Their order is insignificant. The returned set is immutable!- Specified by:
getAssociations
in interfaceShadowAssociationsContainer
-
add
Description copied from class:PrismContainerImpl
Convenience method. Works only on single-valued containers.- Specified by:
add
in interfacePrismContainer<ShadowAssociationsType>
- Specified by:
add
in interfaceShadowAssociationsContainer
- Overrides:
add
in classPrismContainerImpl<ShadowAssociationsType>
- Throws:
SchemaException
-
add
- Specified by:
add
in interfaceShadowAssociationsContainer
- Throws:
SchemaException
-
findAssociation
Description copied from interface:ShadowAssociationsContainer
Finds a specific attribute in the resource object by name. Returns null if nothing is found.- Specified by:
findAssociation
in interfaceShadowAssociationsContainer
- Parameters:
assocName
- attribute name to find.- Returns:
- found attribute or null
-
findOrCreateAssociation
- Specified by:
findOrCreateAssociation
in interfaceShadowAssociationsContainer
- Throws:
SchemaException
-
clone
Description copied from interface:Item
Literal clone.- Specified by:
clone
in interfaceItem<PrismContainerValue<ShadowAssociationsType>,
PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
clone
in interfacePrismContainer<ShadowAssociationsType>
- Specified by:
clone
in interfaceShadowAssociationsContainer
- Specified by:
clone
in interfaceShadowItemsContainer
- Overrides:
clone
in classPrismContainerImpl<ShadowAssociationsType>
-
cloneComplex
Description copied from interface:Item
Complex clone with different cloning strategies.- Specified by:
cloneComplex
in interfaceItem<PrismContainerValue<ShadowAssociationsType>,
PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
cloneComplex
in interfacePrismContainer<ShadowAssociationsType>
- Overrides:
cloneComplex
in classPrismContainerImpl<ShadowAssociationsType>
- See Also:
-
checkConsistenceInternal
public void checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) - Specified by:
checkConsistenceInternal
in interfaceItem<PrismContainerValue<ShadowAssociationsType>,
PrismContainerDefinition<ShadowAssociationsType>> - Overrides:
checkConsistenceInternal
in classPrismContainerImpl<ShadowAssociationsType>
-
checkDefinition
Description copied from class:ItemImpl
This is a separate method, as it is used at various places, e.g. - inItemImpl.applyDefinition(ItemDefinition, boolean)
- inItemImpl.setDefinition(ItemDefinition)
- when checking the consistence- Overrides:
checkDefinition
in classItemImpl<PrismContainerValue<ShadowAssociationsType>,
PrismContainerDefinition<ShadowAssociationsType>>
-
getDebugDumpClassName
Description copied from class:PrismContainerImpl
Return a human readable name of this class suitable for logs.- Overrides:
getDebugDumpClassName
in classPrismContainerImpl<ShadowAssociationsType>
-