Class: ODDB::CyP450InteractionConnection

Inherits:
CyP450Connection show all
Defined in:
ext/export/src/oddb_yaml.rb,
src/model/cyp450connection.rb

Direct Known Subclasses

CyP450InducerConnection, CyP450InhibitorConnection

Constant Summary

EXPORT_PROPERTIES =
[
  '@oid',
  #'@cyp450', # some parsers don't like circular references
  '@category',
  '@links',
  '@substance',
  '@auc_factor',
]

Constants included from Persistence

ODBA_PREDEFINE_SERIALIZABLE

Constants included from OddbYaml

EXPORT_PROPERTIES, YAML_URI

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from CyP450Connection

#adjust_types, #cyp_id, #init

Methods included from PersistenceMethods

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

Methods included from OddbYaml

#to_yaml_properties, #to_yaml_type

Constructor Details

- (CyP450InteractionConnection) initialize(substance_name)

A new instance of CyP450InteractionConnection



69
70
71
72
# File 'src/model/cyp450connection.rb', line 69

def initialize(substance_name)
  super()
  @substance_name = substance_name
end

Instance Attribute Details

- (Object) substance_name (readonly)

Returns the value of attribute substance_name



68
69
70
# File 'src/model/cyp450connection.rb', line 68

def substance_name
  @substance_name
end