com.hammurapi.review.util
Class EObjectToIterableConverter

java.lang.Object
  extended by com.hammurapi.convert.AtomicConverterBase<org.eclipse.emf.ecore.EObject,Iterable<org.eclipse.emf.ecore.EObject>>
      extended by com.hammurapi.review.util.EObjectToIterableConverter
All Implemented Interfaces:
AtomicConverter<org.eclipse.emf.ecore.EObject,Iterable<org.eclipse.emf.ecore.EObject>>

public class EObjectToIterableConverter
extends AtomicConverterBase<org.eclipse.emf.ecore.EObject,Iterable<org.eclipse.emf.ecore.EObject>>

Converts EObject to iterable which includes the object itself into iteration.

Author:
Pavel Vlasov

Field Summary
 
Fields inherited from class com.hammurapi.convert.AtomicConverterBase
sourceType, targetType
 
Constructor Summary
EObjectToIterableConverter()
           
 
Method Summary
 Iterable<org.eclipse.emf.ecore.EObject> convert(org.eclipse.emf.ecore.EObject source, Converter master, Context context, ClassLoader classLoader)
           
 
Methods inherited from class com.hammurapi.convert.AtomicConverterBase
getSourceType, getTargetType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EObjectToIterableConverter

public EObjectToIterableConverter()
Method Detail

convert

public Iterable<org.eclipse.emf.ecore.EObject> convert(org.eclipse.emf.ecore.EObject source,
                                                       Converter master,
                                                       Context context,
                                                       ClassLoader classLoader)