public final class SimpleSerializerConfig extends java.lang.Object implements SerializerConfig
SerializerConfig
interfaceModifier and Type | Field and Description |
---|---|
static SerializerConfig |
DEFAULT |
Constructor and Description |
---|
SimpleSerializerConfig(boolean entityAccessors,
boolean listAccessors,
boolean mapAccessors,
boolean createDefaultVariable,
java.lang.String defaultVariableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
createDefaultVariable() |
java.lang.String |
defaultVariableName() |
static SerializerConfig |
getConfig(Config annotation) |
boolean |
useEntityAccessors() |
boolean |
useListAccessors() |
boolean |
useMapAccessors() |
public static final SerializerConfig DEFAULT
public SimpleSerializerConfig(boolean entityAccessors, boolean listAccessors, boolean mapAccessors, boolean createDefaultVariable, java.lang.String defaultVariableName)
public static SerializerConfig getConfig(Config annotation)
public boolean useEntityAccessors()
useEntityAccessors
in interface SerializerConfig
public boolean useListAccessors()
useListAccessors
in interface SerializerConfig
public boolean useMapAccessors()
useMapAccessors
in interface SerializerConfig
public boolean createDefaultVariable()
createDefaultVariable
in interface SerializerConfig
public java.lang.String defaultVariableName()
defaultVariableName
in interface SerializerConfig
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.