Interface GraphQLTypeMapping
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 TypeMethodDescriptionClass<?>getJavaClass(String typeName) Retrieves the Java class that maps to the given GraphQL type nameRetrieves 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
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:
-