Sha256: 778dac7ab226fbe30a00999403cb9b6bef82c6a5d5bece4908de719463d6655e

Contents?: true

Size: 419 Bytes

Versions: 8

Compression:

Stored size: 419 Bytes

Contents

class <%= class_name %> < <%= parent? ? options[:parent].classify : "Neo4j::Rails::Model" %>
<% attributes.each do |attribute| -%>
  property :<%= attribute.name %><%= ", :type => #{attribute.type_class}" unless attribute.type_class == 'any' %>
<% end -%>
<%= indices_statements if indices? -%>

<%= has_n_statements if has_n? -%>
<%= has_one_statements if has_one? -%>

<%= timestamp_statements if timestamps? -%>
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
neo4j-2.0.0.alpha.7-java lib/generators/neo4j/model/templates/model.erb
neo4j-2.0.0.alpha.6-java lib/generators/neo4j/model/templates/model.erb
neo4j-2.0.0.alpha.5-java lib/generators/neo4j/model/templates/model.erb
neo4j-2.0.0.alpha.4-java lib/generators/neo4j/model/templates/model.erb
neo4j-2.0.0.alpha.3-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.3.1-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.3.0-java lib/generators/neo4j/model/templates/model.erb
neo4j-1.2.6-java lib/generators/neo4j/model/templates/model.erb