public class ScalaAnnotationsMapper extends AnnotationsMapper
Constructor and Description |
---|
ScalaAnnotationsMapper(ValueMapper valueMapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
Whether to add model validation annotation to a type
|
java.util.List<java.lang.String> |
getAdditionalAnnotations(MappingContext mappingContext,
java.lang.String typeName) |
java.lang.String |
getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
Get language specific Jackson type id resolver annotation
|
ValueMapper |
getValueMapper() |
getAnnotations, getAnnotations, getAnnotations, getAnnotations, getAnnotationsForDirective, getJacksonTypeIdAnnotations
public ScalaAnnotationsMapper(ValueMapper valueMapper)
public boolean addModelValidationAnnotationForType(java.lang.String possiblyPrimitiveType)
AnnotationsMapper
addModelValidationAnnotationForType
in class AnnotationsMapper
possiblyPrimitiveType
- GraphQL type namepublic java.lang.String getJacksonResolverTypeIdAnnotation(java.lang.String modelPackageName)
AnnotationsMapper
getJacksonResolverTypeIdAnnotation
in class AnnotationsMapper
modelPackageName
- Model package name propertypublic java.util.List<java.lang.String> getAdditionalAnnotations(MappingContext mappingContext, java.lang.String typeName)
getAdditionalAnnotations
in class AnnotationsMapper
public ValueMapper getValueMapper()
getValueMapper
in class AnnotationsMapper