public interface GraphQLTypeMapping
The classes that implement this interface provide the mapping between GraphQL types and Java classes. There are generated along with other classes by the GraphQL plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    getJavaClass(String typeName)
    Retrieves the Java class that maps to the given GraphQL type name
    Retrieves the name of the schema for which this GraphQLTypeMapping applies
  • Method Details

    • getSchemaName

      String getSchemaName()
      Retrieves the name of the schema for which this GraphQLTypeMapping applies
      Returns:
    • getJavaClass

      Class<?> getJavaClass(String typeName)
      Retrieves the Java class that maps to the given GraphQL type name
      Parameters:
      typeName - The name of the GraphQL type, as found in the GraphQL schema
      Returns: