source: mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/informative/extended_metadata_from_19115/taxonomykeywords.py @ 8437

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/informative/extended_metadata_from_19115/taxonomykeywords.py@8437
Revision 8437, 573 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 ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_keywordtypecode import  MD_KeywordTypeCode
23from ascore.utils import has_value, collectionProofHash
24
25'''
26Created on 06-Jul-2012 07:43:08
27
28@author: mnagni
29'''
30
31class TaxonomyKeywords(MD_KeywordTypeCode):
32        '''
33                Represents a data entity defined in a UML diagram and supposed to
34                be persisted in a relational database.
35 
36                This class has been genererated automatically using the Apache Velocity project.
37        '''
38        cl_taxon = "taxon"
Note: See TracBrowser for help on using the repository browser.