org.eclipse.emf.emfstore.internal.server.conflictDetection
Interface ReservationSetModifier


public interface ReservationSetModifier

Interface for types that want to modify the ReservationSet that is created during conflict detection.

Author:
emueller

Field Summary
static String ID
          ID of the ReservationSetModifier option.
 
Method Summary
 ReservationSet addCustomReservation(AbstractOperation operation, ReservationSet reservationSet, ModelElementIdToEObjectMapping mapping)
          Allows to modify the given ReservationSet.
 

Field Detail

ID

static final String ID
ID of the ReservationSetModifier option.

See Also:
Constant Field Values
Method Detail

addCustomReservation

ReservationSet addCustomReservation(AbstractOperation operation,
                                    ReservationSet reservationSet,
                                    ModelElementIdToEObjectMapping mapping)
Allows to modify the given ReservationSet.

Parameters:
operation - the current operation in scope
reservationSet - the existing ReservationSet
mapping - a mapping of EObjects to ModelElementIds and vice versa containing all involved model elements
Returns:
the possibly modified reservation set


Copyright © 2015. All Rights Reserved.