Class DefaultSupertypeSerializer

java.lang.Object
com.querydsl.codegen.DefaultEntitySerializer
com.querydsl.codegen.DefaultSupertypeSerializer
All Implemented Interfaces:
EntitySerializer, Serializer, SupertypeSerializer

public final class DefaultSupertypeSerializer extends DefaultEntitySerializer implements SupertypeSerializer
SupertypeSerializer is a Serializer implementation for supertypes
Author:
tiwe
  • Constructor Details

    • DefaultSupertypeSerializer

      @Inject public DefaultSupertypeSerializer(TypeMappings typeMappings, @Named("keywords") Collection<String> keywords, @Named("generatedAnnotationClass") Class<? extends Annotation> generatedAnnotationClass)
      Create a new SupertypeSerializer instance
      Parameters:
      typeMappings - type mappings to be used
      keywords - keywords to be used
      generatedAnnotationClass - fully qualified class name to be used as class level "@Generated" annotation.
    • DefaultSupertypeSerializer

      public DefaultSupertypeSerializer(TypeMappings typeMappings, Collection<String> keywords)
      Create a new SupertypeSerializer instance
      Parameters:
      typeMappings - type mappings to be used
      keywords - keywords to be used