generator.component.Model.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of component-starter-server Show documentation
Show all versions of component-starter-server Show documentation
Web application allowing to generate maven or gradle project skeleton to speed up component
development.
package {{package}};
{{#generic}}
import static java.util.Collections.emptySet;
{{/generic}}
import java.io.Serializable;
import java.util.Collection;
import java.util.Set;
// this is the pojo which will be used to represent your data
public class {{className}} implements {{^generic}}Serializable{{/generic}} {
{{^generic}}{{#structure}}
private {{value.type}} {{value.name}};
public {{value.type}} get{{value.methodName}}() {
return {{value.name}};
}
public void set{{value.methodName}}(final {{value.type}} {{value.name}}) {
this.{{value.name}} = {{value.name}};
}
{{/structure}}{{/generic}}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy