public final class EMFUtils extends Object
|Modifier and Type||Method and Description|
Check two EObjects for equality by comparing their EClass and all their features' values.
Returns the set of all known
This method looks through all known
public static Collection<org.eclipse.emf.ecore.EClass> getSubClasses(org.eclipse.emf.ecore.EClass superClass)
EPackages to find all concrete subclasses for the provided super class (abstract classes and interfaces will be ignored). If the EClass is EObject, all non abstract and non interface classes will be returned.
superClass- - the class for which to get the subclasses
public static Set<org.eclipse.emf.ecore.EPackage> getAllRegisteredEPackages()
public static boolean filteredEquals(org.eclipse.emf.ecore.EObject property, org.eclipse.emf.ecore.EObject other, org.eclipse.emf.ecore.EStructuralFeature... filteredFeatures)
property- The EObject triggering the comparison, might be
other- The other style EObject, might be
filteredFeatures- Features that are ignored in the equality check.
trueif the EClass and the values of all features are equal or if both EObjects are
Copyright © 2019. All rights reserved.