source: mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19115_2006_metadata_corrigendum/identification_information/md_topiccategorycode.py @ 8437

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19115_2006_metadata_corrigendum/identification_information/md_topiccategorycode.py@8437
Revision 8437, 1.1 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 ascore.asenumeration import  ASEnumeration
22from ascore.utils import has_value, collectionProofHash
23
24'''
25Created on 06-Jul-2012 07:43:05
26
27@author: mnagni
28'''
29
30class MD_TopicCategoryCode(ASEnumeration):
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        en_biota = "biota"
38        en_imagerybasemapsearthcover = "imageryBaseMapsEarthCover"
39        en_location = "location"
40        en_intelligencemilitary = "intelligenceMilitary"
41        en_society = "society"
42        en_health = "health"
43        en_environment = "environment"
44        en_farming = "farming"
45        en_economy = "economy"
46        en_boundaries = "boundaries"
47        en_elevation = "elevation"
48        en_geoscientificinformation = "geoscientificInformation"
49        en_climatologymeteorologyatmosphere = "climatologyMeteorologyAtmosphere"
50        en_oceans = "oceans"
51        en_utilitiescommunication = "utilitiesCommunication"
52        en_structure = "structure"
53        en_transportation = "transportation"
54        en_planningcadastre = "planningCadastre"
55        en_inlandwaters = "inlandWaters"
Note: See TracBrowser for help on using the repository browser.