Sha256: 85c538d036b90bc81039e3bbabeb2e200014623aa2ac9bc894115fb8e6766080

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 Bytes

Contents

class Dummies < Entities
  def setup_data
    @default_type = :STdummy1
    add_new_storage :STdummy2, :conf => 'hello'
    
    value_str :first_name
    value_str_STdummy2 :phone, :length => 20
    value_list_array_STdummy2 :address, '[]', :size => 40
    
    value_int_STdummy2 :dummy_id, :chars => 30
    
    value_str_STdummy3 :no_cache
  end
end

class Dummy < Entity
  def get_storage
    @proxy.storage
  end
  
  def field_args( field )
    @proxy.field_args( field )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
qooxview-1.9.1312 test/entities/dummies.rb
qooxview-1.9.13.pre.12 test/entities/dummies.rb
qooxview-1.9.13.pre.11 test/entities/dummies.rb
qooxview-1.9.13.pre.10 test/entities/dummies.rb
qooxview-1.9.11 test/entities/dummies.rb
qooxview-1.9.10 test/entities/dummies.rb
qooxview-1.9.9 test/entities/dummies.rb