source: mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19133_tracking_and_navigation/address_model/address_elements/ad_regioncode.py @ 8437

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19133_tracking_and_navigation/address_model/address_elements/ad_regioncode.py@8437
Revision 8437, 623 bytes checked in by mnagni, 7 years ago (diff)

Added a new function to ascore.utils in order to synchronize classes before committing to database

The following constraints has been added to the official model:

MO_ObservationCollection:member:CEDA_Observation
MO_ObservationCollection:phenomenonTime:TM_GeometricPrimitive
MO_Project:observationCollection:CEDA_ObservationCollection
MO_Observation:result:CEDA_Result
MO_Observation:inSupportOf:CEDA_Project
MO_Project:subProject:CEDA_Project
OM_Observation:procedure:CEDA_Process
OM_Observation:phenomenonTime:TM_GeometricPrimitive
MO_ResponsiblePartyFunctionValue:CEDA_RoleValue

  • Property svn:mime-type set to text/plain
Line 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21from ascore.ascodelist import  ASCodeList
22from ascore.utils import has_value, collectionProofHash
23
24'''
25Created on 06-Jul-2012 07:43:16
26
27@author: mnagni
28'''
29
30class AD_RegionCode(ASCodeList):
31        '''
32                Represents a data entity defined in a UML diagram and supposed to
33                be persisted in a relational database.
34 
35                This class has been genererated automatically using the Apache Velocity project.
36        '''
37        cl_ca_nb = "CA-NB"
38        cl_us = "US"
39        cl_at = "AT"
40        cl_ca_nu = "CA-NU"
41        cl_us_va = "US-VA"
42        cl_es = "ES"
43        cl_be = "BE"
44        cl_ca = "CA"
45        cl____ = "..."
46        cl_va = "VA"
47        cl_ca_nt = "CA-NT"
48        cl_gb = "GB"
Note: See TracBrowser for help on using the repository browser.