Class PojoGenerator.PojoConfiguration
- java.lang.Object
-
- org.apache.johnzon.jsonschema.generator.PojoGenerator.PojoConfiguration
-
- Enclosing class:
- PojoGenerator
public static class PojoGenerator.PojoConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
addAllArgsConstructor
private boolean
addJsonbProperty
private String
className
private boolean
fluentSetters
private Function<PojoGenerator.Ref,String>
onRef
private String
packageName
-
Constructor Summary
Constructors Constructor Description PojoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName()
Function<PojoGenerator.Ref,String>
getOnRef()
String
getPackageName()
boolean
isAddAllArgsConstructor()
boolean
isAddJsonbProperty()
boolean
isFluentSetters()
PojoGenerator.PojoConfiguration
setAddAllArgsConstructor(boolean addAllArgsConstructor)
PojoGenerator.PojoConfiguration
setAddJsonbProperty(boolean addJsonbProperty)
PojoGenerator.PojoConfiguration
setClassName(String className)
PojoGenerator.PojoConfiguration
setFluentSetters(boolean fluentSetters)
PojoGenerator.PojoConfiguration
setOnRef(Function<PojoGenerator.Ref,String> onRef)
PojoGenerator.PojoConfiguration
setPackageName(String packageName)
-
-
-
Field Detail
-
packageName
private String packageName
-
className
private String className
-
addJsonbProperty
private boolean addJsonbProperty
-
addAllArgsConstructor
private boolean addAllArgsConstructor
-
fluentSetters
private boolean fluentSetters
-
onRef
private Function<PojoGenerator.Ref,String> onRef
-
-
Method Detail
-
getOnRef
public Function<PojoGenerator.Ref,String> getOnRef()
-
setOnRef
public PojoGenerator.PojoConfiguration setOnRef(Function<PojoGenerator.Ref,String> onRef)
-
isFluentSetters
public boolean isFluentSetters()
-
setFluentSetters
public PojoGenerator.PojoConfiguration setFluentSetters(boolean fluentSetters)
-
isAddAllArgsConstructor
public boolean isAddAllArgsConstructor()
-
setAddAllArgsConstructor
public PojoGenerator.PojoConfiguration setAddAllArgsConstructor(boolean addAllArgsConstructor)
-
isAddJsonbProperty
public boolean isAddJsonbProperty()
-
setAddJsonbProperty
public PojoGenerator.PojoConfiguration setAddJsonbProperty(boolean addJsonbProperty)
-
getClassName
public String getClassName()
-
setClassName
public PojoGenerator.PojoConfiguration setClassName(String className)
-
getPackageName
public String getPackageName()
-
setPackageName
public PojoGenerator.PojoConfiguration setPackageName(String packageName)
-
-