Home | Trees | Index | Help |
|
---|
Package bazaar :: Module assoc :: Class OneToOne |
|
object
--+ |AssociationReferenceProxy
--+ | OneToOne
BiDirOneToOne
See Also: bazaar.assoc.AssociationReferenceProxy
bazaar.assoc.BiDirOneToOne
Method Summary | |
---|---|
Descriptor interface method to retrieve reference of referenced object for application object. | |
Descriptor interface method to set application object's attribute and foreign key values. | |
Save referenced object's primary key value. | |
Inherited from AssociationReferenceProxy | |
Create association reference proxy. | |
Assign referenced object. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Instance Variable Summary | |
---|---|
Inherited from AssociationReferenceProxy | |
association : Referenced class' association object of bi-directional
association. | |
broker : Broker of application class. | |
col : Application object's class attribute. | |
vbroker : Broker of referenced application objects' class. |
Method Details |
---|
__get__(self, obj, cls)Descriptor interface method to retrieve reference of referenced object for application object.
|
__set__(self, obj, value)Descriptor interface method to set application object's attribute and foreign key values. This method is optimized for uni-directional one-to-one association.
|
saveForeignKey(self, obj, vkey)Save referenced object's primary key value. Application object's foreign key value is set to referenced object's primary key value.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue May 10 18:27:29 2005 | http://epydoc.sf.net |