source: mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/derived/units_of_measure/area.py @ 8045

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/derived/units_of_measure/area.py@8045
Revision 8045, 948 bytes checked in by mnagni, 8 years ago (diff)

Added many libraries missing in the previous commit.
Adedd an sql file to drop all the tables.

Line 
1
2
3
4
5
6
7
8
9
10
11
12
13from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measure import  Measure
14
15'''
16Created on 04-Jan-2012 09:56:18
17
18@author: mnagni
19'''
20
21class Area(Measure):
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._measure = Measure()       
34                self.uom  = None
35                self.uom  = None
36                self.value  = None
37                super(Area, self).__init__()
38
39        @property
40        def uom(self):
41                return self._measure.uom
42
43        @uom.setter
44        def uom(self, value):
45                         self._measure.uom = value
46
47
48
49        @property
50        def value(self):
51                return self._measure.value
52
53        @value.setter
54        def value(self, value):
55                         self._measure.value = value
Note: See TracBrowser for help on using the repository browser.