org.eclipse.emf.ecp.common.spi
Class EMFUtils

java.lang.Object
  extended by org.eclipse.emf.ecp.common.spi.EMFUtils

public final class EMFUtils
extends Object

Util class for basic EMF.

Since:
1.5
Author:
Eugen Neufeld

Method Summary
static Set<org.eclipse.emf.ecore.EPackage> getAllRegisteredEPackages()
          Returns the set of all known EPackages.
static Collection<org.eclipse.emf.ecore.EClass> getSubClasses(org.eclipse.emf.ecore.EClass superClass)
          This method looks through all known EPackages to find all subclasses for the provided super class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSubClasses

public static Collection<org.eclipse.emf.ecore.EClass> getSubClasses(org.eclipse.emf.ecore.EClass superClass)
This method looks through all known EPackages to find all subclasses for the provided super class.

Parameters:
superClass - - the class for which to get the subclasses
Returns:
a Collection of EClasses

getAllRegisteredEPackages

public static Set<org.eclipse.emf.ecore.EPackage> getAllRegisteredEPackages()
Returns the set of all known EPackages.

Returns:
the Set of all known Epackages


Copyright © 2015. All Rights Reserved.