Interface SourceEntityStrategy
- All Known Implementing Classes:
DeleteSourceEntityStrategy
,SetFieldSourceEntityStrategy
,SetRelationSourceEntityStrategy
public interface SourceEntityStrategy
-
Method Summary
Modifier and TypeMethodDescriptionint
priority()
The priority can be used to define the order of the strategies.void
process
(List<Entity> sourceEntities, EntityMergeResult mergeResult) processes the source entitiesboolean
-
Method Details
-
priority
int priority()The priority can be used to define the order of the strategies.- Returns:
- the priority of this strategy.
-
supports
- Returns:
- true if this strategy supports handling the given relation model
-
getMergeStrategyDisplay
String getMergeStrategyDisplay()- Returns:
- a description on that happens with the source entities during processing this strategy
-
process
processes the source entities- Parameters:
sourceEntities
- all source entities of the merge operationmergeResult
- summary of the merge process
-