Package org.eclipse.emf.compare
Interface Conflict
- All Known Implementing Classes:
ConflictImpl
,ConflictSpec
,ThreeWayComparisonGroupProvider.CompositeConflict
A representation of the model object 'Conflict'.
Instances of this class describe conflicts between one or more differences in the left model as compared to differences in the right model. Conflicts can only happen in the case of three-way comparisons, when we have a common ancestor of both sides.
The following features are supported:
- See Also:
- Generated:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Differences' reference list.getKind()
Returns the value of the 'Kind' attribute.This can be used to retrieve the list of differences that were made in the left element.This can be used to retrieve the list of differences that were made in the right element.void
setKind
(ConflictKind value) Sets the value of the 'Kind
' attribute.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated:
-
-
Method Details
-
getKind
ConflictKind getKind()Returns the value of the 'Kind' attribute. The literals are from the enumerationConflictKind
. Describes the kind of this conflict, whether it is a real conflict or a pseudo-conflict.- Returns:
- the value of the 'Kind' attribute.
- See Also:
- Generated:
-
setKind
Sets the value of the 'Kind
' attribute.- Parameters:
value
- the new value of the 'Kind' attribute.- See Also:
- Generated:
-
getDifferences
Returns the value of the 'Differences' reference list. The list contents are of typeDiff
. It is bidirectional and its opposite is 'Conflict
'. This will reference all differences that are related to this conflict. The number of elements contained in this list is at least two.- Returns:
- the value of the 'Differences' reference list.
- See Also:
- Generated:
-
getLeftDifferences
This can be used to retrieve the list of differences that were made in the left element.- Generated:
-
getRightDifferences
This can be used to retrieve the list of differences that were made in the right element.- Generated:
-