class InterMine::PathQuery::MultiValueConstraint
Attributes
values[RW]
Public Class Methods
valid_ops()
click to toggle source
# File lib/intermine/query.rb 1335 def self.valid_ops 1336 return ["ONE OF", "NONE OF"] 1337 end
Public Instance Methods
to_elem()
click to toggle source
Calls superclass method
InterMine::PathQuery::Coded#to_elem
# File lib/intermine/query.rb 1340 def to_elem 1341 elem = super 1342 @values.each { |x| 1343 value = REXML::Element.new("value") 1344 value.add_text(x.to_s) 1345 elem.add_element(value) 1346 } 1347 return elem 1348 end
validate()
click to toggle source
Calls superclass method
InterMine::PathQuery::AttributeConstraint#validate
# File lib/intermine/query.rb 1350 def validate 1351 super 1352 @values.map! {|val| coerce_value(val)} 1353 @values.each do |val| 1354 validate_value(val) 1355 end 1356 end