Package com.querydsl.codegen
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
-
Field Summary
Fields inherited from class com.querydsl.codegen.DefaultEntitySerializer
generatedAnnotationClass, keywords, typeMappings -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSupertypeSerializer(TypeMappings typeMappings, Collection<String> keywords) Create a new SupertypeSerializer instanceDefaultSupertypeSerializer(TypeMappings typeMappings, Collection<String> keywords, Class<? extends Annotation> generatedAnnotationClass) Create a new SupertypeSerializer instance -
Method Summary
Methods inherited from class com.querydsl.codegen.DefaultEntitySerializer
constructorContent, constructors, constructorsForVariables, customField, entityAccessor, entityField, getAdditionalConstructorParameter, hasOwnEntityProperties, initEntityField, initEntityFields, intro, introClassHeader, introDefaultInstance, introDelegatePackages, introFactoryMethods, introImports, introInits, introJavadoc, introPackage, introSuper, isImportExprPackage, listAccessor, mapAccessor, outro, serialize, serialize, serializePropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.querydsl.codegen.Serializer
serialize
-
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 usedkeywords- keywords to be usedgeneratedAnnotationClass- fully qualified class name to be used as class level "@Generated" annotation.
-
DefaultSupertypeSerializer
Create a new SupertypeSerializer instance- Parameters:
typeMappings- type mappings to be usedkeywords- keywords to be used
-