public class ObjectTypeMapper extends CachingMapper<graphql.schema.GraphQLObjectType,graphql.schema.GraphQLInputObjectType>
| Constructor and Description |
|---|
ObjectTypeMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected List<graphql.schema.GraphQLFieldDefinition> |
getFields(AnnotatedType javaType,
BuildContext buildContext,
OperationMapper operationMapper) |
protected List<graphql.schema.GraphQLOutputType> |
getInterfaces(AnnotatedType javaType,
Set<Type> abstractTypes,
List<graphql.schema.GraphQLFieldDefinition> fields,
BuildContext buildContext,
OperationMapper operationMapper) |
boolean |
supports(AnnotatedType type) |
graphql.schema.GraphQLInputObjectType |
toGraphQLInputType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLObjectType |
toGraphQLType(String typeName,
AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
getInputTypeName, getTypeName, graphQLInputType, graphQLTypecollectAbstract, registerAbstract, toGraphQLInputType, toGraphQLTypepublic graphql.schema.GraphQLObjectType toGraphQLType(String typeName, AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
toGraphQLType in class CachingMapper<graphql.schema.GraphQLObjectType,graphql.schema.GraphQLInputObjectType>public graphql.schema.GraphQLInputObjectType toGraphQLInputType(String typeName, AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
toGraphQLInputType in class CachingMapper<graphql.schema.GraphQLObjectType,graphql.schema.GraphQLInputObjectType>public boolean supports(AnnotatedType type)
protected List<graphql.schema.GraphQLFieldDefinition> getFields(AnnotatedType javaType, BuildContext buildContext, OperationMapper operationMapper)
protected List<graphql.schema.GraphQLOutputType> getInterfaces(AnnotatedType javaType, Set<Type> abstractTypes, List<graphql.schema.GraphQLFieldDefinition> fields, BuildContext buildContext, OperationMapper operationMapper)
Copyright © 2016–2017. All rights reserved.