source: mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_acquisition/ceda_operation.py @ 8042

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_acquisition/ceda_operation.py@8042
Revision 8042, 2.4 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.moles3_4.acquisition.mo_operation import  MO_Operation
14
15'''
16Created on 03-Jan-2012 11:10:05
17
18@author: mnagni
19'''
20
21class CEDA_Operation(MO_Operation):
22        '''
23                Represents a data entity defined in a UML diagram and supposed to
24                be persisted in a relational database.
25 
26                This class has been genererated automatically using the Apache Velocity project.
27        '''
28        '''
29                Please note that any access to the inner attributes should be done using
30                the given get/set methods and NOT accessing them directly.
31        '''
32        def __init__(self):
33                self._mo_operation = MO_Operation()     
34                self.location = None
35                self.status = None
36                self.documentation = None
37                self.description = None
38                self.childOperation = None
39                self.operationTime = None
40                self.identifier = None
41                self.platform = None
42                self.relatedPartyInfo = None
43                self.review = None
44                super(CEDA_Operation, self).__init__()
45
46        @property
47        def location(self):
48                return self._mo_operation.location
49
50        @location.setter
51        def location(self, value):
52                         self._mo_operation.location = value
53
54        @property
55        def status(self):
56                return self._mo_operation.status
57
58        @status.setter
59        def status(self, value):
60                         self._mo_operation.status = value
61
62        @property
63        def documentation(self):
64                return self._mo_operation.documentation
65
66        @documentation.setter
67        def documentation(self, value):
68                         self._mo_operation.documentation = value
69
70        @property
71        def description(self):
72                return self._mo_operation.description
73
74        @description.setter
75        def description(self, value):
76                         self._mo_operation.description = value
77
78        @property
79        def childOperation(self):
80                return self._mo_operation.childOperation
81
82        @childOperation.setter
83        def childOperation(self, value):
84                         self._mo_operation.childOperation = value
85
86        @property
87        def operationTime(self):
88                return self._mo_operation.operationTime
89
90        @operationTime.setter
91        def operationTime(self, value):
92                         self._mo_operation.operationTime = value
93
94        @property
95        def identifier(self):
96                return self._mo_operation.identifier
97
98        @identifier.setter
99        def identifier(self, value):
100                         self._mo_operation.identifier = value
101
102        @property
103        def platform(self):
104                return self._mo_operation.platform
105
106        @platform.setter
107        def platform(self, value):
108                         self._mo_operation.platform = value
109
110        @property
111        def relatedPartyInfo(self):
112                return self._mo_operation.relatedPartyInfo
113
114        @relatedPartyInfo.setter
115        def relatedPartyInfo(self, value):
116                         self._mo_operation.relatedPartyInfo = value
117
118
Note: See TracBrowser for help on using the repository browser.