| Home | Trees | Index | Help |
|
|---|
| Package bazaar :: Module assoc :: Class BiDirOneToOne |
|
object --+
|
AssociationReferenceProxy --+
|
OneToOne --+
|
BiDirOneToOne
See Also: AssociationReferenceProxy OneToOne
| Method Summary | |
|---|---|
Descriptor method to set application object's attribute and foreign key values. | |
Keep bi-directional association data integrity when removal of reference is performed. | |
Keep bi-directional association data integrity when setting reference is performed. | |
| Inherited from OneToOne | |
Descriptor interface method to retrieve reference of referenced object for application object. | |
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 |
|---|
__set__(self, obj, value)Descriptor method to set application object's attribute and foreign key values. The method keeps data integrity of bi-directional one-to-one association.
|
integrateRemove(self, obj, value)Keep bi-directional association data integrity when removal of reference is performed. Application and referenced objects cannot be
|
integrateSave(self, obj, value)Keep bi-directional association data integrity when setting reference is performed. Application and referenced objects cannot be
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sun May 23 19:11:17 2004 | http://epydoc.sf.net |