Ignore:
Timestamp:
10/07/12 14:41:56 (7 years ago)
Author:
mnagni
Message:

Corrected an error in the generation of the classes "synchronize" method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/ceda_metadatamodel/ceda_acquisition/ceda_acquisition.py

    r8437 r8457  
    2424 
    2525''' 
    26 Created on 06-Jul-2012 07:43:16 
     26Created on 10-Jul-2012 14:15:00 
    2727 
    2828@author: mnagni 
    2929''' 
    3030 
    31 class CEDA_Acquisition(CEDA_Process,MO_Acquisition): 
     31class CEDA_Acquisition(MO_Acquisition,CEDA_Process): 
    3232        ''' 
    3333                Represents a data entity defined in a UML diagram and supposed to  
     
    4141        ''' 
    4242        def __init__(self): 
     43                self._ceda_process = CEDA_Process()      
    4344                self._mo_acquisition = MO_Acquisition()          
    44                 self._ceda_process = CEDA_Process()      
    4545 
    4646                self.metadataManagement = [] 
     
    113113        @property 
    114114        def generatedObservation(self):  
    115                 return self._mo_acquisition.generatedObservation 
     115                return self._ceda_process.generatedObservation 
    116116 
    117117        @generatedObservation.setter 
    118118        def generatedObservation(self, value):   
    119                         self._mo_acquisition.generatedObservation = value 
     119                        self._ceda_process.generatedObservation = value 
    120120 
    121121        def synchronize(self): 
Note: See TracChangeset for help on using the changeset viewer.