<commit_before>/* DO NOT EDIT: File is autogenerated */
package <%= object_type.schema.java.package %>;
<% set_iris_mode %>

@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "NonFinalFieldReferencedInHashCode", "NonFinalFieldReferenceInEquals", "UnusedDeclaration", "UnnecessarilyQualifiedStaticUsage", "PointlessBitwiseExpression" } )
<%= j_class_definition(object_type) %>{
  public static final String MODEL_NAME = "<%= object_type.name %>";
  public static final String TABLE_NAME = "<%= object_type.sql.table_name %>";
  /* Column Names */
<% object_type.declared_attributes.select{|a|!a.override? && a.persistent? && !a.iris.runtime_managed?}.each do |attribute|
%>  public static final String COLUMN_<%= uppercase_constantize(attribute.name) %> = "<%= attribute.sql.column_name %>";
<% end %>
<% object_type.declared_attributes.select{|a|!a.override? && !a.persistent?}.each do |attribute|
%>  public static final String COLUMN_<%= uppercase_constantize(attribute.name) %> = "<%= attribute.name %>"; /* Not Persistent */ 
<% end %>
<% object_type.declared_attributes.select{|a|!a.override? && !a.length.nil? && !a.iris.runtime_managed?}.each do |attribute|
%>  public static final int COLUMN_<%= uppercase_constantize(attribute.name) %>_MAX_LENGTH = <%= attribute.length %>;
<% end %>

<% object_type.iris.criteria.each do |criterion| %><commit_msg>Dont define TABLE_NAME on abstract classes<commit_after>/* DO NOT EDIT: File is autogenerated */
package <%= object_type.schema.java.package %>;
<% set_iris_mode %>

@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "NonFinalFieldReferencedInHashCode", "NonFinalFieldReferenceInEquals", "UnusedDeclaration", "UnnecessarilyQualifiedStaticUsage", "PointlessBitwiseExpression" } )
<%= j_class_definition(object_type) %>{
  public static final String MODEL_NAME = "<%= object_type.name %>";
<% if !object_type.abstract? %>  public static final String TABLE_NAME = "<%= object_type.sql.table_name %>";
<% end %>
  /* Column Names */
<% object_type.declared_attributes.select{|a|!a.override? && a.persistent? && !a.iris.runtime_managed?}.each do |attribute|
%>  public static final String COLUMN_<%= uppercase_constantize(attribute.name) %> = "<%= attribute.sql.column_name %>";
<% end %>
<% object_type.declared_attributes.select{|a|!a.override? && !a.persistent?}.each do |attribute|
%>  public static final String COLUMN_<%= uppercase_constantize(attribute.name) %> = "<%= attribute.name %>"; /* Not Persistent */ 
<% end %>
<% object_type.declared_attributes.select{|a|!a.override? && !a.length.nil? && !a.iris.runtime_managed?}.each do |attribute|
%>  public static final int COLUMN_<%= uppercase_constantize(attribute.name) %>_MAX_LENGTH = <%= attribute.length %>;
<% end %>

<% object_type.iris.criteria.each do |criterion| %>
{'fraction_non_alphanumeric': 0.16999287241625088, 'fraction_numerical': 0.0, 'mean_word_length': 6.406332453825858, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3816801', 'n_tokens_mistral': 952, 'n_tokens_neox': 890, 'n_words': 162}