Module: InterMine::PathQuery::TemplateConstraint
- Included in:
- TemplateListConstraint, TemplateLookupConstraint, TemplateLoopConstraint, TemplateMultiValueConstraint, TemplateRangeConstraint, TemplateSingleValueConstraint, TemplateUnaryConstraint
- Defined in:
- lib/intermine/query.rb
Instance Attribute Summary collapse
-
#editable ⇒ Object
Returns the value of attribute editable.
-
#switchable ⇒ Object
Returns the value of attribute switchable.
Instance Method Summary collapse
Instance Attribute Details
#editable ⇒ Object
Returns the value of attribute editable.
1041 1042 1043 |
# File 'lib/intermine/query.rb', line 1041 def editable @editable end |
#switchable ⇒ Object
Returns the value of attribute switchable.
1041 1042 1043 |
# File 'lib/intermine/query.rb', line 1041 def switchable @switchable end |
Instance Method Details
#template_param_op ⇒ Object
1050 1051 1052 |
# File 'lib/intermine/query.rb', line 1050 def template_param_op return @op end |
#to_elem ⇒ Object
1043 1044 1045 1046 1047 1048 |
# File 'lib/intermine/query.rb', line 1043 def to_elem attributes = {"editable" => @editable, "switchable" => @switchable} elem = super elem.add_attributes(attributes) return elem end |