class InterMine::Metadata::FieldDescriptor
A representation of a database column. The characteristics of these classes are defined by the model information received from the webservice
Attributes
model[RW]
The data model this field descriptor belongs to.
Public Class Methods
new(opts, model)
click to toggle source
Constructor.
opts
-
The hash of parameters received from the webservice
model
-
The parental data model
# File lib/intermine/model.rb 667 def initialize(opts, model) 668 @model = model 669 opts.each do |k, v| 670 set_key_value(k, v) 671 end 672 end