{%- if entity.attributes.size > 0 %}
public static final class Attributes { {%- for attribute in entity.attributes -%} {%- if attribute.realm_ignored == false or attribute.read_only == false -%} {%- if attribute.comment.size > 0 %} // {{ attribute.comment }} {%- endif %} public static final String {{ attribute.name | snake_case | upcase }} = "{{ attribute.name }}"; {%- endif -%} {%- endfor %} private Attributes() { // Hide constructor } }
{%- endif -%}