Class Ribs::RubyRootClass
In: lib/ribs/definition.rb
Parent: org.hibernate.mapping.RootClass

A simple helper class that allows the Java parts of the system to get the Ruby class from the PersistentClass instance.

Methods

[]=   getRubyClass   getRubyData   new  

Attributes

ruby_class  [RW]  The Ruby class

Public Class methods

Initialize data for this RootClass

[Source]

    # File lib/ribs/definition.rb, line 95
95:     def initialize(*args)
96:       super
97:       @data = {}
98:     end

Public Instance methods

Sets a specific data element

[Source]

     # File lib/ribs/definition.rb, line 101
101:     def []=(key, value)
102:       @data[key] = value
103:     end

Get the Ruby class. Implementation of the WithRubyClass interface.

[Source]

     # File lib/ribs/definition.rb, line 107
107:     def getRubyClass
108:       @ruby_class
109:     end

Gets a specific data element

[Source]

     # File lib/ribs/definition.rb, line 112
112:     def getRubyData(key)
113:       @data[key]
114:     end

[Validate]