public final class SimpleSerializerConfig extends 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,
String defaultVariableName) |
Modifier and Type | Method and Description |
---|---|
boolean |
createDefaultVariable() |
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, 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 String defaultVariableName()
defaultVariableName
in interface SerializerConfig
Copyright © 2007–2015 Mysema Ltd. All rights reserved.