org.eclipse.emf.henshin.statespace.util
Class StateSpaceTypesHelper

java.lang.Object
  extended by org.eclipse.emf.henshin.statespace.util.StateSpaceTypesHelper

public class StateSpaceTypesHelper
extends Object

Helper methods for gathering information about types in state spaces.


Constructor Summary
StateSpaceTypesHelper()
           
 
Method Summary
static Map<String,EAttribute> getAttributesNameMap(StateSpace stateSpace)
          Gather all known attribute types in a state space.
static List<EClass> getTypes(StateSpace stateSpace)
          Get a list of all known types in a state space.
static Map<String,EClass> getTypesNameMap(StateSpace stateSpace)
          Get a map that associated names to types in a state space.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateSpaceTypesHelper

public StateSpaceTypesHelper()
Method Detail

getTypes

public static List<EClass> getTypes(StateSpace stateSpace)
Get a list of all known types in a state space.

Parameters:
stateSpace - State space.

getTypesNameMap

public static Map<String,EClass> getTypesNameMap(StateSpace stateSpace)
Get a map that associated names to types in a state space.

Parameters:
stateSpace - State space.

getAttributesNameMap

public static Map<String,EAttribute> getAttributesNameMap(StateSpace stateSpace)
Gather all known attribute types in a state space.

Parameters:
stateSpace - State space.