Class: InterMine::PathQuery::TemplateConstraintFactory

Inherits:
ConstraintFactory show all
Defined in:
lib/intermine/query.rb,
lib/intermine/query.rb

Instance Method Summary collapse

Methods inherited from ConstraintFactory

#make_constraint

Constructor Details

#initialize(query) ⇒ TemplateConstraintFactory

Returns a new instance of TemplateConstraintFactory.


1021
1022
1023
1024
1025
1026
1027
1028
# File 'lib/intermine/query.rb', line 1021

def initialize(query)
    super
    @classes =  [
        TemplateSingleValueConstraint, 
        SubClassConstraint, 
        TemplateLookupConstraint, TemplateMultiValueConstraint, 
        TemplateUnaryConstraint, TemplateLoopConstraint, TemplateListConstraint]
end