source: mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19136_gml/basictypes/integerornilreason.py @ 8437

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19136_gml/basictypes/integerornilreason.py@8437
Revision 8437, 569 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 ea_model.iso_19136_gml.basictypes.nilreason import  NilReason
22from sqlalchemy.types import  Integer
23from ascore.asunion import  ASUnion
24from ascore.utils import has_value, collectionProofHash
25
26'''
27Created on 06-Jul-2012 07:43:07
28
29@author: mnagni
30'''
31
32class integerOrNilReason(ASUnion):
33        '''
34                Represents a data entity defined in a UML diagram and supposed to
35                be persisted in a relational database.
36 
37                This class has been genererated automatically using the Apache Velocity project.
38        '''
39        types = {'value':Integer,'nilReason':NilReason}
Note: See TracBrowser for help on using the repository browser.