Class ModelUtil
java.lang.Object
org.enterprisedomain.classmaker.util.ModelUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
eObjectsAreEqual
(org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> first, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> second, boolean conjunction) static boolean
eObjectsAreEqual
(org.eclipse.emf.ecore.EObject first, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> second, boolean conjunction) static boolean
eObjectsAreEqual
(org.eclipse.emf.ecore.EObject first, org.eclipse.emf.ecore.EObject second, boolean conjunction) static org.eclipse.emf.ecore.EPackage
getEPackage
(org.eclipse.emf.ecore.EObject eObject)
-
Constructor Details
-
ModelUtil
public ModelUtil()
-
-
Method Details
-
eObjectsAreEqual
public static boolean eObjectsAreEqual(org.eclipse.emf.ecore.EObject first, org.eclipse.emf.ecore.EObject second, boolean conjunction) - Parameters:
first
- the first EObjectsecond
- the second EObjectconjunction
- true if exact matching is required, false if at least one of features are equal- Returns:
- whether the first and second are the same EPackages
-
eObjectsAreEqual
public static boolean eObjectsAreEqual(org.eclipse.emf.ecore.EObject first, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> second, boolean conjunction) -
eObjectsAreEqual
public static boolean eObjectsAreEqual(org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> first, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> second, boolean conjunction) -
getEPackage
public static org.eclipse.emf.ecore.EPackage getEPackage(org.eclipse.emf.ecore.EObject eObject)
-