Package Gnumed :: Package business :: Module gmOrganization :: Class cCompositeOrgImpl1
[frames] | no frames]

Class cCompositeOrgImpl1

source code

gmBusinessDBObject.cBusinessDBObject --+        
                                       |        
                                    cOrg --+    
                                           |    
                                   cOrgImpl1 --+
                                               |
                                              cCompositeOrgImpl1

this class behaves differently from cOrgImpl1 iff there is a parent org

Instance Methods
 
__init__(self, parent=None, helper=cOrgHelperImpl2()) source code
 
save(self)
if getParent() is None, then the behaviour is unchanged from cOrgImpl1, but if there is a parent org, then there will also sub-org information saved in the description
source code
 
getParent(self) source code
 
setParent(self, parent) source code

Inherited from cOrgImpl1: __getitem__, __setitem__, get, getAddress, getAddressDict, getHelper, getId, getPersonMap, linkNewAddress, linkPerson, load, set, setAddress, setId, shallow_del, unlinkPerson

Method Details

__init__(self, parent=None, helper=cOrgHelperImpl2())
(Constructor)

source code 
Overrides: cOrgImpl1.__init__

save(self)

source code 

if getParent() is None, then the behaviour is unchanged from cOrgImpl1, but if there is a parent org, then there will also sub-org information saved in the description

Overrides: cOrgImpl1.save