Class AbstractTypeAdapter<T,S>
- java.lang.Object
-
- io.leangen.graphql.generator.mapping.common.AbstractTypeSubstitutingMapper<S>
-
- io.leangen.graphql.generator.mapping.AbstractTypeAdapter<T,S>
-
- All Implemented Interfaces:
InputConverter<T,S>,OutputConverter<T,S>,TypeMapper,TypeSubstituter
- Direct Known Subclasses:
AbstractSimpleTypeAdapter,MapToListTypeAdapter
public abstract class AbstractTypeAdapter<T,S> extends AbstractTypeSubstitutingMapper<S> implements InputConverter<T,S>, OutputConverter<T,S>
Created by bojan.tomic on 9/21/16.
-
-
Field Summary
Fields Modifier and Type Field Description protected AnnotatedTypesourceType-
Fields inherited from class io.leangen.graphql.generator.mapping.common.AbstractTypeSubstitutingMapper
substituteType
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(AnnotatedElement element, AnnotatedType type)booleansupports(AnnotatedType type)-
Methods inherited from class io.leangen.graphql.generator.mapping.common.AbstractTypeSubstitutingMapper
getSubstituteType, toGraphQLInputType, toGraphQLType
-
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.InputConverter
convertInput, getSubstituteType
-
Methods inherited from interface io.leangen.graphql.generator.mapping.OutputConverter
convertOutput
-
-
-
-
Field Detail
-
sourceType
protected final AnnotatedType sourceType
-
-
Method Detail
-
supports
public boolean supports(AnnotatedType type)
- Specified by:
supportsin interfaceInputConverter<T,S>
-
supports
public boolean supports(AnnotatedElement element, AnnotatedType type)
- Specified by:
supportsin interfaceOutputConverter<T,S>- Specified by:
supportsin interfaceTypeMapper
-
-