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_19133_tracking_and_navigation/network/route/nt_route.py

    r8397 r8437  
    2323 
    2424''' 
    25 Created on 26-Jun-2012 10:16:23 
     25Created on 06-Jul-2012 07:43:16 
    2626 
    2727@author: mnagni 
     
    6363                        self._nt_network.maximalComplex = value 
    6464        @property 
     65        def superComplex(self):  
     66                return self._nt_network.superComplex 
     67 
     68        @superComplex.setter 
     69        def superComplex(self, value):   
     70                        self._nt_network.superComplex = value 
     71        @property 
    6572        def subComplex(self):    
    6673                return self._nt_network.subComplex 
     
    6976        def subComplex(self, value):     
    7077                        self._nt_network.subComplex = value 
    71         @property 
    72         def superComplex(self):  
    73                 return self._nt_network.superComplex 
    74  
    75         @superComplex.setter 
    76         def superComplex(self, value):   
    77                         self._nt_network.superComplex = value 
    7878        @property 
    7979        def geometry(self):      
     
    109109 
    110110        def __key(self): 
    111                 return (self.turn, self.maximalComplex, self.subComplex, self.superComplex, self.summary, self.geometry, self.junction, self.geometry, self.element, self.link, self.maneuver) 
     111                return (self.turn, self.maximalComplex, self.superComplex, self.subComplex, self.summary, self.geometry, self.junction, self.geometry, self.element, self.link, self.maneuver) 
    112112 
    113113        def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.