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

Class UnaryConstraint

source code

              object --+            
                       |            
pathfeatures.PathFeature --+        
                           |        
                  Constraint --+    
                               |    
                  object --+   |    
                           |   |    
                   LogicNode --+    
                               |    
                 CodedConstraint --+
                                   |
                                  UnaryConstraint
Known Subclasses:

Constraints which have just a path and an operator

These constraints are simple assertions about the object/value refered to by the path. The set of valid operators is:

Instance Methods [hide private]

Inherited from CodedConstraint: __init__, __str__, get_codes, to_dict, to_string

Inherited from pathfeatures.PathFeature: __repr__

Inherited from LogicNode: __add__, __and__, __or__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  OPS = set(['IS NOT NULL', 'IS NULL'])

Inherited from Constraint: child_type

Properties [hide private]

Inherited from object: __class__