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