public class DefaultGenerationConfig extends Object implements GenerationConfig
Constructor and Description |
---|
DefaultGenerationConfig() |
Modifier and Type | Method and Description |
---|---|
AnnotationStyle |
getAnnotationStyle()
Gets the 'annotationStyle' configuration option.
|
String |
getClassNamePrefix()
Gets the 'getClassNamePrefix' configuration option.
|
String |
getClassNameSuffix()
Gets the 'getClassNameSuffix' configuration option.
|
Class<? extends Annotator> |
getCustomAnnotator()
|
Class<? extends RuleFactory> |
getCustomRuleFactory()
Gets the 'customRuleFactory' configuration option.
|
FileFilter |
getFileFilter()
Gets the file filter used to isolate the schema mapping files in the
source directories.
|
String |
getOutputEncoding()
Gets the 'outputEncoding' configuration option.
|
char[] |
getPropertyWordDelimiters()
Gets the 'propertyWordDelimiters' configuration option.
|
Iterator<URL> |
getSource()
Unsupported since no default source is possible.
|
SourceType |
getSourceType()
Gets the 'sourceType' configuration option.
|
File |
getTargetDirectory()
Gets the 'targetDirectory' configuration option.
|
String |
getTargetPackage()
Gets the 'targetPackage' configuration option.
|
boolean |
isConstructorsRequiredPropertiesOnly()
Gets the 'constructorsRequiredPropertiesOnly' configuration option
|
boolean |
isGenerateBuilders()
Gets the 'generateBuilders' configuration option.
|
boolean |
isIncludeAccessors()
Gets the 'includeAccessors' configuration option
|
boolean |
isIncludeAdditionalProperties()
Gets the 'includeAdditionalProperties' configuration option
|
boolean |
isIncludeConstructors()
Gets the 'includeConstructors' configuration option
|
boolean |
isIncludeHashcodeAndEquals()
Gets the 'includeHashcodeAndEquals' configuration option.
|
boolean |
isIncludeJsr303Annotations()
Gets the 'includeJsr303Annotations' configuration option.
|
boolean |
isIncludeToString()
Gets the 'includeToString' configuration option.
|
boolean |
isInitializeCollections()
Gets the 'initializeCollections' configuration option.
|
boolean |
isParcelable()
Gets the 'parcelable' configuration option.
|
boolean |
isRemoveOldOutput()
Gets the 'removeOldOutput' configuration option.
|
boolean |
isUseCommonsLang3()
Gets the 'useCommonsLang3' configuration option.
|
boolean |
isUseDoubleNumbers()
Gets the 'useDoubleNumbers' configuration option.
|
boolean |
isUseJodaDates()
Gets the 'useJodaDates' configuration option.
|
boolean |
isUseJodaLocalDates()
Gets the 'useJodaLocalDates' configuration option.
|
boolean |
isUseJodaLocalTimes()
Gets the 'useJodaLocalTimes' configuration option.
|
boolean |
isUseLongIntegers()
Gets the 'useLongIntegers' configuration option.
|
boolean |
isUsePrimitives()
Gets the 'usePrimitives' configuration option.
|
public boolean isGenerateBuilders()
GenerationConfig
isGenerateBuilders
in interface GenerationConfig
false
public boolean isUsePrimitives()
GenerationConfig
isUsePrimitives
in interface GenerationConfig
false
public Iterator<URL> getSource()
getSource
in interface GenerationConfig
public File getTargetDirectory()
GenerationConfig
getTargetDirectory
in interface GenerationConfig
public String getTargetPackage()
GenerationConfig
getTargetPackage
in interface GenerationConfig
public char[] getPropertyWordDelimiters()
GenerationConfig
getPropertyWordDelimiters
in interface GenerationConfig
public boolean isUseLongIntegers()
GenerationConfig
isUseLongIntegers
in interface GenerationConfig
false
public boolean isUseDoubleNumbers()
GenerationConfig
isUseDoubleNumbers
in interface GenerationConfig
true
public boolean isIncludeHashcodeAndEquals()
GenerationConfig
isIncludeHashcodeAndEquals
in interface GenerationConfig
true
public boolean isIncludeToString()
GenerationConfig
isIncludeToString
in interface GenerationConfig
true
public AnnotationStyle getAnnotationStyle()
GenerationConfig
getAnnotationStyle
in interface GenerationConfig
AnnotationStyle.JACKSON2
AnnotatorFactory
public Class<? extends Annotator> getCustomAnnotator()
getCustomAnnotator
in interface GenerationConfig
GenerationConfig.getAnnotationStyle()
public Class<? extends RuleFactory> getCustomRuleFactory()
GenerationConfig
getCustomRuleFactory
in interface GenerationConfig
public boolean isIncludeJsr303Annotations()
GenerationConfig
isIncludeJsr303Annotations
in interface GenerationConfig
false
public SourceType getSourceType()
GenerationConfig
getSourceType
in interface GenerationConfig
SourceType.JSONSCHEMA
public String getOutputEncoding()
GenerationConfig
getOutputEncoding
in interface GenerationConfig
public boolean isRemoveOldOutput()
GenerationConfig
isRemoveOldOutput
in interface GenerationConfig
public boolean isUseJodaDates()
GenerationConfig
isUseJodaDates
in interface GenerationConfig
public boolean isUseJodaLocalDates()
GenerationConfig
isUseJodaLocalDates
in interface GenerationConfig
public boolean isUseJodaLocalTimes()
GenerationConfig
isUseJodaLocalTimes
in interface GenerationConfig
public boolean isUseCommonsLang3()
GenerationConfig
isUseCommonsLang3
in interface GenerationConfig
false
public boolean isParcelable()
GenerationConfig
isParcelable
in interface GenerationConfig
false
public FileFilter getFileFilter()
GenerationConfig
getFileFilter
in interface GenerationConfig
public boolean isInitializeCollections()
GenerationConfig
isInitializeCollections
in interface GenerationConfig
true
public String getClassNamePrefix()
GenerationConfig
getClassNamePrefix
in interface GenerationConfig
public String getClassNameSuffix()
GenerationConfig
getClassNameSuffix
in interface GenerationConfig
public boolean isIncludeConstructors()
GenerationConfig
isIncludeConstructors
in interface GenerationConfig
false
public boolean isConstructorsRequiredPropertiesOnly()
GenerationConfig
isConstructorsRequiredPropertiesOnly
in interface GenerationConfig
false
public boolean isIncludeAdditionalProperties()
GenerationConfig
isIncludeAdditionalProperties
in interface GenerationConfig
true
public boolean isIncludeAccessors()
GenerationConfig
isIncludeAccessors
in interface GenerationConfig
true
Copyright © 2015. All rights reserved.