com.mysema.query.codegen
Class SimpleSerializerConfig
java.lang.Object
com.mysema.query.codegen.SimpleSerializerConfig
- All Implemented Interfaces:
- SerializerConfig
public class SimpleSerializerConfig
- extends Object
- implements SerializerConfig
- Author:
- tiwe
Constructor Summary |
SimpleSerializerConfig(boolean entityAccessors,
boolean listAccessors,
boolean mapAccessors,
boolean createDefaultVariable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final SerializerConfig DEFAULT
SimpleSerializerConfig
public SimpleSerializerConfig(boolean entityAccessors,
boolean listAccessors,
boolean mapAccessors,
boolean createDefaultVariable)
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.