com.mysema.query.codegen
Class SupertypeSerializer

java.lang.Object
  extended by com.mysema.query.codegen.EntitySerializer
      extended by com.mysema.query.codegen.SupertypeSerializer
All Implemented Interfaces:
Serializer

public final class SupertypeSerializer
extends EntitySerializer

SupertypeSerializer is a Serializer implementation for supertypes

Author:
tiwe

Field Summary
 
Fields inherited from class com.mysema.query.codegen.EntitySerializer
keywords, typeMappings
 
Constructor Summary
SupertypeSerializer(TypeMappings typeMappings, Collection<String> keywords)
           
 
Method Summary
protected  void introImports(com.mysema.codegen.CodeWriter writer, SerializerConfig config, EntityType model)
           
 
Methods inherited from class com.mysema.query.codegen.EntitySerializer
constructors, constructorsForVariables, entityAccessor, entityField, getAdditionalConstructorParameter, hasOwnEntityProperties, initEntityField, initEntityFields, intro, introClassHeader, introDefaultInstance, introDelegatePackages, introFactoryMethods, introInits, introJavadoc, introPackage, introSuper, isImportExprPackage, listAccessor, mapAccessor, outro, serialize, serialize, serializeProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupertypeSerializer

@Inject
public SupertypeSerializer(TypeMappings typeMappings,
                                  @Named(value="keywords")
                                  Collection<String> keywords)
Method Detail

introImports

protected void introImports(com.mysema.codegen.CodeWriter writer,
                            SerializerConfig config,
                            EntityType model)
                     throws IOException
Overrides:
introImports in class EntitySerializer
Throws:
IOException


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.