Package org.eclipse.emf.compare
Interface MatchResource
- All Known Implementing Classes:
MatchResourceImpl
A representation of the model object 'Match Resource'.
A MatchResource element represents the mapping between two or three resources : left, right, and their optional common ancestor. The resource will be identified through its URI.
The following features are supported:
- See Also:
- Generated:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Comparison' container reference.getLeft()
Returns the value of the 'Left' attribute.Returns the value of the 'Left URI' attribute.Returns the value of the 'Location Changes' containment reference list.Returns the value of the 'Origin' attribute.Returns the value of the 'Origin URI' attribute.getRight()
Returns the value of the 'Right' attribute.Returns the value of the 'Right URI' attribute.void
setComparison
(Comparison value) Sets the value of the 'Comparison
' container reference.void
Sets the value of the 'Left
' attribute.void
setLeftURI
(String value) Sets the value of the 'Left URI
' attribute.void
Sets the value of the 'Origin
' attribute.void
setOriginURI
(String value) Sets the value of the 'Origin URI
' attribute.void
Sets the value of the 'Right
' attribute.void
setRightURI
(String value) Sets the value of the 'Right URI
' 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
-
getLeftURI
String getLeftURI()Returns the value of the 'Left URI' attribute. Cannot be null. Represents the URI of the left resource of this mapping.- Returns:
- the value of the 'Left URI' attribute.
- See Also:
- Generated:
-
setLeftURI
Sets the value of the 'Left URI
' attribute.- Parameters:
value
- the new value of the 'Left URI' attribute.- See Also:
- Generated:
-
getRightURI
String getRightURI()Returns the value of the 'Right URI' attribute. Cannot be null. Represents the URI of the right resource of this mapping.- Returns:
- the value of the 'Right URI' attribute.
- See Also:
- Generated:
-
setRightURI
Sets the value of the 'Right URI
' attribute.- Parameters:
value
- the new value of the 'Right URI' attribute.- See Also:
- Generated:
-
getOriginURI
String getOriginURI()Returns the value of the 'Origin URI' attribute. This can be null in the case of two-way comparisons. If assigned, it will represent the URI of the origin resource for this mapping; the common ancestor of both others.- Returns:
- the value of the 'Origin URI' attribute.
- See Also:
- Generated:
-
setOriginURI
Sets the value of the 'Origin URI
' attribute.- Parameters:
value
- the new value of the 'Origin URI' attribute.- See Also:
- Generated:
-
getLeft
Resource getLeft()Returns the value of the 'Left' attribute. Keeps a reference towards the left Resource of this Match. Might be null if this is a Comparison we have re-loaded from its serialized form and the left EResource could not be loaded.- Returns:
- the value of the 'Left' attribute.
- See Also:
- Generated:
-
setLeft
Sets the value of the 'Left
' attribute.- Parameters:
value
- the new value of the 'Left' attribute.- See Also:
- Generated:
-
getRight
Resource getRight()Returns the value of the 'Right' attribute. Keeps a reference towards the right Resource of this Match. Might be null if this is a Comparison we have re-loaded from its serialized form and the right EResource could not be loaded.- Returns:
- the value of the 'Right' attribute.
- See Also:
- Generated:
-
setRight
Sets the value of the 'Right
' attribute.- Parameters:
value
- the new value of the 'Right' attribute.- See Also:
- Generated:
-
getOrigin
Resource getOrigin()Returns the value of the 'Origin' attribute. Keeps a reference towards the origin Resource of this Match. Might be null if this is a Comparison we have re-loaded from its serialized form and the origin EResource could not be loaded.- Returns:
- the value of the 'Origin' attribute.
- See Also:
- Generated:
-
setOrigin
Sets the value of the 'Origin
' attribute.- Parameters:
value
- the new value of the 'Origin' attribute.- See Also:
- Generated:
-
getComparison
Comparison getComparison()Returns the value of the 'Comparison' container reference. It is bidirectional and its opposite is 'Matched Resources
'.If the meaning of the 'Comparison' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Comparison' container reference.
- See Also:
- Generated:
-
setComparison
Sets the value of the 'Comparison
' container reference.- Parameters:
value
- the new value of the 'Comparison' container reference.- See Also:
- Generated:
-
getLocationChanges
EList<ResourceLocationChange> getLocationChanges()Returns the value of the 'Location Changes' containment reference list. The list contents are of typeResourceLocationChange
.If the meaning of the 'Location Changes' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Location Changes' containment reference list.
- Since:
- 3.2
- See Also:
- Generated:
-