Ignore:
Timestamp:
16/02/12 14:26:42 (8 years ago)
Author:
mnagni
Message:

Played with DOJO
New EA library
Addede CEDA_Process to the migration

Location:
mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_result
Files:
2 edited

Legend:

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

    r8088 r8089  
    2323 
    2424''' 
    25 Created on 10-Feb-2012 12:03:11 
     25Created on 14-Feb-2012 17:19:34 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/ceda_metadatamodel/ceda_result/ceda_result.py

    r8088 r8089  
    2323 
    2424''' 
    25 Created on 10-Feb-2012 12:03:13 
     25Created on 14-Feb-2012 17:19:34 
    2626 
    2727@author: mnagni 
     
    4242        self._mo_result = MO_Result()    
    4343 
     44        self.sample = [] 
    4445        self.segment = [] 
    45         self.sample = [] 
    4646        self.numberOfFiles = None 
    4747        self.curationCategory = None 
     
    5050        self.internalPath = None 
    5151        super(CEDA_Result, self).__init__() 
     52 
     53    @property 
     54    def sample(self):    
     55        return self._mo_result.sample 
     56 
     57    @sample.setter 
     58    def sample(self, value):     
     59            self._mo_result.sample = value 
    5260 
    5361    @property 
     
    6068 
    6169    @property 
    62     def sample(self):    
    63         return self._mo_result.sample 
    64  
    65     @sample.setter 
    66     def sample(self, value):     
    67             self._mo_result.sample = value 
    68  
    69     @property 
    7070    def source(self):    
    7171        return self._mo_result.source 
     
    7676 
    7777    def __key(self): 
    78         return (self.segment, self.sample, self.numberOfFiles, self.curationCategory, self.source, self.volume, self.internalPath) 
     78        return (self.sample, self.segment, self.numberOfFiles, self.curationCategory, self.source, self.volume, self.internalPath) 
    7979 
    8080    def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.