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