Module: InterMine::PathQuery::TemplateConstraint

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#editableObject

Returns the value of attribute editable.



1037
1038
1039
# File 'lib/intermine/query.rb', line 1037

def editable
  @editable
end

#switchableObject

Returns the value of attribute switchable.



1037
1038
1039
# File 'lib/intermine/query.rb', line 1037

def switchable
  @switchable
end

Instance Method Details

#template_param_opObject



1046
1047
1048
# File 'lib/intermine/query.rb', line 1046

def template_param_op
    return @op
end

#to_elemObject



1039
1040
1041
1042
1043
1044
# File 'lib/intermine/query.rb', line 1039

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