|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.compare.match.engine.MatchSettings
public class MatchSettings
Class wrapping the settings one can specify for the Match engine of EMF Compare.
Constructor Summary | |
---|---|
MatchSettings()
Create a new Match Setting. |
Method Summary | |
---|---|
java.lang.Object |
getProgressMonitor()
return the progress monitor to use during the match process. |
int |
getSearchWindow()
return the matching search window. |
void |
ignoreEcoreID(boolean ignore)
Activate or deactivate the fact that the match engine should ignore ID's attributes defined in the Ecore model. |
void |
ignoreXMIID(boolean ignore)
Activate or deactivate the fact that the match engine should ignore XMI ID's. |
boolean |
isIgnoringID()
return true if the match should ignore business ID's. |
boolean |
isIgnoringXMIID()
return true if the match should ignore XMI Id's. |
void |
matchDistinctMetamodels(boolean distinctMetamodels)
Activate or deactivate the fact that the match engine will try to match element even if they come from a different Ecore model. |
void |
setProgressMonitor(java.lang.Object monitor)
Set a progress monitor used during the match. |
void |
setSearchWindow(int windowSize)
Set the search window size. |
boolean |
shouldMatchDistinctMetamodels()
return true if we should allow to match distinct metamodels. |
void |
update(java.util.Map<java.lang.String,java.lang.Object> options)
Update the setting object using a standard options map as defined in the API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatchSettings()
Method Detail |
---|
public void update(java.util.Map<java.lang.String,java.lang.Object> options)
MatchOptions
.
options
- the option map.public void setSearchWindow(int windowSize)
windowSize
- set the search window sizepublic void ignoreXMIID(boolean ignore)
ignore
- true to ignore XMIId, false to use them for matching.public void ignoreEcoreID(boolean ignore)
ignore
- true to ignore ID's attribute, false to use them for matching.public void matchDistinctMetamodels(boolean distinctMetamodels)
distinctMetamodels
- true if wepublic void setProgressMonitor(java.lang.Object monitor)
monitor
- the progressmonitor to use.public final int getSearchWindow()
public final boolean isIgnoringXMIID()
public final boolean isIgnoringID()
public final boolean shouldMatchDistinctMetamodels()
public final java.lang.Object getProgressMonitor()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |