Class RelationMergeContext
java.lang.Object
ch.tocco.nice2.entityoperation.api.merge.RelationMergeContext
-
Constructor Summary
ConstructorDescriptionRelationMergeContext
(Entity targetEntity, List<Entity> sourceEntities, RelationModel relationModel, Set<PrimaryKey> keys) -
Method Summary
-
Constructor Details
-
RelationMergeContext
public RelationMergeContext(Entity targetEntity, List<Entity> sourceEntities, RelationModel relationModel, Set<PrimaryKey> keys)
-
-
Method Details
-
getTargetEntity
- Returns:
- entity which is the target of the merge operation
-
getSourceEntities
- Returns:
- source entities of the merge operation
-
getRelationModel
- Returns:
- the relation to merge
-
getKeys
- Returns:
- which entities (of the relation target) to merge
-