org.eclipse.xtext.util
Class EmfStructureComparator
java.lang.Object
org.eclipse.xtext.util.EmfStructureComparator
public class EmfStructureComparator
- extends java.lang.Object
- Author:
- Jan Köhnlein - Initial contribution and API
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Method Summary |
void |
assertSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
|
protected java.lang.String |
getErrorMessage()
|
protected java.util.List<org.eclipse.emf.ecore.EObject> |
getRelevantChildren(org.eclipse.emf.ecore.EObject _this)
|
boolean |
internalIsSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
|
protected boolean |
isRelevantChild(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject child)
|
protected boolean |
isSameClass(org.eclipse.emf.ecore.EClass left,
org.eclipse.emf.ecore.EClass right)
|
boolean |
isSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
EmfStructureComparator
public EmfStructureComparator()
assertSameStructure
public void assertSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
getErrorMessage
protected java.lang.String getErrorMessage()
isSameStructure
public boolean isSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
internalIsSameStructure
public boolean internalIsSameStructure(org.eclipse.emf.ecore.EObject left,
org.eclipse.emf.ecore.EObject right)
isSameClass
protected boolean isSameClass(org.eclipse.emf.ecore.EClass left,
org.eclipse.emf.ecore.EClass right)
getRelevantChildren
protected java.util.List<org.eclipse.emf.ecore.EObject> getRelevantChildren(org.eclipse.emf.ecore.EObject _this)
isRelevantChild
protected boolean isRelevantChild(org.eclipse.emf.ecore.EObject container,
org.eclipse.emf.ecore.EObject child)