##
## Velocity template for type GraphQLTypeMapping (client side).
##
## The generated class contains:
## - A map from the graphql type name to the java class
##
##
## This template has these inputs:
## types 	 			A map from graphql name to the java class
##
/** Generated by the default template from graphql-java-generator */
package ${configuration.packageName};

public class GraphQLTypeMapping {

	public static Class<?> getJavaClass(String typeName) {
		switch(typeName) {
			#foreach ($entry in $types.entrySet())
			case "${entry.key}": return ${entry.value.classFullName}.class; //$NON-NLS-1$
			#end
			default:
				return null;
		}
	}
}