Sha256: 258a24885c4b16f5297a5a7114f6d20a10d75aaeb267b69e03883ad628d187a6
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
package <%= Configuration.full_models_package %>; @javax.persistence.Entity public class <%= class_name %> extends Entity { <% @attributes.each do |att| -%> private <%= att.java_type %> <%= att.name %>; <% end -%> <% @attributes.each do |att| -%> public void set<%= att.name.camelize %>(<%= att.java_type %> <%= att.name %>) { this.<%= att.name %> = <%= att.name %>; } public <%= att.java_type %> <%= att.getter_prefix + att.name.camelize %>() { return <%= att.name %>; } <% end -%> }
Version data entries
4 entries across 4 versions & 1 rubygems