public class NestedClassGenerator extends Object
| Constructor and Description |
|---|
NestedClassGenerator() |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.forge.roaster.model.source.JavaClassSource |
build()
Builds the Java class by using the defined settings.
|
NestedClassGenerator |
withFluentSetters(boolean fluentSetters)
Sets whether the generated POJO should contain fluent setters or not.
|
NestedClassGenerator |
withNameHint(String nameHint)
Sets the name hint that will be used to generate the final name of the
generated class.
|
NestedClassGenerator |
withType(ComponentObjectType type)
Sets the
ComponentObjectType this generator will use to create
the getters and setters for the properties. |
public NestedClassGenerator withType(ComponentObjectType type)
ComponentObjectType this generator will use to create
the getters and setters for the properties.type - The ComponentObjectType instance containing the object
definition.public NestedClassGenerator withNameHint(String nameHint)
nameHint - The hint which is the base for the final name of the class.public NestedClassGenerator withFluentSetters(boolean fluentSetters)
true.fluentSetters - true to enable fluent setters, false
otherwise.public org.jboss.forge.roaster.model.source.JavaClassSource build()
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.