Ignore:
Timestamp:
06/07/12 09:00:43 (7 years ago)
Author:
mnagni
Message:

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

Location:
mauRepo/CedaMolesModel/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/CedaMolesModel/trunk

    • Property svn:ignore
      •  

        old new  
        44 
        55.project 
         6 
         7dist 
  • mauRepo/CedaMolesModel/trunk/ceda_moles_model

    • Property svn:ignore set to
      ceda_moles_model.egg-info
  • mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/li_source.py

    r8398 r8437  
    2222 
    2323''' 
    24 Created on 26-Jun-2012 10:16:21 
     24Created on 06-Jul-2012 07:43:09 
    2525 
    2626@author: mnagni 
     
    4242                self.scaleDenominator = None 
    4343                self.sourceExtent = [] 
     44                self.description = None 
    4445                self.sourceCitation = None 
    45                 self.description = None 
    4646                self.sourceStep = [] 
    4747                self.sourceReferenceSystem = None 
     
    5252 
    5353        def __key(self): 
    54                 return (self.scaleDenominator, self.sourceExtent, self.sourceCitation, self.description, self.sourceStep, self.sourceReferenceSystem) 
     54                return (self.scaleDenominator, self.sourceExtent, self.description, self.sourceCitation, self.sourceStep, self.sourceReferenceSystem) 
    5555 
    5656        def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.