public abstract class AbstractTypeSubstitutingMapper<S> extends Object implements TypeMapper, TypeSubstituter
| Modifier and Type | Field and Description |
|---|---|
protected AnnotatedType |
substituteType |
| Constructor and Description |
|---|
AbstractTypeSubstitutingMapper() |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedType |
getSubstituteType(AnnotatedType original)
Returns the type to map instead of the original.
|
graphql.schema.GraphQLInputType |
toGraphQLInputType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
toGraphQLType(AnnotatedType javaType,
OperationMapper operationMapper,
Set<Class<? extends TypeMapper>> mappersToSkip,
BuildContext buildContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsprotected final AnnotatedType substituteType
public graphql.schema.GraphQLOutputType toGraphQLType(AnnotatedType javaType, OperationMapper operationMapper, Set<Class<? extends TypeMapper>> mappersToSkip, BuildContext buildContext)
toGraphQLType in interface TypeMapperpublic graphql.schema.GraphQLInputType toGraphQLInputType(AnnotatedType javaType, OperationMapper operationMapper, Set<Class<? extends TypeMapper>> mappersToSkip, BuildContext buildContext)
toGraphQLInputType in interface TypeMapperpublic AnnotatedType getSubstituteType(AnnotatedType original)
S.getSubstituteType in interface TypeSubstituteroriginal - The type to be replacedCopyright © 2016–2018. All rights reserved.