|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.conflictDetection.ChangeConflictSet
public class ChangeConflictSet
The actual implementation of an ESConflictSetImpl
containing
the changes that caused the conflict.
Constructor Summary | |
---|---|
ChangeConflictSet(Set<ConflictBucket> conflictBuckets,
Set<AbstractOperation> notInvolvedInConflict,
ModelElementIdToEObjectMapping idToEObjectMapping,
List<ChangePackage> leftChanges,
List<ChangePackage> rightChanges)
Constructor. |
Method Summary | |
---|---|
ESConflictSetImpl |
createAPI()
Creates the API interface for this class. |
Set<ConflictBucket> |
getConflictBuckets()
Returns a set of conflict candidates. |
ModelElementIdToEObjectMapping |
getIdToEObjectMapping()
Returns the mapping from IDs to EObjects and vice versa. The mapping contains all IDs of model elements involved in the ChangePackage s
as well as those contained by the project in the ProjectSpace |
List<ChangePackage> |
getLeftChanges()
Returns a list of ChangePackage s representing one side of the conflict. |
Set<AbstractOperation> |
getNotInvolvedInConflict()
Returns a set of operations not involved in any conflict. |
List<ChangePackage> |
getRightChanges()
Returns a list of ChangePackage s representing the other side of the conflict. |
ESConflictSet |
toAPI()
Returns the API interface of this class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeConflictSet(Set<ConflictBucket> conflictBuckets, Set<AbstractOperation> notInvolvedInConflict, ModelElementIdToEObjectMapping idToEObjectMapping, List<ChangePackage> leftChanges, List<ChangePackage> rightChanges)
conflictBuckets
- a set of conflict candidatesnotInvolvedInConflict
- a set of operations not involved in any conflictidToEObjectMapping
- a mapping from IDs to EObjects and vice versa.ChangePackage
s
as well as those contained by the project in the ProjectSpaceleftChanges
- a list of ChangePackage
s representing one side of the conflictrightChanges
- a list of ChangePackage
s representing the other side of the conflictMethod Detail |
---|
public ModelElementIdToEObjectMapping getIdToEObjectMapping()
ChangePackage
s
as well as those contained by the project in the ProjectSpace
public ESConflictSet toAPI()
toAPI
in interface APIDelegate<ESConflictSet>
APIDelegate.toAPI()
public ESConflictSetImpl createAPI()
createAPI
in interface APIDelegate<ESConflictSet>
APIDelegate.createAPI()
public Set<AbstractOperation> getNotInvolvedInConflict()
public Set<ConflictBucket> getConflictBuckets()
public List<ChangePackage> getLeftChanges()
ChangePackage
s representing one side of the conflict.
ChangePackage
s representing one side of the conflictpublic List<ChangePackage> getRightChanges()
ChangePackage
s representing the other side of the conflict.
ChangePackage
s representing the other side of the conflict
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |