Package intermine :: Module constraints
[hide private]
[frames] | no frames]

Module constraints

source code

Classes [hide private]
  Constraint
All constraints inherit from this class, which simply defines the type of element for the purposes of serialisation.
  LogicNode
Objects which can be represented as nodes in the AST of a constraint logic graph should inherit from this class, which defines methods for overloading built-in operations.
  LogicGroup
A logic group is a logic node with two child nodes, which are either connected by AND or by OR logic.
  LogicParseError
An error representing problems in parsing constraint logic.
  LogicParser
Instances of this class are used to parse logic strings into abstract syntax trees, and then logic groups.
  CodedConstraint
Constraints that have codes are the principal logical filters on queries, and need to be refered to individually (hence the codes).
  UnaryConstraint
These constraints are simple assertions about the object/value refered to by the path.
  BinaryConstraint
These constraints assert a relationship between the value represented by the path (it must be a representation of a value, ie an Attribute) and another value - ie.
  ListConstraint
These constraints assert a membership relationship between the object represented by the path (it must always be an object, ie.
  LoopConstraint
These constraints assert that two paths refer to the same object.
  TernaryConstraint
These constraints request a wide-ranging search for matching fields over all aspects of an object, including up to coercion from related classes.
  MultiConstraint
These constraints require the value they constrain to be either a member of a set of values, or not a member.
  SubClassConstraint
If an object has a reference X to another object of type A, and type B extends type A, then any object of type B may be the value of the reference X.
  TemplateConstraint
Constraints on templates can also be designated as "on", "off" or "locked", which refers to whether they are active or not.
  TemplateUnaryConstraint
  TemplateBinaryConstraint
  TemplateListConstraint
  TemplateLoopConstraint
  TemplateTernaryConstraint
  TemplateMultiConstraint
  TemplateSubClassConstraint
  ConstraintFactory
A constraint factory is responsible for finding an appropriate constraint class for the given arguments and instantiating the constraint.
  TemplateConstraintFactory
A constraint factory is responsible for finding an appropriate constraint class for the given arguments and instantiating the constraint.
Variables [hide private]
  __package__ = 'intermine'