Module: InterMine::PathQuery::TemplateConstraint
- Included in:
- TemplateListConstraint, TemplateLookupConstraint, TemplateLoopConstraint, TemplateMultiValueConstraint, 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.
927 928 929 |
# File 'lib/intermine/query.rb', line 927 def editable @editable end |
#switchable ⇒ Object
Returns the value of attribute switchable.
927 928 929 |
# File 'lib/intermine/query.rb', line 927 def switchable @switchable end |
Instance Method Details
#template_param_op ⇒ Object
936 937 938 |
# File 'lib/intermine/query.rb', line 936 def template_param_op return @op end |
#to_elem ⇒ Object
929 930 931 932 933 934 |
# File 'lib/intermine/query.rb', line 929 def to_elem attributes = {"editable" => @editable, "switchable" => @switchable} elem = super elem.add_attributes(attributes) return elem end |