source: mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_computation/ceda_processing.py @ 8042

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_computation/ceda_processing.py@8042
Revision 8042, 2.7 KB checked in by mnagni, 8 years ago (diff)

The tables are correctly generated but still some problem with class initialization.
Migration is partially working.
Starting the deployment structure implementation.

Line 
1
2
3
4
5
6
7
8
9
10
11
12
13from ea_model.ceda_metadatamodel.ceda_observationprocess.ceda_process import  CEDA_Process
14from ea_model.moles3_4.computation.mo_processing import  MO_Processing
15
16'''
17Created on 03-Jan-2012 11:10:00
18
19@author: mnagni
20'''
21
22class CEDA_Processing(CEDA_Process,MO_Processing):
23        '''
24                Represents a data entity defined in a UML diagram and supposed to
25                be persisted in a relational database.
26 
27                This class has been genererated automatically using the Apache Velocity project.
28        '''
29        '''
30                Please note that any access to the inner attributes should be done using
31                the given get/set methods and NOT accessing them directly.
32        '''
33        def __init__(self):
34                self._ceda_process = CEDA_Process()     
35                self._mo_processing = MO_Processing()   
36                self.processingInput = None
37                self.softwareReference = None
38                self.generatedObservation = None
39                self.documentation = None
40                self.review = None
41                self.identifier = None
42                self.relatedParty = None
43                self.algorithm = None
44                self.description = None
45                self.processingOutput = None
46                super(CEDA_Processing, self).__init__()
47
48        @property
49        def processingInput(self):
50                return self._mo_processing.processingInput
51
52        @processingInput.setter
53        def processingInput(self, value):
54                         self._mo_processing.processingInput = value
55
56        @property
57        def softwareReference(self):
58                return self._mo_processing.softwareReference
59
60        @softwareReference.setter
61        def softwareReference(self, value):
62                         self._mo_processing.softwareReference = value
63
64        @property
65        def generatedObservation(self):
66                return self._ceda_process.generatedObservation
67
68        @generatedObservation.setter
69        def generatedObservation(self, value):
70                         self._ceda_process.generatedObservation = value
71
72        @property
73        def documentation(self):
74                return self._mo_processing.documentation
75
76        @documentation.setter
77        def documentation(self, value):
78                         self._mo_processing.documentation = value
79
80
81
82        @property
83        def identifier(self):
84                return self._mo_processing.identifier
85
86        @identifier.setter
87        def identifier(self, value):
88                         self._mo_processing.identifier = value
89
90        @property
91        def relatedParty(self):
92                return self._mo_processing.relatedParty
93
94        @relatedParty.setter
95        def relatedParty(self, value):
96                         self._mo_processing.relatedParty = value
97
98        @property
99        def algorithm(self):
100                return self._mo_processing.algorithm
101
102        @algorithm.setter
103        def algorithm(self, value):
104                         self._mo_processing.algorithm = value
105
106        @property
107        def description(self):
108                return self._mo_processing.description
109
110        @description.setter
111        def description(self, value):
112                         self._mo_processing.description = value
113
114        @property
115        def processingOutput(self):
116                return self._mo_processing.processingOutput
117
118        @processingOutput.setter
119        def processingOutput(self, value):
120                         self._mo_processing.processingOutput = value
Note: See TracBrowser for help on using the repository browser.