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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_observationcollection/ceda_observationcollection.py@8042
Revision 8042, 3.0 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.observationcollection.mo_observationcollection import  MO_ObservationCollection
14
15'''
16Created on 03-Jan-2012 11:10:02
17
18@author: mnagni
19'''
20
21class CEDA_ObservationCollection(MO_ObservationCollection):
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_observationcollection = MO_ObservationCollection()     
34                self.additionalMetadata = None
35                self.description = None
36                self.identifier = None
37                self.member = None
38                self.subCollection = None
39                self.isoMetadata = None
40                self.phenomenonTime = None
41                self.publicationState = None
42                self.verticalExtent = None
43                self.CEDAOfficer = None
44                self.review = None
45                self.geographicExtent = None
46                super(CEDA_ObservationCollection, self).__init__()
47
48        @property
49        def additionalMetadata(self):
50                return self._mo_observationcollection.additionalMetadata
51
52        @additionalMetadata.setter
53        def additionalMetadata(self, value):
54                         self._mo_observationcollection.additionalMetadata = value
55
56        @property
57        def description(self):
58                return self._mo_observationcollection.description
59
60        @description.setter
61        def description(self, value):
62                         self._mo_observationcollection.description = value
63
64        @property
65        def identifier(self):
66                return self._mo_observationcollection.identifier
67
68        @identifier.setter
69        def identifier(self, value):
70                         self._mo_observationcollection.identifier = value
71
72        @property
73        def member(self):
74                return self._mo_observationcollection.member
75
76        @member.setter
77        def member(self, value):
78                         self._mo_observationcollection.member = value
79
80        @property
81        def subCollection(self):
82                return self._mo_observationcollection.subCollection
83
84        @subCollection.setter
85        def subCollection(self, value):
86                         self._mo_observationcollection.subCollection = value
87
88        @property
89        def isoMetadata(self):
90                return self._mo_observationcollection.isoMetadata
91
92        @isoMetadata.setter
93        def isoMetadata(self, value):
94                         self._mo_observationcollection.isoMetadata = value
95
96        @property
97        def phenomenonTime(self):
98                return self._mo_observationcollection.phenomenonTime
99
100        @phenomenonTime.setter
101        def phenomenonTime(self, value):
102                         self._mo_observationcollection.phenomenonTime = value
103
104        @property
105        def publicationState(self):
106                return self._mo_observationcollection.publicationState
107
108        @publicationState.setter
109        def publicationState(self, value):
110                         self._mo_observationcollection.publicationState = value
111
112        @property
113        def verticalExtent(self):
114                return self._mo_observationcollection.verticalExtent
115
116        @verticalExtent.setter
117        def verticalExtent(self, value):
118                         self._mo_observationcollection.verticalExtent = value
119
120
121
122
123
124        @property
125        def geographicExtent(self):
126                return self._mo_observationcollection.geographicExtent
127
128        @geographicExtent.setter
129        def geographicExtent(self, value):
130                         self._mo_observationcollection.geographicExtent = value
Note: See TracBrowser for help on using the repository browser.