com.mysema.query.codegen
Interface Serializer

All Known Implementing Classes:
AbstractSerializer, DTOSerializer, EmbeddableSerializer, EntitySerializer, SupertypeSerializer

public interface Serializer

Serializer defines a common interface for EntityModel serializers

Author:
tiwe

Method Summary
 String getPathType(TypeModel type, EntityModel model, boolean raw)
          Get a String representation of the Querydsl type for the given TypeModel in tyhe given EntityModel context
 void serialize(EntityModel type, Writer writer)
          Serialize the given ClassModel
 

Method Detail

serialize

void serialize(EntityModel type,
               Writer writer)
               throws IOException
Serialize the given ClassModel

Parameters:
type - ClassModel to serialize
writer - serialization target
Throws:
IOException

getPathType

String getPathType(TypeModel type,
                   EntityModel model,
                   boolean raw)
Get a String representation of the Querydsl type for the given TypeModel in tyhe given EntityModel context

Parameters:
type -
model -
raw -
Returns:


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