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

@Immutable
public final class SupertypeSerializer
extends EntitySerializer

SupertypeSerializer is a Serializer implementation for supertypes

Author:
tiwe

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

Constructor Detail

SupertypeSerializer

public SupertypeSerializer(TypeMappings typeMappings)
Method Detail

constructorsForVariables

protected void constructorsForVariables(com.mysema.codegen.CodeWriter writer,
                                        EntityType model)
Overrides:
constructorsForVariables in class EntitySerializer

introDefaultInstance

protected void introDefaultInstance(com.mysema.codegen.CodeWriter writer,
                                    EntityType model)
Overrides:
introDefaultInstance in class EntitySerializer

introFactoryMethods

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

introImports

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


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