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

Class CodedConstraint

source code

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

Instance Methods [hide private]
 
__init__(self, path, op, code='A')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
to_string(self) source code
 
to_dict(self) source code

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([])

Inherited from Constraint: child_type

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path, op, code='A')
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

to_string(self)

source code 
Overrides: pathfeatures.PathFeature.to_string

to_dict(self)

source code 
Overrides: pathfeatures.PathFeature.to_dict