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/geometryprimitives/circlebycenterpoint.py

    r8397 r8437  
    2323 
    2424''' 
    25 Created on 26-Jun-2012 10:16:33 
     25Created on 06-Jul-2012 07:43:10 
    2626 
    2727@author: mnagni 
     
    4242                self._arcbycenterpoint = ArcByCenterPoint()      
    4343 
     44                self.startAngle = None 
    4445                self.radius = None 
    45                 self.startAngle = None 
     46                self.numDerivativesAtEnd = None 
    4647                self.curve = None 
    47                 self.numDerivativesAtEnd = None 
    4848                self.interpolation = None 
    4949                self.numDerivativesAtStart = None 
     
    5252                self.controlPoint = None 
    5353                super(CircleByCenterPoint, self).__init__() 
     54        @property 
     55        def startAngle(self):    
     56                return self._arcbycenterpoint.startAngle 
     57 
     58        @startAngle.setter 
     59        def startAngle(self, value):     
     60                        self._arcbycenterpoint.startAngle = value 
    5461        @property 
    5562        def radius(self):        
     
    6067                        self._arcbycenterpoint.radius = value 
    6168        @property 
    62         def startAngle(self):    
    63                 return self._arcbycenterpoint.startAngle 
     69        def numDerivativesAtEnd(self):   
     70                return self._arcbycenterpoint.numDerivativesAtEnd 
    6471 
    65         @startAngle.setter 
    66         def startAngle(self, value):     
    67                         self._arcbycenterpoint.startAngle = value 
     72        @numDerivativesAtEnd.setter 
     73        def numDerivativesAtEnd(self, value):    
     74                        self._arcbycenterpoint.numDerivativesAtEnd = value 
    6875        @property 
    6976        def curve(self):         
     
    7380        def curve(self, value):  
    7481                        self._arcbycenterpoint.curve = value 
    75         @property 
    76         def numDerivativesAtEnd(self):   
    77                 return self._arcbycenterpoint.numDerivativesAtEnd 
    78  
    79         @numDerivativesAtEnd.setter 
    80         def numDerivativesAtEnd(self, value):    
    81                         self._arcbycenterpoint.numDerivativesAtEnd = value 
    8282        @property 
    8383        def interpolation(self):         
     
    120120 
    121121        def __key(self): 
    122                 return (self.radius, self.startAngle, self.curve, self.numDerivativesAtEnd, self.interpolation, self.numDerivativesAtStart, self.numDerivativeInterior, self.endAngle, self.controlPoint) 
     122                return (self.startAngle, self.radius, self.numDerivativesAtEnd, self.curve, self.interpolation, self.numDerivativesAtStart, self.numDerivativeInterior, self.endAngle, self.controlPoint) 
    123123 
    124124        def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.