Package rdfalchemy :: Module descriptors :: Class rdfSingle
[hide private]
[frames] | no frames]

Class rdfSingle

source code

 object --+    
          |    
rdfAbstract --+
              |
             rdfSingle
Known Subclasses:

This is a Discriptor Takes a the URI of the predicate at initialization Expects to return a single item on Assignment will set that value to the ONLY triple with that subject,predicate pair
Instance Methods [hide private]
 
__init__(self, pred, cacheName=None, range_type=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__get__(self, obj, cls) source code
 
__set__(self, obj, value) source code

Inherited from rdfAbstract: __delete__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from rdfAbstract: range_class

Inherited from object: __class__

Method Details [hide private]

__init__(self, pred, cacheName=None, range_type=None)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)