source: mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/implementation/collections/circularsequence.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/implementation/collections/circularsequence.py@8046
Revision 8045, 992 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.implementation.collections.sequence import  Sequence
14
15'''
16Created on 04-Jan-2012 09:56:13
17
18@author: mnagni
19'''
20
21class CircularSequence(Sequence):
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._sequence = Sequence()     
34                self.element  = None
35                self.length  = None
36                super(CircularSequence, self).__init__()
37
38        @property
39        def element(self):
40                return self._sequence.element
41
42        @element.setter
43        def element(self, value):
44                         self._sequence.element = value
45
46        @property
47        def length(self):
48                return self._sequence.length
49
50        @length.setter
51        def length(self, value):
52                         self._sequence.length = value
Note: See TracBrowser for help on using the repository browser.