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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_acquisition/ceda_instrument.py@8042
Revision 8042, 1.8 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_instrument import  MO_Instrument
14
15'''
16Created on 03-Jan-2012 11:10:05
17
18@author: mnagni
19'''
20
21class CEDA_Instrument(MO_Instrument):
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_instrument = MO_Instrument()   
34                self.member = None
35                self.description = None
36                self.identifier = None
37                self.realatedParty = None
38                self.type = None
39                self.documentation = None
40                self.review = None
41                super(CEDA_Instrument, self).__init__()
42
43        @property
44        def member(self):
45                return self._mo_instrument.member
46
47        @member.setter
48        def member(self, value):
49                         self._mo_instrument.member = value
50
51        @property
52        def description(self):
53                return self._mo_instrument.description
54
55        @description.setter
56        def description(self, value):
57                         self._mo_instrument.description = value
58
59        @property
60        def identifier(self):
61                return self._mo_instrument.identifier
62
63        @identifier.setter
64        def identifier(self, value):
65                         self._mo_instrument.identifier = value
66
67        @property
68        def realatedParty(self):
69                return self._mo_instrument.realatedParty
70
71        @realatedParty.setter
72        def realatedParty(self, value):
73                         self._mo_instrument.realatedParty = value
74
75        @property
76        def type(self):
77                return self._mo_instrument.type
78
79        @type.setter
80        def type(self, value):
81                         self._mo_instrument.type = value
82
83        @property
84        def documentation(self):
85                return self._mo_instrument.documentation
86
87        @documentation.setter
88        def documentation(self, value):
89                         self._mo_instrument.documentation = value
90
91
Note: See TracBrowser for help on using the repository browser.