Ignore:
Timestamp:
21/02/12 08:22:21 (8 years ago)
Author:
mnagni
Message:

The migration process now includes
1) deployment_data files
2) XML document hash
3) full Dojo support


File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_observation/ceda_observation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:04 
    2626 
    2727@author: mnagni 
     
    4747        self._geographicExtent_ex_geographicboundingbox = [] 
    4848        self.relatedParty = [] 
     49        self._permission_md_securityconstraints = None 
    4950        self._permission_md_legalconstraints = None 
    50         self._permission_md_securityconstraints = None 
    5151        self.resultTime = None 
    5252        self.resultAccumulation = None 
     53        self._observedProperty_gf_attributetype = None 
    5354        self._observedProperty_gf_associationrole = None 
    54         self._observedProperty_gf_attributetype = None 
    5555        self._observedProperty_gf_operation = None 
    5656        self.parameter = [] 
    57         self.metadata = None 
    5857        self.publicationState = None 
    5958        self.identifier = [] 
     59        self.metadata = None 
    6060        self.dataLineage = None 
     61        self._phenomenonTime_tm_primitive = None 
    6162        self._phenomenonTime_tm_complex = None 
    62         self._phenomenonTime_tm_primitive = None 
    6363        self.documentation = [] 
    64         self._resultQuality_dq_completeness = [] 
    65         self._resultQuality_qe_usability = [] 
    66         self._resultQuality_dq_temporalaccuracy = [] 
     64        self.validTime = None 
    6765        self._resultQuality_dq_logicalconsistency = [] 
    6866        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    6969        self._resultQuality_dq_positionalaccuracy = [] 
    70         self.validTime = None 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._procedure_ceda_compositeprocess = None 
    7172        self._procedure_ceda_acquisition = None 
    7273        self._procedure_ceda_processing = None 
    73         self._procedure_ceda_compositeprocess = None 
    7474        self.result = None 
    7575        self.verticalExtent = [] 
    7676        self.inSupportOf = None 
     77        self.citation = [] 
    7778        self.internalReview = [] 
    78         self.citation = [] 
     79        self._featureOfInterest_sf_samplingfeature = None 
    7980        self._featureOfInterest_mo_featureofinterest = None 
    80         self._featureOfInterest_sf_samplingfeature = None 
    8181        self._featureOfInterest_gfi_domainfeature = None 
    8282        self.status = None 
    8383        self.keywords = [] 
     84        self._relatedObservation_om_discretecoverageobservation = [] 
     85        self._relatedObservation_om_temporalobservation = [] 
    8486        self._relatedObservation_om_measurement = [] 
     87        self._relatedObservation_mo_observation = [] 
     88        self._relatedObservation_om_truthobservation = [] 
     89        self._relatedObservation_om_countobservation = [] 
     90        self._relatedObservation_om_categoryobservation = [] 
     91        self._relatedObservation_om_geometryobservation = [] 
    8592        self._relatedObservation_om_complexobservation = [] 
    86         self._relatedObservation_om_countobservation = [] 
    87         self._relatedObservation_om_temporalobservation = [] 
    88         self._relatedObservation_mo_observation = [] 
    89         self._relatedObservation_om_geometryobservation = [] 
    90         self._relatedObservation_om_truthobservation = [] 
    91         self._relatedObservation_om_categoryobservation = [] 
    92         self._relatedObservation_om_discretecoverageobservation = [] 
    9393        self.description = None 
    9494        super(CEDA_Observation, self).__init__() 
     
    159159 
    160160    @property 
     161    def publicationState(self):  
     162        return self._mo_observation.publicationState 
     163 
     164    @publicationState.setter 
     165    def publicationState(self, value):   
     166            self._mo_observation.publicationState = value 
     167 
     168    @property 
     169    def identifier(self):        
     170        return self._mo_observation.identifier 
     171 
     172    @identifier.setter 
     173    def identifier(self, value):         
     174            self._mo_observation.identifier = value 
     175 
     176    @property 
    161177    def metadata(self):  
    162178        return self._mo_observation.metadata 
     
    167183 
    168184    @property 
    169     def publicationState(self):  
    170         return self._mo_observation.publicationState 
    171  
    172     @publicationState.setter 
    173     def publicationState(self, value):   
    174             self._mo_observation.publicationState = value 
    175  
    176     @property 
    177     def identifier(self):        
    178         return self._mo_observation.identifier 
    179  
    180     @identifier.setter 
    181     def identifier(self, value):         
    182             self._mo_observation.identifier = value 
    183  
    184     @property 
    185185    def phenomenonTime(self):    
    186186        return self._mo_observation.phenomenonTime 
     
    199199 
    200200    @property 
     201    def validTime(self):         
     202        return self._mo_observation.validTime 
     203 
     204    @validTime.setter 
     205    def validTime(self, value):  
     206            self._mo_observation.validTime = value 
     207 
     208    @property 
    201209    def resultQuality(self):     
    202210        return self._mo_observation.resultQuality 
     
    207215 
    208216    @property 
    209     def validTime(self):         
    210         return self._mo_observation.validTime 
    211  
    212     @validTime.setter 
    213     def validTime(self, value):  
    214             self._mo_observation.validTime = value 
    215  
    216     @property 
    217217    def procedure(self):         
    218218        return self._mo_observation.procedure 
     
    223223 
    224224    @property 
    225     def procedure(self):         
    226         return self._mo_observation.procedure 
    227  
    228     @procedure.setter 
    229     def procedure(self, value):  
    230             self._mo_observation.procedure = value 
    231  
    232     @property 
    233225    def result(self):    
    234226        return self._mo_observation.result 
     
    287279 
    288280    def __key(self): 
    289         return (self.resolution, self.geographicExtent, self.relatedParty, self.permission, self.resultTime, self.resultAccumulation, self.observedProperty, self.parameter, self.metadata, self.publicationState, self.identifier, self.dataLineage, self.phenomenonTime, self.documentation, self.resultQuality, self.validTime, self.procedure, self.procedure, self.result, self.verticalExtent, self.inSupportOf, self.internalReview, self.citation, self.featureOfInterest, self.status, self.keywords, self.relatedObservation, self.description) 
     281        return (self.resolution, self.geographicExtent, self.relatedParty, self.permission, self.resultTime, self.resultAccumulation, self.observedProperty, self.parameter, self.publicationState, self.identifier, self.metadata, self.dataLineage, self.phenomenonTime, self.documentation, self.validTime, self.resultQuality, self.procedure, self.result, self.verticalExtent, self.inSupportOf, self.citation, self.internalReview, self.featureOfInterest, self.status, self.keywords, self.relatedObservation, self.description) 
    290282 
    291283    def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.