Ignore:
Timestamp:
17/01/12 10:23:42 (8 years ago)
Author:
mnagni
Message:

some fixes on import
better wsgi.py
fixed the ASEnumeration

Location:
mauRepo/MolesManager/trunk/src/ea_model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/moles3_4/utilities/mo_responsiblepartyinfo.py

    r8049 r8063  
    1212 
    1313from ea_model.upcomingiso.ci_responsibility import  CI_Responsibility  
     14from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_rolecode import CI_RoleCode 
    1415 
    1516''' 
     
    3132        ''' 
    3233        def __init__(self): 
    33                 self._ci_responsibility = CI_Responsibility()    
     34                self._ci_responsibility = CI_Responsibility()    
    3435                self.extent  = [] 
    3536                self.party  = [] 
    36                 self.role  = None 
    3737                super(MO_ResponsiblePartyInfo, self).__init__() 
     38                self._ci_responsiblepartyinfo = self._ci_responsibility._ci_responsiblepartyinfo                 
    3839 
    3940        @property 
     
    5354                         self._ci_responsibility.party = value 
    5455 
     56        @property 
     57        def role(self): 
     58                return self._ci_responsibility.role 
    5559 
     60        @role.setter 
     61        def role(self, value): 
     62                self._ci_responsibility.role = value 
  • mauRepo/MolesManager/trunk/src/ea_model/upcomingiso/ci_responsibility.py

    r8049 r8063  
    3434                self.extent  = [] 
    3535                self.party  = [] 
    36                 self.role  = None 
    3736                super(CI_Responsibility, self).__init__() 
    3837 
     
    5352        @role.setter 
    5453        def role(self, value): 
    55                          self._ci_responsiblepartyinfo.role = value 
     54                self._ci_responsiblepartyinfo.role = value 
Note: See TracChangeset for help on using the changeset viewer.