All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.nested_class.mustache Maven / Gradle / Ivy

There is a newer version: 0.118
Show newest version
{{#schema}}{{#description}}    /**
     * {{&safeDescription}}
     */
{{/description}}{{/schema}}{{#isObject}}    public static class {{&className}} {

{{#properties}}        private final {{>type}} {{&javaName}};
{{#last}}
{{/last}}{{/properties}}{{#numberOfProperties}}        public {{&className}}(
{{#properties}}                {{>type}} {{&javaName}}{{^last}},{{/last}}
{{/properties}}        ) {
{{#properties}}{{^isPrimitive}}{{^nullable}}            if ({{&javaName}} == null)
                {{>tniae}}("Must not be null - {{&javaName}}");
{{/nullable}}{{/isPrimitive}}{{>validations}}            this.{{&javaName}} = {{&javaName}};
{{/properties}}        }

{{/numberOfProperties}}{{>getters}}{{>equals}}
{{>hashcode}}
    }
{{/isObject}}{{#isString}}    public enum {{&className}} {
{{#enumValues}}        {{&.}}{{^last}},{{/last}}
{{/enumValues}}    }
{{/isString}}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy