Class DefaultProjectionSerializer

java.lang.Object
com.querydsl.codegen.DefaultProjectionSerializer
All Implemented Interfaces:
ProjectionSerializer, Serializer

public final class DefaultProjectionSerializer extends Object implements ProjectionSerializer
ProjectionSerializer is a Serializer implementation for projection types
Author:
tiwe
  • Constructor Details

    • DefaultProjectionSerializer

      public DefaultProjectionSerializer(TypeMappings typeMappings)
      Create a new ProjectionSerializer instance
      Parameters:
      typeMappings - type mappings to be used
    • DefaultProjectionSerializer

      @Inject public DefaultProjectionSerializer(TypeMappings typeMappings, @Named("generatedAnnotationClass") Class<? extends Annotation> generatedAnnotationClass)
      Create a new ProjectionSerializer instance
      Parameters:
      typeMappings - type mappings to be used
      generatedAnnotationClass - the fully qualified class name of the Single-Element Annotation (with String element) to be used on the generated classes.
      See Also:
  • Method Details