Class: CaTissue::OrderDetails
- Inherits:
-
Object
- Object
- CaTissue::OrderDetails
- Defined in:
- lib/catissue/domain/order_details.rb
Overview
The OrderDetails domain class.
Instance Method Summary collapse
-
#initialize ⇒ OrderDetails
constructor
A new instance of OrderDetails.
-
#order_items ⇒ Java::JavaUtil::Set
The items.
Constructor Details
#initialize ⇒ OrderDetails
Returns a new instance of OrderDetails.
16 17 18 19 20 21 22 |
# File 'lib/catissue/domain/order_details.rb', line 16 def initialize super # @quirk JRuby order_items property method isnot accessible until respond_to? is called. respond_to?(:order_items) # @quirk caTissue work around caTissue Bug #64 self.order_items ||= Java::JavaUtil::LinkedHashSet.new end |
Instance Method Details
#order_items ⇒ Java::JavaUtil::Set
Returns the items.
10 11 12 |
# File 'lib/catissue/domain/order_details.rb', line 10 def order_items getOrderItemCollection or (self.order_items = Java::JavaUtil::LinkedHashSet.new) end |