public final class DefaultEmbeddableSerializer extends DefaultEntitySerializer implements EmbeddableSerializer
EmbeddableSerializer is a Serializer implementation for embeddable typesgeneratedAnnotationClass, keywords, typeMappings| Constructor and Description |
|---|
DefaultEmbeddableSerializer(TypeMappings typeMappings,
java.util.Collection<java.lang.String> keywords)
Create a new
EmbeddableSerializer instance. |
DefaultEmbeddableSerializer(TypeMappings typeMappings,
java.util.Collection<java.lang.String> keywords,
java.lang.Class<? extends java.lang.annotation.Annotation> generatedAnnotationClass)
Create a new
EmbeddableSerializer instance |
| Modifier and Type | Method and Description |
|---|---|
protected void |
introClassHeader(CodeWriter writer,
EntityType model) |
constructorContent, constructors, constructorsForVariables, customField, entityAccessor, entityField, getAdditionalConstructorParameter, hasOwnEntityProperties, initEntityField, initEntityFields, intro, introDefaultInstance, introDelegatePackages, introFactoryMethods, introImports, introInits, introJavadoc, introPackage, introSuper, isImportExprPackage, listAccessor, mapAccessor, outro, serialize, serialize, serializePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize@Inject public DefaultEmbeddableSerializer(TypeMappings typeMappings, @Named(value="keywords") java.util.Collection<java.lang.String> keywords, @Named(value="generatedAnnotationClass") java.lang.Class<? extends java.lang.annotation.Annotation> generatedAnnotationClass)
EmbeddableSerializer instancetypeMappings - type mappings to be usedkeywords - keywords to be usedgeneratedAnnotationClass - the fully qualified class name of the Single-Element Annotation (with String element) to be used on the generated classes.public DefaultEmbeddableSerializer(TypeMappings typeMappings, java.util.Collection<java.lang.String> keywords)
EmbeddableSerializer instance.typeMappings - type mappings to be usedkeywords - keywords to be usedprotected void introClassHeader(CodeWriter writer, EntityType model) throws java.io.IOException
introClassHeader in class DefaultEntitySerializerjava.io.IOExceptionCopyright © 2007–2021 Querydsl. All rights reserved.