Class UnionMapper
- java.lang.Object
-
- io.leangen.graphql.generator.mapping.common.UnionMapper
-
- All Implemented Interfaces:
TypeMapper
- Direct Known Subclasses:
UnionInlineMapper,UnionTypeMapper
public abstract class UnionMapper extends Object implements TypeMapper
- Author:
- Bojan Tomic (kaqqao)
-
-
Constructor Summary
Constructors Constructor Description UnionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLInputTypetoGraphQLInputType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)protected graphql.schema.GraphQLOutputTypetoGraphQLUnion(String name, String description, AnnotatedType javaType, List<AnnotatedType> possibleJavaTypes, TypeMappingEnvironment env)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.leangen.graphql.generator.mapping.TypeMapper
supports, toGraphQLType
-
-
-
-
Method Detail
-
toGraphQLUnion
protected graphql.schema.GraphQLOutputType toGraphQLUnion(String name, String description, AnnotatedType javaType, List<AnnotatedType> possibleJavaTypes, TypeMappingEnvironment env)
-
toGraphQLInputType
public graphql.schema.GraphQLInputType toGraphQLInputType(AnnotatedType javaType, Set<Class<? extends TypeMapper>> mappersToSkip, TypeMappingEnvironment env)
- Specified by:
toGraphQLInputTypein interfaceTypeMapper
-
-