| Home | Trees | Index | Help |
|
|---|
| Package bazaar :: Module assoc :: Class OneToOne |
|
object --+
|
AssociationReferenceProxy --+
|
OneToOne
BiDirOneToOneSee 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) | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| 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.0 on Sun May 23 19:11:16 2004 | http://epydoc.sf.net |