Class: ODDB::Patinfo

Inherits:
Object show all
Includes:
Language, OddbYaml, SequenceObserver
Defined in:
src/model/patinfo.rb,
test/test_model/patinfo.rb,
ext/export/src/oddb_yaml.rb

Direct Known Subclasses

State::Drugs::Patinfo::PatinfoWrapper

Constant Summary

EXPORT_PROPERTIES =
[
  '@oid',
  '@descriptions',
]

Constants included from OddbYaml

EXPORT_PROPERTIES, YAML_URI

Constants included from Persistence

ODBA_PREDEFINE_SERIALIZABLE

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods included from OddbYaml

#to_yaml_properties, #to_yaml_type

Methods included from SequenceObserver

#add_sequence, #empty?, #initialize, #remove_sequence

Methods included from Language

#all_descriptions, #has_description?, #init, #synonyms, #synonyms=

Methods included from SimpleLanguage

#description, #descriptions, #has_description?, #match, #method_missing, #respond_to?, #search_text, #to_s, #update_values

Methods included from Persistence

#initialize

Methods included from PersistenceMethods

#checkout, #data_origin, #data_origins, #diff, #init, #nil_if_empty, #parent, #pointer_descr, #structural_ancestors, #undiffable?, #update_values

Constructor Details

This class inherits a constructor from ODDB::SequenceObserver

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ODDB::SimpleLanguage

Instance Attribute Details

- (Object) sequences

Returns the value of attribute sequences



15
16
17
# File 'test/test_model/patinfo.rb', line 15

def sequences
  @sequences
end

Instance Method Details

- (Object) company_name



11
12
13
# File 'src/model/patinfo.rb', line 11

def company_name
  _sequence_delegate(:company_name)
end

- (Object) name_base



14
15
16
# File 'src/model/patinfo.rb', line 14

def name_base
  _sequence_delegate(:name_base)
end

- (Object) odba_store



17
18
19
20
# File 'src/model/patinfo.rb', line 17

def odba_store
  @descriptions.odba_store
  super
end