Ecore

org.topcased.search.ecore.engine
Class ECoreMetaModelIntrospector

java.lang.Object
  extended by org.topcased.search.ecore.engine.ECoreMetaModelIntrospector

public final class ECoreMetaModelIntrospector
extends java.lang.Object

ECore convenience class allowing to collect all instances of supported meta elements from a given metamodel & its supported meta elements.


Constructor Summary
ECoreMetaModelIntrospector()
           
 
Method Summary
static java.util.List<EClassifier> discriminateValidMetaElements(EObject model, java.util.List<EClassifier> supportedElementsList)
          ECore convenience method allowing to collect all instances of supported meta elements from a given meta model reference & its supported meta elements EClass list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECoreMetaModelIntrospector

public ECoreMetaModelIntrospector()
Method Detail

discriminateValidMetaElements

public static java.util.List<EClassifier> discriminateValidMetaElements(EObject model,
                                                                        java.util.List<EClassifier> supportedElementsList)
ECore convenience method allowing to collect all instances of supported meta elements from a given meta model reference & its supported meta elements EClass list.

Parameters:
model - An ECore meta model reference
supportedElementsList - Supoorted meta element EClass list
Returns:
All instances of supoorted meta elements, a void list otherwise

Ecore

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.