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,Cloneable
public final class ShadowAssociationsContainerImpl
extends com.evolveum.midpoint.prism.impl.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) 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 StringReturns applicable 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, 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, valuesStreamMethods 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, 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 interface:ItemReturns applicable definition.May return null if no definition is applicable or the definition is not known.
- 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 classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<ShadowAssociationsType>- Returns:
- applicable 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 interface:PrismContainerConvenience method. Works only on single-valued containers.- Specified by:
addin interfacePrismContainer<ShadowAssociationsType>- Specified by:
addin interfaceShadowAssociationsContainer- Overrides:
addin classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<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 classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<ShadowAssociationsType>
-
cloneComplex
Description copied from interface:ItemComplex clone with different cloning strategies.- Specified by:
cloneComplexin interfaceItem<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>> - Specified by:
cloneComplexin interfacePrismContainer<ShadowAssociationsType>- Overrides:
cloneComplexin classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<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 classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<ShadowAssociationsType>
-
checkDefinition
- Overrides:
checkDefinitionin classcom.evolveum.midpoint.prism.impl.ItemImpl<PrismContainerValue<ShadowAssociationsType>,PrismContainerDefinition<ShadowAssociationsType>>
-
getDebugDumpClassName
- Overrides:
getDebugDumpClassNamein classcom.evolveum.midpoint.prism.impl.PrismContainerImpl<ShadowAssociationsType>
-