Module: InterMine::PathQuery::TemplateConstraint

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#editableObject

Returns the value of attribute editable.



949
950
951
# File 'lib/intermine/query.rb', line 949

def editable
  @editable
end

#switchableObject

Returns the value of attribute switchable.



949
950
951
# File 'lib/intermine/query.rb', line 949

def switchable
  @switchable
end

Instance Method Details

#template_param_opObject



958
959
960
# File 'lib/intermine/query.rb', line 958

def template_param_op
    return @op
end

#to_elemObject



951
952
953
954
955
956
# File 'lib/intermine/query.rb', line 951

def to_elem
    attributes = {"editable" => @editable, "switchable" => @switchable}
    elem = super
    elem.add_attributes(attributes)
    return elem
end