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:
ComplexCopyable<Item<PrismContainerValue<ShadowAssociationsType>,,PrismContainerDefinition<ShadowAssociationsType>>> Freezable,Item<PrismContainerValue<ShadowAssociationsType>,,PrismContainerDefinition<ShadowAssociationsType>> Itemable,ItemDefinitionTransformer.TransformableItem,ParentVisitable,PathVisitable,PrismContainer<ShadowAssociationsType>,PrismContainerable<ShadowAssociationsType>,PrismVisitable,Revivable,Visitable,ShadowAssociationsContainer,ShadowItemsContainer,DebugDumpable,Serializable,Cloneable
public final class ShadowAssociationsContainerImpl
extends PrismContainerImpl<ShadowAssociationsType>
implements ShadowAssociationsContainer
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.PrismContainerImpl
compileTimeClassFields inherited from class com.evolveum.midpoint.prism.impl.ItemImpl
definition, elementName, incomplete, parent, valuesFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRINGFields inherited from interface com.evolveum.midpoint.prism.Item
KEY_NAMESPACE_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionvoidConvenience method.voidadd(ShadowAssociation association) voidcheckConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) voidcheckDefinition(@NotNull PrismContainerDefinition<ShadowAssociationsType> def) This is a separate method, as it is used at various places, e.gclone()Literal clone.@NotNull ShadowAssociationsContainerImplcloneComplex(@NotNull 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 StringReturn 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, useIdentifierIndexMethods 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, valueRemovedMethods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutableMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods 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, 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, valuesStreamMethods inherited from interface com.evolveum.midpoint.prism.PrismContainer
accept, canRepresent, canRepresent, containsItem, copy, 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, immutableCopy, mergeValue, mergeValues, mergeValues, mutableCopy, remove, removeContainer, removeItem, removeProperty, removeReference, setContainerRealValue, setPropertyRealValue, setPropertyRealValues, setRealValue, setValue, trim, trimDefinitionTreeMethods inherited from interface com.evolveum.midpoint.prism.PrismContainerable
getComplexTypeDefinitionMethods inherited from interface com.evolveum.midpoint.schema.processor.ShadowAssociationsContainer
add, add, getAssociationNames, getAssociationValues, getDefinitionRequired
-
Method Details
-
getDefinition
Description copied from class:PrismContainerImplReturns applicable property container definition.May return null if no definition is applicable or the definition is not know.
- Specified by:
getDefinitionin interfaceItem<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
getDefinitionin interfaceItemable- Specified by:
getDefinitionin interfacePrismContainer<ShadowAssociationsType>- Specified by:
getDefinitionin interfacePrismContainerable<ShadowAssociationsType>- Specified by:
getDefinitionin interfaceShadowAssociationsContainer- Overrides:
getDefinitionin classPrismContainerImpl<ShadowAssociationsType>- Returns:
- applicable property container definition
-
getAssociations
Description copied from interface:ShadowAssociationsContainerReturns the resource object associations. Their order is insignificant. The returned set is immutable!- Specified by:
getAssociationsin interfaceShadowAssociationsContainer
-
add
Description copied from class:PrismContainerImplConvenience method. Works only on single-valued containers.- Specified by:
addin interfacePrismContainer<ShadowAssociationsType>- Specified by:
addin interfaceShadowAssociationsContainer- Overrides:
addin classPrismContainerImpl<ShadowAssociationsType>- Throws:
SchemaException
-
add
- Specified by:
addin interfaceShadowAssociationsContainer- Throws:
SchemaException
-
findAssociation
Description copied from interface:ShadowAssociationsContainerFinds a specific attribute in the resource object by name. Returns null if nothing is found.- Specified by:
findAssociationin interfaceShadowAssociationsContainer- Parameters:
assocName- attribute name to find.- Returns:
- found attribute or null
-
findOrCreateAssociation
- Specified by:
findOrCreateAssociationin interfaceShadowAssociationsContainer- Throws:
SchemaException
-
clone
Description copied from interface:ItemLiteral clone.- Specified by:
clonein interfaceItem<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
clonein interfacePrismContainer<ShadowAssociationsType>- Specified by:
clonein interfaceShadowAssociationsContainer- Specified by:
clonein interfaceShadowItemsContainer- Overrides:
clonein classPrismContainerImpl<ShadowAssociationsType>
-
cloneComplex
@NotNull public @NotNull ShadowAssociationsContainerImpl cloneComplex(@NotNull @NotNull CloneStrategy strategy) Description copied from interface:ItemComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfaceComplexCopyable<Item<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>>> - Specified by:
cloneComplexin interfaceItem<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
cloneComplexin interfacePrismContainer<ShadowAssociationsType>- Overrides:
cloneComplexin classPrismContainerImpl<ShadowAssociationsType>- See Also:
-
checkConsistenceInternal
public void checkConsistenceInternal(Itemable rootItem, boolean requireDefinitions, boolean prohibitRaw, ConsistencyCheckScope scope) - Specified by:
checkConsistenceInternalin interfaceItem<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>> - Overrides:
checkConsistenceInternalin classPrismContainerImpl<ShadowAssociationsType>
-
checkDefinition
Description copied from class:ItemImplThis 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:
checkDefinitionin classItemImpl<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>>
-
getDebugDumpClassName
Description copied from class:PrismContainerImplReturn a human readable name of this class suitable for logs.- Overrides:
getDebugDumpClassNamein classPrismContainerImpl<ShadowAssociationsType>
-