source: mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/derived/units_of_measure/uomcurrency.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/uomcurrency.py@8045
Revision 8045, 2.4 KB 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.unitofmeasure import  UnitOfMeasure
14
15'''
16Created on 04-Jan-2012 09:56:17
17
18@author: mnagni
19'''
20
21class UomCurrency(UnitOfMeasure):
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._unitofmeasure = UnitOfMeasure()   
34                self.offsetToStandardUnit  = None
35                self.uomName  = None
36                self.measureType  = None
37                self.scaleToStandardUnit  = None
38                self.subunit  = None
39                self.formula  = None
40                self.measure  = []
41                self.nameStandardUnit  = None
42                self.uomSymbol  = None
43                super(UomCurrency, self).__init__()
44
45        @property
46        def offsetToStandardUnit(self):
47                return self._unitofmeasure.offsetToStandardUnit
48
49        @offsetToStandardUnit.setter
50        def offsetToStandardUnit(self, value):
51                         self._unitofmeasure.offsetToStandardUnit = value
52
53        @property
54        def uomName(self):
55                return self._unitofmeasure.uomName
56
57        @uomName.setter
58        def uomName(self, value):
59                         self._unitofmeasure.uomName = value
60
61        @property
62        def measureType(self):
63                return self._unitofmeasure.measureType
64
65        @measureType.setter
66        def measureType(self, value):
67                         self._unitofmeasure.measureType = value
68
69        @property
70        def scaleToStandardUnit(self):
71                return self._unitofmeasure.scaleToStandardUnit
72
73        @scaleToStandardUnit.setter
74        def scaleToStandardUnit(self, value):
75                         self._unitofmeasure.scaleToStandardUnit = value
76
77        @property
78        def subunit(self):
79                return self._unitofmeasure.subunit
80
81        @subunit.setter
82        def subunit(self, value):
83                         self._unitofmeasure.subunit = value
84
85        @property
86        def formula(self):
87                return self._unitofmeasure.formula
88
89        @formula.setter
90        def formula(self, value):
91                         self._unitofmeasure.formula = value
92
93        @property
94        def measure(self):
95                return self._unitofmeasure.measure
96
97        @measure.setter
98        def measure(self, value):
99                         self._unitofmeasure.measure = value
100
101        @property
102        def nameStandardUnit(self):
103                return self._unitofmeasure.nameStandardUnit
104
105        @nameStandardUnit.setter
106        def nameStandardUnit(self, value):
107                         self._unitofmeasure.nameStandardUnit = value
108
109        @property
110        def uomSymbol(self):
111                return self._unitofmeasure.uomSymbol
112
113        @uomSymbol.setter
114        def uomSymbol(self, value):
115                         self._unitofmeasure.uomSymbol = value
Note: See TracBrowser for help on using the repository browser.