public class IdAdapter extends AbstractionCollectingMapper implements ArgumentInjector, OutputConverter
| Constructor and Description |
|---|
IdAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertOutput(Object original,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
Object |
getArgumentValue(Object input,
AnnotatedType type,
ResolutionEnvironment resolutionEnvironment) |
graphql.schema.GraphQLInputType |
graphQLInputType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
graphql.schema.GraphQLOutputType |
graphQLType(AnnotatedType javaType,
Set<Type> abstractTypes,
OperationMapper operationMapper,
BuildContext buildContext) |
protected void |
registerAbstract(AnnotatedType type,
Set<Type> abstractTypes,
BuildContext buildContext) |
boolean |
supports(AnnotatedType type) |
collectAbstract, toGraphQLInputType, toGraphQLTypepublic graphql.schema.GraphQLOutputType graphQLType(AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
graphQLType in class AbstractionCollectingMapperpublic graphql.schema.GraphQLInputType graphQLInputType(AnnotatedType javaType, Set<Type> abstractTypes, OperationMapper operationMapper, BuildContext buildContext)
graphQLInputType in class AbstractionCollectingMapperprotected void registerAbstract(AnnotatedType type, Set<Type> abstractTypes, BuildContext buildContext)
registerAbstract in class AbstractionCollectingMapperpublic Object convertOutput(Object original, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
convertOutput in interface OutputConverterpublic Object getArgumentValue(Object input, AnnotatedType type, ResolutionEnvironment resolutionEnvironment)
getArgumentValue in interface ArgumentInjectorpublic boolean supports(AnnotatedType type)
supports in interface ArgumentInjectorsupports in interface OutputConvertersupports in interface TypeMapperCopyright © 2016–2017. All rights reserved.