handlebars.JavaInflector.model.mustache Maven / Gradle / Ivy
package {{package}};
{{^x-is-composed-model}}
import java.util.Objects;
{{#imports}}import {{import}};
{{/imports}}
{{#serializableModel}}import java.io.Serializable;{{/serializableModel}}
{{/x-is-composed-model}}
{{#models}}
{{#model}}
{{#description}}
/**
* {{description}}
**/
{{/description}}
{{#isComposedModel}}
{{>interface}}
{{/isComposedModel}}
{{^isComposedModel}}
{{#is this 'enum'}}
{{>enumOuterClass}}
{{/is}}
{{#isNot this 'enum'}}{{>pojo}}{{/isNot}}
{{/isComposedModel}}
{{/model}}
{{/models}}