Class RelationMergeContext

java.lang.Object
ch.tocco.nice2.entityoperation.api.merge.RelationMergeContext

public class RelationMergeContext extends Object
  • Constructor Details

  • Method Details

    • getTargetEntity

      public Entity getTargetEntity()
      Returns:
      entity which is the target of the merge operation
    • getSourceEntities

      public List<Entity> getSourceEntities()
      Returns:
      source entities of the merge operation
    • getRelationModel

      public RelationModel getRelationModel()
      Returns:
      the relation to merge
    • getKeys

      public Set<PrimaryKey> getKeys()
      Returns:
      which entities (of the relation target) to merge