Ignore:
Timestamp:
12/03/12 15:43:46 (8 years ago)
Author:
mnagni
Message:

Implementation of tickets #22390

Location:
mauRepo/MolesManager/trunk/src/ea_model
Files:
4 edited

Legend:

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

    r8091 r8147  
    2020 
    2121from ea_model.moles3_4.observation.mo_observation import  MO_Observation  
    22 from ascore.utils import has_value 
     22from ascore.utils import has_value, collectionProofHash 
    2323 
    2424''' 
     
    4646        self._geographicExtent_ex_geographicdescription = [] 
    4747        self._geographicExtent_ex_geographicboundingbox = [] 
    48         self.relatedParty = [] 
     48        #self.relatedParty = [] 
    4949        self._permission_md_securityconstraints = None 
    5050        self._permission_md_legalconstraints = None 
     
    289289        return id(self) == id(y) 
    290290 
    291     def __hash__(self): 
    292         return hash(self.__key()) 
     291    def __hash__(self):   
     292        return collectionProofHash(self.__key())       
  • mauRepo/MolesManager/trunk/src/ea_model/moles3_4/observation/mo_observation.py

    r8091 r8147  
    2020 
    2121from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.observation.om_observation import  OM_Observation  
    22 from ascore.utils import has_value 
     22from ascore.utils import has_value, collectionProofHash 
    2323 
    2424''' 
     
    229229 
    230230    def __hash__(self): 
    231         return hash(self.__key()) 
     231        return collectionProofHash(self.__key()) 
  • mauRepo/MolesManager/trunk/src/ea_model/upcomingiso/ci_party.py

    r8091 r8147  
    1919 
    2020 
    21 from ascore.utils import has_value 
     21from ascore.utils import has_value, collectionProofHash 
    2222 
    2323''' 
     
    5656 
    5757    def __hash__(self): 
    58         return hash(self.__key()) 
     58        return collectionProofHash(self.__key()) 
  • mauRepo/MolesManager/trunk/src/ea_model/upcomingiso/ci_responsiblepartyinfo.py

    r8091 r8147  
    1919 
    2020 
    21 from ascore.utils import has_value 
     21from ascore.utils import has_value, collectionProofHash 
    2222 
    2323''' 
     
    5656 
    5757    def __hash__(self): 
    58         return hash(self.__key()) 
     58        return collectionProofHash(self.__key()) 
Note: See TracChangeset for help on using the changeset viewer.