source: mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19111_referencing_by_coordinates/coordinate_systems/cs_engineeringcs.py @ 8437

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19111_referencing_by_coordinates/coordinate_systems/cs_engineeringcs.py@8437
Revision 8437, 1.5 KB 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 ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_sphericalcs import  CS_SphericalCS
22from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_engineeringcrs import  SC_EngineeringCRS
23from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_affinecs import  CS_AffineCS
24from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_linearcs import  CS_LinearCS
25from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_cylindricalcs import  CS_CylindricalCS
26from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_cartesiancs import  CS_CartesianCS
27from ascore.asunion import  ASUnion
28from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_userdefinedcs import  CS_UserDefinedCS
29from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_polarcs import  CS_PolarCS
30from ascore.utils import has_value, collectionProofHash
31
32'''
33Created on 06-Jul-2012 07:43:11
34
35@author: mnagni
36'''
37
38class CS_EngineeringCS(ASUnion):
39        '''
40                Represents a data entity defined in a UML diagram and supposed to
41                be persisted in a relational database.
42 
43                This class has been genererated automatically using the Apache Velocity project.
44        '''
45        types = {'cylindricalCS':CS_CylindricalCS,'cartesianCS':CS_CartesianCS,'polarCS':CS_PolarCS,'userDefinedCS':CS_UserDefinedCS,'referenceSystem':SC_EngineeringCRS,'linearCS':CS_LinearCS,'affineCS':CS_AffineCS,'sphericalCS':CS_SphericalCS}
Note: See TracBrowser for help on using the repository browser.