Package com.evolveum.midpoint.model.api
Interface InboundSourceData
- All Superinterfaces:
DebugDumpable,Serializable
- All Known Implementing Classes:
InboundSourceData.AssociationValue,InboundSourceData.Shadow
A
ShadowType or ShadowAssociationValue that provides the source data for inbound mappings.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptionstatic InboundSourceDataforAssociationValue(@NotNull ShadowAssociationValue associationValue, @NotNull ResourceObjectDefinition resourceObjectDefinition) The object definition is where we look for attribute definitions related to the association value.static InboundSourceDataforShadow(@Nullable PrismObject<ShadowType> shadowBeforeChange, @Nullable PrismObject<ShadowType> shadowAfterChange, @Nullable ObjectDelta<ShadowType> aPrioriShadowDelta, @NotNull ResourceObjectDefinition resourceObjectDefinition) static @NotNull InboundSourceDataforShadowLikeValue(@NotNull ShadowLikeValue shadowLikeValue, @Nullable ObjectDelta<ShadowType> resourceObjectDelta, @NotNull ResourceObjectDefinition objectDefinitionRequired) @Nullable ObjectDelta<ShadowType>getAssociation(ItemName assocName) Collection<? extends ShadowAssociationDefinition>default ShadowAssociationValueType@Nullable PrismProperty<QName><V extends PrismValue,D extends ItemDefinition<?>>
ItemDelta<V,D> getItemAPrioriDelta(ItemPath path) Returns a-priori delta for given item.getReferenceAttribute(ItemName refAttrName) Collection<? extends ShadowReferenceAttributeDefinition>default PrismObject<ShadowType>default @NotNull ResourceObjectDefinitionReturns either the shadow definition or throws an exception.<TA> PrismProperty<TA>getSimpleAttribute(ItemName attributeName) Collection<? extends ShadowSimpleAttributeDefinition<?>>booleanisEmpty()Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Method Details
-
forShadow
static InboundSourceData forShadow(@Nullable @Nullable PrismObject<ShadowType> shadowBeforeChange, @Nullable @Nullable PrismObject<ShadowType> shadowAfterChange, @Nullable @Nullable ObjectDelta<ShadowType> aPrioriShadowDelta, @NotNull @NotNull ResourceObjectDefinition resourceObjectDefinition) -
forAssociationValue
static InboundSourceData forAssociationValue(@NotNull @NotNull ShadowAssociationValue associationValue, @NotNull @NotNull ResourceObjectDefinition resourceObjectDefinition) The object definition is where we look for attribute definitions related to the association value. So, for rich association it points to the associated object, whereas for trivial ones it points to the _subject_. -
forShadowLikeValue
@NotNull static @NotNull InboundSourceData forShadowLikeValue(@NotNull @NotNull ShadowLikeValue shadowLikeValue, @Nullable @Nullable ObjectDelta<ShadowType> resourceObjectDelta, @NotNull @NotNull ResourceObjectDefinition objectDefinitionRequired) -
getAPrioriDelta
-
getShadowObjectDefinition
Returns either the shadow definition or throws an exception. -
getSimpleAttributeDefinitions
Collection<? extends ShadowSimpleAttributeDefinition<?>> getSimpleAttributeDefinitions() -
getReferenceAttributeDefinitions
Collection<? extends ShadowReferenceAttributeDefinition> getReferenceAttributeDefinitions() -
getAssociationDefinitions
Collection<? extends ShadowAssociationDefinition> getAssociationDefinitions() -
isEmpty
boolean isEmpty() -
getSimpleAttribute
-
getReferenceAttribute
-
getAssociation
-
getItemAPrioriDelta
<V extends PrismValue,D extends ItemDefinition<?>> ItemDelta<V,D> getItemAPrioriDelta(ItemPath path) Returns a-priori delta for given item. -
getAuxiliaryObjectClasses
-
getShadowIfPresent
-
getAssociationValueBeanIfPresent
-