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_19136_gml/coordinatereferencesystems/temporalcrs.py

    r8397 r8437  
    2323 
    2424''' 
    25 Created on 26-Jun-2012 10:16:20 
     25Created on 06-Jul-2012 07:43:14 
    2626 
    2727@author: mnagni 
     
    7979                        self._sc_singlecrs.scope = value 
    8080        @property 
     81        def identifier(self):    
     82                return self._sc_singlecrs.identifier 
     83 
     84        @identifier.setter 
     85        def identifier(self, value):     
     86                        self._sc_singlecrs.identifier = value 
     87        @property 
    8188        def object(self):        
    8289                return self._sc_singlecrs.object 
     
    8592        def object(self, value):         
    8693                        self._sc_singlecrs.object = value 
    87         @property 
    88         def identifier(self):    
    89                 return self._sc_singlecrs.identifier 
    90  
    91         @identifier.setter 
    92         def identifier(self, value):     
    93                         self._sc_singlecrs.identifier = value 
    9494        @property 
    9595        def name(self):  
     
    160160 
    161161        def __key(self): 
    162                 return (self.domainOfValidity, self.remarks, self.alias, self.scope, self.object, self.identifier, self.name, self.coordOperationTo, self.derivedCRS, self.directPosition, self.coordinateSystem, self.coordinateSystem, self.datum, self.datum, self.grid, self.compoundCRS, self.coordOperationFrom) 
     162                return (self.domainOfValidity, self.remarks, self.alias, self.scope, self.identifier, self.object, self.name, self.coordOperationTo, self.derivedCRS, self.directPosition, self.coordinateSystem, self.coordinateSystem, self.datum, self.datum, self.grid, self.compoundCRS, self.coordOperationFrom) 
    163163 
    164164        def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.