Class SetFieldSourceEntityStrategy
java.lang.Object
ch.tocco.nice2.entityoperation.impl.merge.strategies.SetFieldSourceEntityStrategy
- All Implemented Interfaces:
- SourceEntityStrategy
Strategy which sets a field of the source entities to a specific value after the merge
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintpriority()The priority can be used to define the order of the strategies.voidprocess(List<Entity> sourceEntities, EntityMergeResult mergeResult) processes the source entitiesvoidsetDescriptors(List<SetFieldSourceDescriptor> descriptors) boolean
- 
Constructor Details- 
SetFieldSourceEntityStrategy
 
- 
- 
Method Details- 
prioritypublic int priority()Description copied from interface:SourceEntityStrategyThe priority can be used to define the order of the strategies.- Specified by:
- priorityin interface- SourceEntityStrategy
- Returns:
- the priority of this strategy.
 
- 
supports- Specified by:
- supportsin interface- SourceEntityStrategy
- Returns:
- true if this strategy supports handling the given relation model
 
- 
getMergeStrategyDisplay- Specified by:
- getMergeStrategyDisplayin interface- SourceEntityStrategy
- Returns:
- a description on that happens with the source entities during processing this strategy
 
- 
processDescription copied from interface:SourceEntityStrategyprocesses the source entities- Specified by:
- processin interface- SourceEntityStrategy
- Parameters:
- sourceEntities- all source entities of the merge operation
- mergeResult- summary of the merge process
 
- 
setDescriptors
 
-