Class: InterMine::PathQuery::LookupConstraint
- Inherits:
-
ListConstraint
- Object
- SingleValueConstraint
- ListConstraint
- InterMine::PathQuery::LookupConstraint
- Defined in:
- lib/intermine/query.rb
Direct Known Subclasses
Constant Summary
Constants inherited from SingleValueConstraint
SingleValueConstraint::CANONICAL_OPS
Instance Attribute Summary collapse
-
#extra_value ⇒ Object
Returns the value of attribute extra_value.
Attributes inherited from SingleValueConstraint
Attributes included from Coded
Attributes included from PathFeature
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ObjectConstraint
Methods inherited from SingleValueConstraint
Methods included from AttributeConstraint
#coerce_value, #validate, #validate_value
Methods included from PathFeature
Instance Attribute Details
#extra_value ⇒ Object
Returns the value of attribute extra_value.
1314 1315 1316 |
# File 'lib/intermine/query.rb', line 1314 def extra_value @extra_value end |
Class Method Details
.valid_ops ⇒ Object
1316 1317 1318 |
# File 'lib/intermine/query.rb', line 1316 def self.valid_ops return ["LOOKUP"] end |
Instance Method Details
#to_elem ⇒ Object
1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/intermine/query.rb', line 1320 def to_elem elem = super if @extra_value elem.add_attribute("extraValue", @extra_value) end return elem end |