com.mysema.query.codegen
Class SimpleSerializerConfig

java.lang.Object
  extended by com.mysema.query.codegen.SimpleSerializerConfig
All Implemented Interfaces:
SerializerConfig

public final class SimpleSerializerConfig
extends Object
implements SerializerConfig

Author:
tiwe

Field Summary
static SerializerConfig DEFAULT
           
 
Constructor Summary
SimpleSerializerConfig(boolean entityAccessors, boolean listAccessors, boolean mapAccessors, boolean createDefaultVariable)
           
 
Method Summary
 boolean createDefaultVariable()
           
static SerializerConfig getConfig(QuerydslConfig annotation)
           
 boolean useEntityAccessors()
           
 boolean useListAccessors()
           
 boolean useMapAccessors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final SerializerConfig DEFAULT
Constructor Detail

SimpleSerializerConfig

public SimpleSerializerConfig(boolean entityAccessors,
                              boolean listAccessors,
                              boolean mapAccessors,
                              boolean createDefaultVariable)
Method Detail

getConfig

public static SerializerConfig getConfig(QuerydslConfig annotation)

useEntityAccessors

public boolean useEntityAccessors()
Specified by:
useEntityAccessors in interface SerializerConfig
Returns:

useListAccessors

public boolean useListAccessors()
Specified by:
useListAccessors in interface SerializerConfig
Returns:

useMapAccessors

public boolean useMapAccessors()
Specified by:
useMapAccessors in interface SerializerConfig
Returns:

createDefaultVariable

public boolean createDefaultVariable()
Specified by:
createDefaultVariable in interface SerializerConfig
Returns:


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