Ignore:
Timestamp:
06/02/12 16:49:57 (8 years ago)
Author:
mnagni
Message:

Imported a new DB library which fixes the MO_ObservationColleciton <--> CEDA_ObservationCollection problem

Location:
mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_absoluteexternalpositionalaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import  DQ_PositionalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:15 
     22Created on 06-Feb-2012 15:59:47 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_positionalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_positionalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_positionalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_positionalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_positionalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_positionalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_accuracyofatimemeasurement.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy import  DQ_TemporalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:17 
     22Created on 06-Feb-2012 15:59:36 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_temporalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_temporalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_temporalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_temporalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_temporalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_temporalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_completeness.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:18 
     22Created on 06-Feb-2012 15:59:45 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_element.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_element.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_element.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_element.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_element.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_element.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_completenesscommission.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_completeness import  DQ_Completeness  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:09 
     22Created on 06-Feb-2012 15:59:45 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_completeness.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_completeness.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_completeness.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_completeness.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_completeness.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_completeness.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_completenessomission.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_completeness import  DQ_Completeness  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:17 
     22Created on 06-Feb-2012 15:59:48 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_completeness.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_completeness.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_completeness.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_completeness.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_completeness.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_completeness.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_conceptualconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency import  DQ_LogicalConsistency  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:15 
     22Created on 06-Feb-2012 15:59:46 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_logicalconsistency.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_logicalconsistency.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_logicalconsistency.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_logicalconsistency.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_logicalconsistency.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_logicalconsistency.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_conformanceresult.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_result import  DQ_Result  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:14 
     22Created on 06-Feb-2012 15:59:42 
    2223 
    2324@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_dataquality.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:14 
     21Created on 06-Feb-2012 15:59:37 
    2122 
    2223@author: mnagni 
     
    3839        self.lineage = None 
    3940        self.scope = None 
     41        self._report_dq_logicalconsistency = [] 
     42        self._report_qe_usability = [] 
     43        self._report_dq_temporalaccuracy = [] 
    4044        self._report_dq_positionalaccuracy = [] 
    41         self._report_dq_logicalconsistency = [] 
    42         self._report_dq_temporalaccuracy = [] 
     45        self._report_dq_thematicaccuracy = [] 
    4346        self._report_dq_completeness = [] 
    44         self._report_qe_usability = [] 
    45         self._report_dq_thematicaccuracy = [] 
    4647        super(DQ_DataQuality, self).__init__() 
    4748 
     
    5253    @property 
    5354    def report(self): 
    54         if(self._report_dq_positionalaccuracy is not None): 
     55        if(has_value(self._report_dq_logicalconsistency)): 
     56            return self._report_dq_logicalconsistency 
     57        if(has_value(self._report_qe_usability)): 
     58            return self._report_qe_usability 
     59        if(has_value(self._report_dq_temporalaccuracy)): 
     60            return self._report_dq_temporalaccuracy 
     61        if(has_value(self._report_dq_positionalaccuracy)): 
    5562            return self._report_dq_positionalaccuracy 
    56         if(self._report_dq_logicalconsistency is not None): 
    57             return self._report_dq_logicalconsistency 
    58         if(self._report_dq_temporalaccuracy is not None): 
    59             return self._report_dq_temporalaccuracy 
    60         if(self._report_dq_completeness is not None): 
     63        if(has_value(self._report_dq_thematicaccuracy)): 
     64            return self._report_dq_thematicaccuracy 
     65        if(has_value(self._report_dq_completeness)): 
    6166            return self._report_dq_completeness 
    62         if(self._report_qe_usability is not None): 
    63             return self._report_qe_usability 
    64         if(self._report_dq_thematicaccuracy is not None): 
    65             return self._report_dq_thematicaccuracy 
    66         return None 
     67        return  [] 
    6768 
    6869    @report.setter 
    6970    def report(self, value): 
    7071        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     72        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency.DQ_LogicalConsistency": 
     73            self._report_dq_logicalconsistency = value 
     74            self._report_qe_usability = None 
     75            self._report_dq_temporalaccuracy = None 
     76            self._report_dq_positionalaccuracy = None 
     77            self._report_dq_thematicaccuracy = None 
     78            self._report_dq_completeness = None 
     79        if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_usability.QE_Usability": 
     80            self._report_qe_usability = value 
     81            self._report_dq_logicalconsistency = None 
     82            self._report_dq_temporalaccuracy = None 
     83            self._report_dq_positionalaccuracy = None 
     84            self._report_dq_thematicaccuracy = None 
     85            self._report_dq_completeness = None 
     86        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy.DQ_TemporalAccuracy": 
     87            self._report_dq_temporalaccuracy = value 
     88            self._report_dq_logicalconsistency = None 
     89            self._report_qe_usability = None 
     90            self._report_dq_positionalaccuracy = None 
     91            self._report_dq_thematicaccuracy = None 
     92            self._report_dq_completeness = None 
    7193        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy.DQ_PositionalAccuracy": 
    7294            self._report_dq_positionalaccuracy = value 
    7395            self._report_dq_logicalconsistency = None 
     96            self._report_qe_usability = None 
    7497            self._report_dq_temporalaccuracy = None 
     98            self._report_dq_thematicaccuracy = None 
    7599            self._report_dq_completeness = None 
     100        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy.DQ_ThematicAccuracy": 
     101            self._report_dq_thematicaccuracy = value 
     102            self._report_dq_logicalconsistency = None 
    76103            self._report_qe_usability = None 
    77             self._report_dq_thematicaccuracy = None 
    78         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency.DQ_LogicalConsistency": 
    79             self._report_dq_logicalconsistency = value 
     104            self._report_dq_temporalaccuracy = None 
    80105            self._report_dq_positionalaccuracy = None 
    81             self._report_dq_temporalaccuracy = None 
    82106            self._report_dq_completeness = None 
    83             self._report_qe_usability = None 
    84             self._report_dq_thematicaccuracy = None 
    85         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy.DQ_TemporalAccuracy": 
    86             self._report_dq_temporalaccuracy = value 
    87             self._report_dq_positionalaccuracy = None 
    88             self._report_dq_logicalconsistency = None 
    89             self._report_dq_completeness = None 
    90             self._report_qe_usability = None 
    91             self._report_dq_thematicaccuracy = None 
    92107        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_completeness.DQ_Completeness": 
    93108            self._report_dq_completeness = value 
     109            self._report_dq_logicalconsistency = None 
     110            self._report_qe_usability = None 
     111            self._report_dq_temporalaccuracy = None 
    94112            self._report_dq_positionalaccuracy = None 
    95             self._report_dq_logicalconsistency = None 
    96             self._report_dq_temporalaccuracy = None 
    97             self._report_qe_usability = None 
    98113            self._report_dq_thematicaccuracy = None 
    99         if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_usability.QE_Usability": 
    100             self._report_qe_usability = value 
    101             self._report_dq_positionalaccuracy = None 
    102             self._report_dq_logicalconsistency = None 
    103             self._report_dq_temporalaccuracy = None 
    104             self._report_dq_completeness = None 
    105             self._report_dq_thematicaccuracy = None 
    106         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy.DQ_ThematicAccuracy": 
    107             self._report_dq_thematicaccuracy = value 
    108             self._report_dq_positionalaccuracy = None 
    109             self._report_dq_logicalconsistency = None 
    110             self._report_dq_temporalaccuracy = None 
    111             self._report_dq_completeness = None 
    112             self._report_qe_usability = None 
    113114 
    114115    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_domainconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency import  DQ_LogicalConsistency  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:10 
     22Created on 06-Feb-2012 15:59:47 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_logicalconsistency.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_logicalconsistency.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_logicalconsistency.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_logicalconsistency.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_logicalconsistency.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_logicalconsistency.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_element.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:17 
     21Created on 06-Feb-2012 15:59:44 
    2122 
    2223@author: mnagni 
     
    3940        self.nameOfMeasure = [] 
    4041        self.evaluationMethodDescription = None 
    41         self._result_dq_conformanceresult = [] 
    4242        self._result_qe_coverageresult = [] 
    4343        self._result_dq_quantitativeresult = [] 
     44        self._result_dq_conformanceresult = [] 
     45        self.evaluationProcedure = None 
    4446        self.measureIdentification = None 
    45         self.evaluationProcedure = None 
     47        self.dateTime = [] 
    4648        self.measureDescription = None 
    47         self.dateTime = [] 
    4849        super(DQ_Element, self).__init__() 
    4950 
     
    5657    @property 
    5758    def result(self): 
    58         if(self._result_dq_conformanceresult is not None): 
     59        if(has_value(self._result_qe_coverageresult)): 
     60            return self._result_qe_coverageresult 
     61        if(has_value(self._result_dq_quantitativeresult)): 
     62            return self._result_dq_quantitativeresult 
     63        if(has_value(self._result_dq_conformanceresult)): 
    5964            return self._result_dq_conformanceresult 
    60         if(self._result_qe_coverageresult is not None): 
    61             return self._result_qe_coverageresult 
    62         if(self._result_dq_quantitativeresult is not None): 
    63             return self._result_dq_quantitativeresult 
    64         return None 
     65        return  [] 
    6566 
    6667    @result.setter 
    6768    def result(self, value): 
    6869        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     70        if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_coverageresult.QE_CoverageResult": 
     71            self._result_qe_coverageresult = value 
     72            self._result_dq_quantitativeresult = None 
     73            self._result_dq_conformanceresult = None 
     74        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_quantitativeresult.DQ_QuantitativeResult": 
     75            self._result_dq_quantitativeresult = value 
     76            self._result_qe_coverageresult = None 
     77            self._result_dq_conformanceresult = None 
    6978        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_conformanceresult.DQ_ConformanceResult": 
    7079            self._result_dq_conformanceresult = value 
    7180            self._result_qe_coverageresult = None 
    7281            self._result_dq_quantitativeresult = None 
    73         if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_coverageresult.QE_CoverageResult": 
    74             self._result_qe_coverageresult = value 
    75             self._result_dq_conformanceresult = None 
    76             self._result_dq_quantitativeresult = None 
    77         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_quantitativeresult.DQ_QuantitativeResult": 
    78             self._result_dq_quantitativeresult = value 
    79             self._result_dq_conformanceresult = None 
    80             self._result_qe_coverageresult = None 
    8182 
    8283 
     
    8990 
    9091    def __key(self): 
    91         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.measureDescription, self.dateTime) 
     92        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    9293 
    9394    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_evaluationmethodtypecode.py

    r8086 r8087  
    1717 
    1818from ascore.ascodelist import  ASCodeList  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:12 
     22Created on 06-Feb-2012 15:59:46 
    2223 
    2324@author: mnagni 
     
    3132        This class has been genererated automatically using the Apache Velocity project. 
    3233    ''' 
    33     cl_indirect = "indirect"  
    3434    cl_directinternal = "directInternal"  
    3535    cl_directexternal = "directExternal"  
     36    cl_indirect = "indirect"  
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_formatconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency import  DQ_LogicalConsistency  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:13 
     22Created on 06-Feb-2012 15:59:43 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_logicalconsistency.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_logicalconsistency.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_logicalconsistency.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_logicalconsistency.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_logicalconsistency.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_logicalconsistency.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_griddeddatapositionalaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import  DQ_PositionalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:19 
     22Created on 06-Feb-2012 15:59:42 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_positionalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_positionalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_positionalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_positionalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_positionalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_positionalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_logicalconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:18 
     22Created on 06-Feb-2012 15:59:43 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_element.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_element.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_element.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_element.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_element.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_element.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_nonquantitativeattributeaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy import  DQ_ThematicAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:14 
     22Created on 06-Feb-2012 15:59:44 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_thematicaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_thematicaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_thematicaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_thematicaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_thematicaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_thematicaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_positionalaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:12 
     22Created on 06-Feb-2012 15:59:37 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_element.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_element.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_element.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_element.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_element.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_element.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_quantitativeattributeaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy import  DQ_ThematicAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:13 
     22Created on 06-Feb-2012 15:59:39 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_thematicaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_thematicaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_thematicaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_thematicaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_thematicaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_thematicaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_quantitativeresult.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_result import  DQ_Result  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:12 
     22Created on 06-Feb-2012 15:59:38 
    2223 
    2324@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_relativeinternalpositionalaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import  DQ_PositionalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:10 
     22Created on 06-Feb-2012 15:59:47 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_positionalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_positionalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_positionalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_positionalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_positionalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_positionalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_result.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:18 
     21Created on 06-Feb-2012 15:59:44 
    2122 
    2223@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_scope.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:08 
     21Created on 06-Feb-2012 15:59:45 
    2122 
    2223@author: mnagni 
     
    3738 
    3839        self.extent = None 
     40        self.level = None 
    3941        self.levelDescription = [] 
    40         self.level = None 
    4142        super(DQ_Scope, self).__init__() 
    4243 
     
    4849 
    4950    def __key(self): 
    50         return (self.extent, self.levelDescription, self.level) 
     51        return (self.extent, self.level, self.levelDescription) 
    5152 
    5253    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_temporalaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:09 
     22Created on 06-Feb-2012 15:59:47 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_element.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_element.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_element.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_element.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_element.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_element.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_temporalconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy import  DQ_TemporalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:17 
     22Created on 06-Feb-2012 15:59:43 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_temporalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_temporalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_temporalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_temporalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_temporalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_temporalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_temporalvalidity.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy import  DQ_TemporalAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:13 
     22Created on 06-Feb-2012 15:59:44 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_temporalaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_temporalaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_temporalaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_temporalaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_temporalaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_temporalaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_thematicaccuracy.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_element import  DQ_Element  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:12 
     22Created on 06-Feb-2012 15:59:38 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_element.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_element.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_element.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_element.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_element.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_element.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_thematicclassificationcorrectness.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy import  DQ_ThematicAccuracy  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:12 
     22Created on 06-Feb-2012 15:59:46 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_thematicaccuracy.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_thematicaccuracy.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_thematicaccuracy.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_thematicaccuracy.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_thematicaccuracy.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_thematicaccuracy.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/dq_topologicalconsistency.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency import  DQ_LogicalConsistency  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:14 
     22Created on 06-Feb-2012 15:59:49 
    2223 
    2324@author: mnagni 
     
    4142        self.nameOfMeasure = [] 
    4243        self.evaluationMethodDescription = None 
    43         self._result_dq_conformanceresult = [] 
    4444        self._result_qe_coverageresult = [] 
    4545        self._result_dq_quantitativeresult = [] 
     46        self._result_dq_conformanceresult = [] 
     47        self.evaluationProcedure = None 
    4648        self.measureIdentification = None 
    47         self.evaluationProcedure = None 
    4849        self.dateTime = [] 
    4950        self.measureDescription = None 
     
    8384 
    8485    @property 
     86    def evaluationProcedure(self): 
     87        return self._dq_logicalconsistency.evaluationProcedure 
     88 
     89    @evaluationProcedure.setter 
     90    def evaluationProcedure(self, value): 
     91            self._dq_logicalconsistency.evaluationProcedure = value 
     92 
     93    @property 
    8594    def measureIdentification(self): 
    8695        return self._dq_logicalconsistency.measureIdentification 
     
    8998    def measureIdentification(self, value): 
    9099            self._dq_logicalconsistency.measureIdentification = value 
    91  
    92     @property 
    93     def evaluationProcedure(self): 
    94         return self._dq_logicalconsistency.evaluationProcedure 
    95  
    96     @evaluationProcedure.setter 
    97     def evaluationProcedure(self, value): 
    98             self._dq_logicalconsistency.evaluationProcedure = value 
    99100 
    100101    @property 
     
    115116 
    116117    def __key(self): 
    117         return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.measureIdentification, self.evaluationProcedure, self.dateTime, self.measureDescription) 
     118        return (self.evaluationMethodType, self.nameOfMeasure, self.evaluationMethodDescription, self.result, self.evaluationProcedure, self.measureIdentification, self.dateTime, self.measureDescription) 
    118119 
    119120    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/li_lineage.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:14 
     21Created on 06-Feb-2012 15:59:45 
    2122 
    2223@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/li_processstep.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:14 
     21Created on 06-Feb-2012 15:59:45 
    2122 
    2223@author: mnagni 
     
    3637    def __init__(self): 
    3738 
     39        self.description = None 
    3840        self.rationale = None 
    39         self.description = None 
    4041        self.processor = [] 
    4142        self.source = [] 
     
    5455 
    5556    def __key(self): 
    56         return (self.rationale, self.description, self.processor, self.source, self.dateTime) 
     57        return (self.description, self.rationale, self.processor, self.source, self.dateTime) 
    5758 
    5859    def __eq__(x, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19115_2006_metadata_corrigendum/data_quality_information/li_source.py

    r8086 r8087  
    1616 
    1717 
     18from ascore.utils import has_value 
    1819 
    1920''' 
    20 Created on 03-Feb-2012 10:41:18 
     21Created on 06-Feb-2012 15:59:45 
    2122 
    2223@author: mnagni 
Note: See TracChangeset for help on using the changeset viewer.