source: mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/derived/units_of_measure/angle.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/angle.py@8045
Revision 8045, 950 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:15
17
18@author: mnagni
19'''
20
21class Angle(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.value  = None
36                self.uom  = None
37                super(Angle, 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        @property
48        def value(self):
49                return self._measure.value
50
51        @value.setter
52        def value(self, value):
53                         self._measure.value = value
54
55
Note: See TracBrowser for help on using the repository browser.