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

Class TemplateUnaryConstraint

source code

              object --+                
                       |                
pathfeatures.PathFeature --+            
                           |            
                  Constraint --+        
                               |        
                  object --+   |        
                           |   |        
                   LogicNode --+        
                               |        
                 CodedConstraint --+    
                                   |    
                     UnaryConstraint --+
                                       |
                          object --+   |
                                   |   |
                  TemplateConstraint --+
                                       |
                                      TemplateUnaryConstraint

Instance Methods [hide private]
 
__init__(self, *a, **d)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
to_string(self) source code

Inherited from CodedConstraint: __str__, to_dict

Inherited from pathfeatures.PathFeature: __repr__

Inherited from LogicNode: __add__, __and__, __or__

Inherited from TemplateConstraint: get_switchable_status, separate_arg_sets

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

Class Variables [hide private]

Inherited from UnaryConstraint: OPS

Inherited from Constraint: child_type

Inherited from TemplateConstraint: OPTIONAL_OFF, OPTIONAL_ON, REQUIRED

Properties [hide private]

Inherited from TemplateConstraint: required, switched_off

Inherited from object: __class__

Method Details [hide private]

__init__(self, *a, **d)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

to_string(self)

source code 
Overrides: TemplateConstraint.to_string