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


Location:
mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements
Files:
54 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/borehole.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:34 
     25Created on 16-Feb-2012 16:18:02 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/flightline.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:37 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4242        self._trajectory = Trajectory()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/interval.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:30 
     25Created on 16-Feb-2012 16:18:08 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/lidarcloud.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsolid = SF_SamplingSolid()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/maphorizon.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:31 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/mine.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:35 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsolid = SF_SamplingSolid()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/minelevel.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:37 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/observationwell.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/outcrop.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:28 
     24Created on 16-Feb-2012 16:18:10 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/profile.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/quadrat.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:28 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/scene.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:38 
     25Created on 16-Feb-2012 16:18:03 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/section.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:37 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/shipstrack.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:37 
     25Created on 16-Feb-2012 16:18:07 
    2626 
    2727@author: mnagni 
     
    4242        self._trajectory = Trajectory()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/sounding.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:09 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingpoint = SF_SamplingPoint()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/station.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:09 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingpoint = SF_SamplingPoint()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/swath.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingsurface = SF_SamplingSurface()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/trajectory.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:04 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/domain_specific_sampling_features/traverse.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:35 
     25Created on 16-Feb-2012 16:18:12 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingcurve = SF_SamplingCurve()      
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/examples/aquifer.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:37 
     24Created on 16-Feb-2012 16:18:11 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/examples/pallet.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:30 
     24Created on 16-Feb-2012 16:18:11 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/examples/waterbody.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:26 
     24Created on 16-Feb-2012 16:18:05 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/examples/well.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:31 
     24Created on 16-Feb-2012 16:18:07 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/general_feature_instance/gfi_domainfeature.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:30 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4242        self._gfi_feature = GFI_Feature()        
    4343 
     44        self._propertyValueProvider_om_discretecoverageobservation = [] 
     45        self._propertyValueProvider_om_temporalobservation = [] 
    4446        self._propertyValueProvider_om_measurement = [] 
     47        self._propertyValueProvider_mo_observation = [] 
     48        self._propertyValueProvider_om_truthobservation = [] 
     49        self._propertyValueProvider_om_countobservation = [] 
     50        self._propertyValueProvider_om_categoryobservation = [] 
     51        self._propertyValueProvider_om_geometryobservation = [] 
    4552        self._propertyValueProvider_om_complexobservation = [] 
    46         self._propertyValueProvider_om_countobservation = [] 
    47         self._propertyValueProvider_om_temporalobservation = [] 
    48         self._propertyValueProvider_mo_observation = [] 
    49         self._propertyValueProvider_om_geometryobservation = [] 
    50         self._propertyValueProvider_om_truthobservation = [] 
    51         self._propertyValueProvider_om_categoryobservation = [] 
    52         self._propertyValueProvider_om_discretecoverageobservation = [] 
    5353        super(GFI_DomainFeature, self).__init__() 
    5454 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/general_feature_instance/gfi_feature.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:30 
     24Created on 16-Feb-2012 16:18:10 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._propertyValueProvider_om_discretecoverageobservation = [] 
     43        self._propertyValueProvider_om_temporalobservation = [] 
    4244        self._propertyValueProvider_om_measurement = [] 
     45        self._propertyValueProvider_mo_observation = [] 
     46        self._propertyValueProvider_om_truthobservation = [] 
     47        self._propertyValueProvider_om_countobservation = [] 
     48        self._propertyValueProvider_om_categoryobservation = [] 
     49        self._propertyValueProvider_om_geometryobservation = [] 
    4350        self._propertyValueProvider_om_complexobservation = [] 
    44         self._propertyValueProvider_om_countobservation = [] 
    45         self._propertyValueProvider_om_temporalobservation = [] 
    46         self._propertyValueProvider_mo_observation = [] 
    47         self._propertyValueProvider_om_geometryobservation = [] 
    48         self._propertyValueProvider_om_truthobservation = [] 
    49         self._propertyValueProvider_om_categoryobservation = [] 
    50         self._propertyValueProvider_om_discretecoverageobservation = [] 
    5151        super(GFI_Feature, self).__init__() 
    5252 
     
    5454    def propertyValueProvider(self):     
    5555        ret = [] 
     56        for item in self._propertyValueProvider_om_discretecoverageobservation: 
     57            ret.append(item) 
     58        for item in self._propertyValueProvider_om_temporalobservation: 
     59            ret.append(item) 
    5660        for item in self._propertyValueProvider_om_measurement: 
    5761            ret.append(item) 
    58         for item in self._propertyValueProvider_om_complexobservation: 
     62        for item in self._propertyValueProvider_mo_observation: 
     63            ret.append(item) 
     64        for item in self._propertyValueProvider_om_truthobservation: 
    5965            ret.append(item) 
    6066        for item in self._propertyValueProvider_om_countobservation: 
    6167            ret.append(item) 
    62         for item in self._propertyValueProvider_om_temporalobservation: 
    63             ret.append(item) 
    64         for item in self._propertyValueProvider_mo_observation: 
     68        for item in self._propertyValueProvider_om_categoryobservation: 
    6569            ret.append(item) 
    6670        for item in self._propertyValueProvider_om_geometryobservation: 
    6771            ret.append(item) 
    68         for item in self._propertyValueProvider_om_truthobservation: 
    69             ret.append(item) 
    70         for item in self._propertyValueProvider_om_categoryobservation: 
    71             ret.append(item) 
    72         for item in self._propertyValueProvider_om_discretecoverageobservation: 
     72        for item in self._propertyValueProvider_om_complexobservation: 
    7373            ret.append(item) 
    7474        return ret 
     
    7777    def propertyValueProvider(self, value):      
    7878        if isinstance(value, list): 
     79            self._propertyValueProvider_om_discretecoverageobservation[:] 
     80            self._propertyValueProvider_om_temporalobservation[:] 
    7981            self._propertyValueProvider_om_measurement[:] 
     82            self._propertyValueProvider_mo_observation[:] 
     83            self._propertyValueProvider_om_truthobservation[:] 
     84            self._propertyValueProvider_om_countobservation[:] 
     85            self._propertyValueProvider_om_categoryobservation[:] 
     86            self._propertyValueProvider_om_geometryobservation[:] 
    8087            self._propertyValueProvider_om_complexobservation[:] 
    81             self._propertyValueProvider_om_countobservation[:] 
    82             self._propertyValueProvider_om_temporalobservation[:] 
    83             self._propertyValueProvider_mo_observation[:] 
    84             self._propertyValueProvider_om_geometryobservation[:] 
    85             self._propertyValueProvider_om_truthobservation[:] 
    86             self._propertyValueProvider_om_categoryobservation[:] 
    87             self._propertyValueProvider_om_discretecoverageobservation[:] 
    8888            for item in value: 
    8989                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     90                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
     91                    self._propertyValueProvider_om_discretecoverageobservation.append(item) 
     92                    continue 
     93                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
     94                    self._propertyValueProvider_om_temporalobservation.append(item) 
     95                    continue 
    9096                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.measurement.om_measurement.OM_Measurement": 
    9197                    self._propertyValueProvider_om_measurement.append(item) 
    9298                    continue 
    93                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
    94                     self._propertyValueProvider_om_complexobservation.append(item) 
     99                if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
     100                    self._propertyValueProvider_mo_observation.append(item) 
     101                    continue 
     102                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
     103                    self._propertyValueProvider_om_truthobservation.append(item) 
    95104                    continue 
    96105                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
    97106                    self._propertyValueProvider_om_countobservation.append(item) 
    98107                    continue 
    99                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
    100                     self._propertyValueProvider_om_temporalobservation.append(item) 
    101                     continue 
    102                 if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
    103                     self._propertyValueProvider_mo_observation.append(item) 
     108                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
     109                    self._propertyValueProvider_om_categoryobservation.append(item) 
    104110                    continue 
    105111                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
    106112                    self._propertyValueProvider_om_geometryobservation.append(item) 
    107113                    continue 
    108                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
    109                     self._propertyValueProvider_om_truthobservation.append(item) 
    110                     continue 
    111                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
    112                     self._propertyValueProvider_om_categoryobservation.append(item) 
    113                     continue 
    114                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
    115                     self._propertyValueProvider_om_discretecoverageobservation.append(item) 
     114                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
     115                    self._propertyValueProvider_om_complexobservation.append(item) 
    116116                    continue 
    117117 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/categoryobservation/om_categoryobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:08 
    2626 
    2727@author: mnagni 
     
    4343 
    4444        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
    4546        self._featureOfInterest_mo_featureofinterest = None 
    46         self._featureOfInterest_sf_samplingfeature = None 
    4747        self._featureOfInterest_gfi_domainfeature = None 
    48         self._phenomenonTime_tm_complex = None 
    49         self._phenomenonTime_tm_primitive = None 
    50         self._relatedObservation_om_measurement = [] 
    51         self._relatedObservation_om_complexobservation = [] 
    52         self._relatedObservation_om_countobservation = [] 
    53         self._relatedObservation_om_temporalobservation = [] 
    54         self._relatedObservation_mo_observation = [] 
    55         self._relatedObservation_om_geometryobservation = [] 
    56         self._relatedObservation_om_truthobservation = [] 
    57         self._relatedObservation_om_categoryobservation = [] 
    58         self._relatedObservation_om_discretecoverageobservation = [] 
     48        self._procedure_ceda_compositeprocess = None 
    5949        self._procedure_ceda_acquisition = None 
    6050        self._procedure_ceda_processing = None 
    61         self._procedure_ceda_compositeprocess = None 
    62         self.procedure = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
    6362        self.result = None 
    6463        self.resultTime = None 
    6564        self.validTime = None 
    66         self._resultQuality_dq_completeness = [] 
    67         self._resultQuality_qe_usability = [] 
    68         self._resultQuality_dq_temporalaccuracy = [] 
    6965        self._resultQuality_dq_logicalconsistency = [] 
    7066        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    7169        self._resultQuality_dq_positionalaccuracy = [] 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._observedProperty_gf_attributetype = None 
    7272        self._observedProperty_gf_associationrole = None 
    73         self._observedProperty_gf_attributetype = None 
    7473        self._observedProperty_gf_operation = None 
    7574        self.parameter = [] 
     
    9392 
    9493    @property 
    95     def phenomenonTime(self):    
    96         return self._om_observation.phenomenonTime 
     94    def procedure(self):         
     95        return self._om_observation.procedure 
    9796 
    98     @phenomenonTime.setter 
    99     def phenomenonTime(self, value):     
    100             self._om_observation.phenomenonTime = value 
     97    @procedure.setter 
     98    def procedure(self, value):  
     99            self._om_observation.procedure = value 
    101100 
    102101    @property 
     
    109108 
    110109    @property 
    111     def procedure(self):         
    112         return self._om_observation.procedure 
     110    def phenomenonTime(self):    
     111        return self._om_observation.phenomenonTime 
    113112 
    114     @procedure.setter 
    115     def procedure(self, value):  
    116             self._om_observation.procedure = value 
    117  
    118     @property 
    119     def procedure(self):         
    120         return self._om_observation.procedure 
    121  
    122     @procedure.setter 
    123     def procedure(self, value):  
    124             self._om_observation.procedure = value 
     113    @phenomenonTime.setter 
     114    def phenomenonTime(self, value):     
     115            self._om_observation.phenomenonTime = value 
    125116 
    126117    @property 
     
    165156 
    166157    def __key(self): 
    167         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
     158        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    168159 
    169160    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/complexobservation/om_complexobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:28 
     25Created on 16-Feb-2012 16:18:09 
    2626 
    2727@author: mnagni 
     
    4343 
    4444        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
    4546        self._featureOfInterest_mo_featureofinterest = None 
    46         self._featureOfInterest_sf_samplingfeature = None 
    4747        self._featureOfInterest_gfi_domainfeature = None 
    48         self._phenomenonTime_tm_complex = None 
    49         self._phenomenonTime_tm_primitive = None 
    50         self._relatedObservation_om_measurement = [] 
    51         self._relatedObservation_om_complexobservation = [] 
    52         self._relatedObservation_om_countobservation = [] 
    53         self._relatedObservation_om_temporalobservation = [] 
    54         self._relatedObservation_mo_observation = [] 
    55         self._relatedObservation_om_geometryobservation = [] 
    56         self._relatedObservation_om_truthobservation = [] 
    57         self._relatedObservation_om_categoryobservation = [] 
    58         self._relatedObservation_om_discretecoverageobservation = [] 
     48        self._procedure_ceda_compositeprocess = None 
    5949        self._procedure_ceda_acquisition = None 
    6050        self._procedure_ceda_processing = None 
    61         self._procedure_ceda_compositeprocess = None 
    62         self.procedure = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
    6362        self.result = None 
    6463        self.resultTime = None 
    6564        self.validTime = None 
    66         self._resultQuality_dq_completeness = [] 
    67         self._resultQuality_qe_usability = [] 
    68         self._resultQuality_dq_temporalaccuracy = [] 
    6965        self._resultQuality_dq_logicalconsistency = [] 
    7066        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    7169        self._resultQuality_dq_positionalaccuracy = [] 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._observedProperty_gf_attributetype = None 
    7272        self._observedProperty_gf_associationrole = None 
    73         self._observedProperty_gf_attributetype = None 
    7473        self._observedProperty_gf_operation = None 
    7574        self.parameter = [] 
     
    9392 
    9493    @property 
    95     def phenomenonTime(self):    
    96         return self._om_observation.phenomenonTime 
     94    def procedure(self):         
     95        return self._om_observation.procedure 
    9796 
    98     @phenomenonTime.setter 
    99     def phenomenonTime(self, value):     
    100             self._om_observation.phenomenonTime = value 
     97    @procedure.setter 
     98    def procedure(self, value):  
     99            self._om_observation.procedure = value 
    101100 
    102101    @property 
     
    109108 
    110109    @property 
    111     def procedure(self):         
    112         return self._om_observation.procedure 
     110    def phenomenonTime(self):    
     111        return self._om_observation.phenomenonTime 
    113112 
    114     @procedure.setter 
    115     def procedure(self, value):  
    116             self._om_observation.procedure = value 
    117  
    118     @property 
    119     def procedure(self):         
    120         return self._om_observation.procedure 
    121  
    122     @procedure.setter 
    123     def procedure(self, value):  
    124             self._om_observation.procedure = value 
     113    @phenomenonTime.setter 
     114    def phenomenonTime(self, value):     
     115            self._om_observation.phenomenonTime = value 
    125116 
    126117    @property 
     
    165156 
    166157    def __key(self): 
    167         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
     158        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    168159 
    169160    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/countobservation/om_countobservation.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 
     
    4343 
    4444        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
    4546        self._featureOfInterest_mo_featureofinterest = None 
    46         self._featureOfInterest_sf_samplingfeature = None 
    4747        self._featureOfInterest_gfi_domainfeature = None 
    48         self._phenomenonTime_tm_complex = None 
    49         self._phenomenonTime_tm_primitive = None 
    50         self._relatedObservation_om_measurement = [] 
    51         self._relatedObservation_om_complexobservation = [] 
    52         self._relatedObservation_om_countobservation = [] 
    53         self._relatedObservation_om_temporalobservation = [] 
    54         self._relatedObservation_mo_observation = [] 
    55         self._relatedObservation_om_geometryobservation = [] 
    56         self._relatedObservation_om_truthobservation = [] 
    57         self._relatedObservation_om_categoryobservation = [] 
    58         self._relatedObservation_om_discretecoverageobservation = [] 
     48        self._procedure_ceda_compositeprocess = None 
    5949        self._procedure_ceda_acquisition = None 
    6050        self._procedure_ceda_processing = None 
    61         self._procedure_ceda_compositeprocess = None 
    62         self.procedure = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
    6362        self.result = None 
    6463        self.resultTime = None 
    6564        self.validTime = None 
    66         self._resultQuality_dq_completeness = [] 
    67         self._resultQuality_qe_usability = [] 
    68         self._resultQuality_dq_temporalaccuracy = [] 
    6965        self._resultQuality_dq_logicalconsistency = [] 
    7066        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    7169        self._resultQuality_dq_positionalaccuracy = [] 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._observedProperty_gf_attributetype = None 
    7272        self._observedProperty_gf_associationrole = None 
    73         self._observedProperty_gf_attributetype = None 
    7473        self._observedProperty_gf_operation = None 
    7574        self.parameter = [] 
     
    9392 
    9493    @property 
    95     def phenomenonTime(self):    
    96         return self._om_observation.phenomenonTime 
     94    def procedure(self):         
     95        return self._om_observation.procedure 
    9796 
    98     @phenomenonTime.setter 
    99     def phenomenonTime(self, value):     
    100             self._om_observation.phenomenonTime = value 
     97    @procedure.setter 
     98    def procedure(self, value):  
     99            self._om_observation.procedure = value 
    101100 
    102101    @property 
     
    109108 
    110109    @property 
    111     def procedure(self):         
    112         return self._om_observation.procedure 
     110    def phenomenonTime(self):    
     111        return self._om_observation.phenomenonTime 
    113112 
    114     @procedure.setter 
    115     def procedure(self, value):  
    116             self._om_observation.procedure = value 
    117  
    118     @property 
    119     def procedure(self):         
    120         return self._om_observation.procedure 
    121  
    122     @procedure.setter 
    123     def procedure(self, value):  
    124             self._om_observation.procedure = value 
     113    @phenomenonTime.setter 
     114    def phenomenonTime(self, value):     
     115            self._om_observation.phenomenonTime = value 
    125116 
    126117    @property 
     
    165156 
    166157    def __key(self): 
    167         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
     158        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    168159 
    169160    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/coverageobservation/om_discretecoverageobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:36 
     25Created on 16-Feb-2012 16:18:09 
    2626 
    2727@author: mnagni 
     
    4242        self._om_observation = OM_Observation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
     46        self._featureOfInterest_mo_featureofinterest = None 
     47        self._featureOfInterest_gfi_domainfeature = None 
     48        self._procedure_ceda_compositeprocess = None 
    4549        self._procedure_ceda_acquisition = None 
    4650        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
     62        self.result = None 
     63        self._result_cv_discretegridpointcoverage = None 
    4864        self._result_cvt_discretetimeinstantcoverage = None 
    4965        self._result_cv_discretesurfacecoverage = None 
    50         self._result_cv_discretesolidcoverage = None 
    51         self._result_cv_discretegridpointcoverage = None 
    5266        self._result_cv_discretecurvecoverage = None 
    5367        self._result_cv_discretepointcoverage = None 
    54         self.result = None 
     68        self._result_cv_discretesolidcoverage = None 
    5569        self.resultTime = None 
     70        self.validTime = None 
     71        self._resultQuality_dq_logicalconsistency = [] 
     72        self._resultQuality_dq_thematicaccuracy = [] 
     73        self._resultQuality_qe_usability = [] 
     74        self._resultQuality_dq_completeness = [] 
     75        self._resultQuality_dq_positionalaccuracy = [] 
     76        self._resultQuality_dq_temporalaccuracy = [] 
     77        self._observedProperty_gf_attributetype = None 
    5678        self._observedProperty_gf_associationrole = None 
    57         self._observedProperty_gf_attributetype = None 
    5879        self._observedProperty_gf_operation = None 
    5980        self.parameter = [] 
    60         self.metadata = None 
    61         self._featureOfInterest_mo_featureofinterest = None 
    62         self._featureOfInterest_sf_samplingfeature = None 
    63         self._featureOfInterest_gfi_domainfeature = None 
    64         self._relatedObservation_om_measurement = [] 
    65         self._relatedObservation_om_complexobservation = [] 
    66         self._relatedObservation_om_countobservation = [] 
    67         self._relatedObservation_om_temporalobservation = [] 
    68         self._relatedObservation_mo_observation = [] 
    69         self._relatedObservation_om_geometryobservation = [] 
    70         self._relatedObservation_om_truthobservation = [] 
    71         self._relatedObservation_om_categoryobservation = [] 
    72         self._relatedObservation_om_discretecoverageobservation = [] 
    73         self._phenomenonTime_tm_complex = None 
    74         self._phenomenonTime_tm_primitive = None 
    75         self._resultQuality_dq_completeness = [] 
    76         self._resultQuality_qe_usability = [] 
    77         self._resultQuality_dq_temporalaccuracy = [] 
    78         self._resultQuality_dq_logicalconsistency = [] 
    79         self._resultQuality_dq_thematicaccuracy = [] 
    80         self._resultQuality_dq_positionalaccuracy = [] 
    81         self.validTime = None 
    8281        super(OM_DiscreteCoverageObservation, self).__init__() 
     82 
     83    @property 
     84    def metadata(self):  
     85        return self._om_observation.metadata 
     86 
     87    @metadata.setter 
     88    def metadata(self, value):   
     89            self._om_observation.metadata = value 
     90 
     91    @property 
     92    def featureOfInterest(self):         
     93        return self._om_observation.featureOfInterest 
     94 
     95    @featureOfInterest.setter 
     96    def featureOfInterest(self, value):  
     97            self._om_observation.featureOfInterest = value 
    8398 
    8499    @property 
     
    91106 
    92107    @property 
    93     def procedure(self):         
    94         return self._om_observation.procedure 
    95  
    96     @procedure.setter 
    97     def procedure(self, value):  
    98             self._om_observation.procedure = value 
     108    def relatedObservation(self):        
     109        return self._om_observation.relatedObservation 
     110 
     111    @relatedObservation.setter 
     112    def relatedObservation(self, value):         
     113            self._om_observation.relatedObservation = value 
     114 
     115    @property 
     116    def phenomenonTime(self):    
     117        return self._om_observation.phenomenonTime 
     118 
     119    @phenomenonTime.setter 
     120    def phenomenonTime(self, value):     
     121            self._om_observation.phenomenonTime = value 
    99122 
    100123    @property 
    101124    def result(self):    
     125        return self._om_observation.result 
     126 
     127    @result.setter 
     128    def result(self, value):     
     129            self._om_observation.result = value 
     130 
     131    @property 
     132    def result(self):    
     133        if(has_value(self._result_cv_discretegridpointcoverage)): 
     134            return self._result_cv_discretegridpointcoverage 
    102135        if(has_value(self._result_cvt_discretetimeinstantcoverage)): 
    103136            return self._result_cvt_discretetimeinstantcoverage 
    104137        if(has_value(self._result_cv_discretesurfacecoverage)): 
    105138            return self._result_cv_discretesurfacecoverage 
    106         if(has_value(self._result_cv_discretesolidcoverage)): 
    107             return self._result_cv_discretesolidcoverage 
    108         if(has_value(self._result_cv_discretegridpointcoverage)): 
    109             return self._result_cv_discretegridpointcoverage 
    110139        if(has_value(self._result_cv_discretecurvecoverage)): 
    111140            return self._result_cv_discretecurvecoverage 
    112141        if(has_value(self._result_cv_discretepointcoverage)): 
    113142            return self._result_cv_discretepointcoverage 
     143        if(has_value(self._result_cv_discretesolidcoverage)): 
     144            return self._result_cv_discretesolidcoverage 
    114145        return  None 
    115146 
     
    117148    def result(self, value):     
    118149        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     150        if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretegridpointcoverage.CV_DiscreteGridPointCoverage": 
     151            self._result_cv_discretegridpointcoverage = value 
     152            self._result_cvt_discretetimeinstantcoverage = None 
     153            self._result_cv_discretesurfacecoverage = None 
     154            self._result_cv_discretecurvecoverage = None 
     155            self._result_cv_discretepointcoverage = None 
     156            self._result_cv_discretesolidcoverage = None 
    119157        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.temporal_coverage.cvt_discretetimeinstantcoverage.CVT_DiscreteTimeInstantCoverage": 
    120158            self._result_cvt_discretetimeinstantcoverage = value 
    121             self._result_cv_discretesurfacecoverage = None 
    122             self._result_cv_discretesolidcoverage = None 
    123             self._result_cv_discretegridpointcoverage = None 
    124             self._result_cv_discretecurvecoverage = None 
    125             self._result_cv_discretepointcoverage = None 
     159            self._result_cv_discretegridpointcoverage = None 
     160            self._result_cv_discretesurfacecoverage = None 
     161            self._result_cv_discretecurvecoverage = None 
     162            self._result_cv_discretepointcoverage = None 
     163            self._result_cv_discretesolidcoverage = None 
    126164        if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretesurfacecoverage.CV_DiscreteSurfaceCoverage": 
    127165            self._result_cv_discretesurfacecoverage = value 
    128             self._result_cvt_discretetimeinstantcoverage = None 
    129             self._result_cv_discretesolidcoverage = None 
    130             self._result_cv_discretegridpointcoverage = None 
    131             self._result_cv_discretecurvecoverage = None 
    132             self._result_cv_discretepointcoverage = None 
     166            self._result_cv_discretegridpointcoverage = None 
     167            self._result_cvt_discretetimeinstantcoverage = None 
     168            self._result_cv_discretecurvecoverage = None 
     169            self._result_cv_discretepointcoverage = None 
     170            self._result_cv_discretesolidcoverage = None 
     171        if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretecurvecoverage.CV_DiscreteCurveCoverage": 
     172            self._result_cv_discretecurvecoverage = value 
     173            self._result_cv_discretegridpointcoverage = None 
     174            self._result_cvt_discretetimeinstantcoverage = None 
     175            self._result_cv_discretesurfacecoverage = None 
     176            self._result_cv_discretepointcoverage = None 
     177            self._result_cv_discretesolidcoverage = None 
     178        if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretepointcoverage.CV_DiscretePointCoverage": 
     179            self._result_cv_discretepointcoverage = value 
     180            self._result_cv_discretegridpointcoverage = None 
     181            self._result_cvt_discretetimeinstantcoverage = None 
     182            self._result_cv_discretesurfacecoverage = None 
     183            self._result_cv_discretecurvecoverage = None 
     184            self._result_cv_discretesolidcoverage = None 
    133185        if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretesolidcoverage.CV_DiscreteSolidCoverage": 
    134186            self._result_cv_discretesolidcoverage = value 
    135             self._result_cvt_discretetimeinstantcoverage = None 
    136             self._result_cv_discretesurfacecoverage = None 
    137             self._result_cv_discretegridpointcoverage = None 
    138             self._result_cv_discretecurvecoverage = None 
    139             self._result_cv_discretepointcoverage = None 
    140         if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretegridpointcoverage.CV_DiscreteGridPointCoverage": 
    141             self._result_cv_discretegridpointcoverage = value 
    142             self._result_cvt_discretetimeinstantcoverage = None 
    143             self._result_cv_discretesurfacecoverage = None 
    144             self._result_cv_discretesolidcoverage = None 
    145             self._result_cv_discretecurvecoverage = None 
    146             self._result_cv_discretepointcoverage = None 
    147         if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretecurvecoverage.CV_DiscreteCurveCoverage": 
    148             self._result_cv_discretecurvecoverage = value 
    149             self._result_cvt_discretetimeinstantcoverage = None 
    150             self._result_cv_discretesurfacecoverage = None 
    151             self._result_cv_discretesolidcoverage = None 
    152             self._result_cv_discretegridpointcoverage = None 
    153             self._result_cv_discretepointcoverage = None 
    154         if valueClass == "ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretepointcoverage.CV_DiscretePointCoverage": 
    155             self._result_cv_discretepointcoverage = value 
    156             self._result_cvt_discretetimeinstantcoverage = None 
    157             self._result_cv_discretesurfacecoverage = None 
    158             self._result_cv_discretesolidcoverage = None 
    159             self._result_cv_discretegridpointcoverage = None 
    160             self._result_cv_discretecurvecoverage = None 
    161  
    162     @property 
    163     def result(self):    
    164         return self._om_observation.result 
    165  
    166     @result.setter 
    167     def result(self, value):     
    168             self._om_observation.result = value 
     187            self._result_cv_discretegridpointcoverage = None 
     188            self._result_cvt_discretetimeinstantcoverage = None 
     189            self._result_cv_discretesurfacecoverage = None 
     190            self._result_cv_discretecurvecoverage = None 
     191            self._result_cv_discretepointcoverage = None 
    169192 
    170193    @property 
     
    177200 
    178201    @property 
     202    def validTime(self):         
     203        return self._om_observation.validTime 
     204 
     205    @validTime.setter 
     206    def validTime(self, value):  
     207            self._om_observation.validTime = value 
     208 
     209    @property 
     210    def resultQuality(self):     
     211        return self._om_observation.resultQuality 
     212 
     213    @resultQuality.setter 
     214    def resultQuality(self, value):      
     215            self._om_observation.resultQuality = value 
     216 
     217    @property 
    179218    def observedProperty(self):  
    180219        return self._om_observation.observedProperty 
     
    192231            self._om_observation.parameter = value 
    193232 
    194     @property 
    195     def metadata(self):  
    196         return self._om_observation.metadata 
    197  
    198     @metadata.setter 
    199     def metadata(self, value):   
    200             self._om_observation.metadata = value 
    201  
    202     @property 
    203     def featureOfInterest(self):         
    204         return self._om_observation.featureOfInterest 
    205  
    206     @featureOfInterest.setter 
    207     def featureOfInterest(self, value):  
    208             self._om_observation.featureOfInterest = value 
    209  
    210     @property 
    211     def relatedObservation(self):        
    212         return self._om_observation.relatedObservation 
    213  
    214     @relatedObservation.setter 
    215     def relatedObservation(self, value):         
    216             self._om_observation.relatedObservation = value 
    217  
    218     @property 
    219     def phenomenonTime(self):    
    220         return self._om_observation.phenomenonTime 
    221  
    222     @phenomenonTime.setter 
    223     def phenomenonTime(self, value):     
    224             self._om_observation.phenomenonTime = value 
    225  
    226     @property 
    227     def resultQuality(self):     
    228         return self._om_observation.resultQuality 
    229  
    230     @resultQuality.setter 
    231     def resultQuality(self, value):      
    232             self._om_observation.resultQuality = value 
    233  
    234     @property 
    235     def validTime(self):         
    236         return self._om_observation.validTime 
    237  
    238     @validTime.setter 
    239     def validTime(self, value):  
    240             self._om_observation.validTime = value 
    241  
    242233    def __key(self): 
    243         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     234        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    244235 
    245236    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/geometryobservation/om_geometryobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:29 
     25Created on 16-Feb-2012 16:18:05 
    2626 
    2727@author: mnagni 
     
    4242        self._om_observation = OM_Observation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
     46        self._featureOfInterest_mo_featureofinterest = None 
     47        self._featureOfInterest_gfi_domainfeature = None 
     48        self._procedure_ceda_compositeprocess = None 
    4549        self._procedure_ceda_acquisition = None 
    4650        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
     62        self.result = None 
     63        self._result_gm_complex = None 
    4864        self._result_gm_primitive = None 
    4965        self._result_gm_aggregate = None 
    50         self._result_gm_complex = None 
    51         self.result = None 
    5266        self.resultTime = None 
     67        self.validTime = None 
     68        self._resultQuality_dq_logicalconsistency = [] 
     69        self._resultQuality_dq_thematicaccuracy = [] 
     70        self._resultQuality_qe_usability = [] 
     71        self._resultQuality_dq_completeness = [] 
     72        self._resultQuality_dq_positionalaccuracy = [] 
     73        self._resultQuality_dq_temporalaccuracy = [] 
     74        self._observedProperty_gf_attributetype = None 
    5375        self._observedProperty_gf_associationrole = None 
    54         self._observedProperty_gf_attributetype = None 
    5576        self._observedProperty_gf_operation = None 
    5677        self.parameter = [] 
    57         self.metadata = None 
    58         self._featureOfInterest_mo_featureofinterest = None 
    59         self._featureOfInterest_sf_samplingfeature = None 
    60         self._featureOfInterest_gfi_domainfeature = None 
    61         self._relatedObservation_om_measurement = [] 
    62         self._relatedObservation_om_complexobservation = [] 
    63         self._relatedObservation_om_countobservation = [] 
    64         self._relatedObservation_om_temporalobservation = [] 
    65         self._relatedObservation_mo_observation = [] 
    66         self._relatedObservation_om_geometryobservation = [] 
    67         self._relatedObservation_om_truthobservation = [] 
    68         self._relatedObservation_om_categoryobservation = [] 
    69         self._relatedObservation_om_discretecoverageobservation = [] 
    70         self._phenomenonTime_tm_complex = None 
    71         self._phenomenonTime_tm_primitive = None 
    72         self._resultQuality_dq_completeness = [] 
    73         self._resultQuality_qe_usability = [] 
    74         self._resultQuality_dq_temporalaccuracy = [] 
    75         self._resultQuality_dq_logicalconsistency = [] 
    76         self._resultQuality_dq_thematicaccuracy = [] 
    77         self._resultQuality_dq_positionalaccuracy = [] 
    78         self.validTime = None 
    7978        super(OM_GeometryObservation, self).__init__() 
     79 
     80    @property 
     81    def metadata(self):  
     82        return self._om_observation.metadata 
     83 
     84    @metadata.setter 
     85    def metadata(self, value):   
     86            self._om_observation.metadata = value 
     87 
     88    @property 
     89    def featureOfInterest(self):         
     90        return self._om_observation.featureOfInterest 
     91 
     92    @featureOfInterest.setter 
     93    def featureOfInterest(self, value):  
     94            self._om_observation.featureOfInterest = value 
    8095 
    8196    @property 
     
    88103 
    89104    @property 
    90     def procedure(self):         
    91         return self._om_observation.procedure 
    92  
    93     @procedure.setter 
    94     def procedure(self, value):  
    95             self._om_observation.procedure = value 
     105    def relatedObservation(self):        
     106        return self._om_observation.relatedObservation 
     107 
     108    @relatedObservation.setter 
     109    def relatedObservation(self, value):         
     110            self._om_observation.relatedObservation = value 
     111 
     112    @property 
     113    def phenomenonTime(self):    
     114        return self._om_observation.phenomenonTime 
     115 
     116    @phenomenonTime.setter 
     117    def phenomenonTime(self, value):     
     118            self._om_observation.phenomenonTime = value 
    96119 
    97120    @property 
    98121    def result(self):    
     122        return self._om_observation.result 
     123 
     124    @result.setter 
     125    def result(self, value):     
     126            self._om_observation.result = value 
     127 
     128    @property 
     129    def result(self):    
     130        if(has_value(self._result_gm_complex)): 
     131            return self._result_gm_complex 
    99132        if(has_value(self._result_gm_primitive)): 
    100133            return self._result_gm_primitive 
    101134        if(has_value(self._result_gm_aggregate)): 
    102135            return self._result_gm_aggregate 
    103         if(has_value(self._result_gm_complex)): 
    104             return self._result_gm_complex 
    105136        return  None 
    106137 
     
    108139    def result(self, value):     
    109140        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    110         if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive.GM_Primitive": 
    111             self._result_gm_primitive = value 
    112             self._result_gm_aggregate = None 
    113             self._result_gm_complex = None 
    114         if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_aggregates.gm_aggregate.GM_Aggregate": 
    115             self._result_gm_aggregate = value 
    116             self._result_gm_primitive = None 
    117             self._result_gm_complex = None 
    118141        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_complex.GM_Complex": 
    119142            self._result_gm_complex = value 
    120143            self._result_gm_primitive = None 
    121144            self._result_gm_aggregate = None 
    122  
    123     @property 
    124     def result(self):    
    125         return self._om_observation.result 
    126  
    127     @result.setter 
    128     def result(self, value):     
    129             self._om_observation.result = value 
     145        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive.GM_Primitive": 
     146            self._result_gm_primitive = value 
     147            self._result_gm_complex = None 
     148            self._result_gm_aggregate = None 
     149        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_aggregates.gm_aggregate.GM_Aggregate": 
     150            self._result_gm_aggregate = value 
     151            self._result_gm_complex = None 
     152            self._result_gm_primitive = None 
    130153 
    131154    @property 
     
    138161 
    139162    @property 
     163    def validTime(self):         
     164        return self._om_observation.validTime 
     165 
     166    @validTime.setter 
     167    def validTime(self, value):  
     168            self._om_observation.validTime = value 
     169 
     170    @property 
     171    def resultQuality(self):     
     172        return self._om_observation.resultQuality 
     173 
     174    @resultQuality.setter 
     175    def resultQuality(self, value):      
     176            self._om_observation.resultQuality = value 
     177 
     178    @property 
    140179    def observedProperty(self):  
    141180        return self._om_observation.observedProperty 
     
    153192            self._om_observation.parameter = value 
    154193 
    155     @property 
    156     def metadata(self):  
    157         return self._om_observation.metadata 
    158  
    159     @metadata.setter 
    160     def metadata(self, value):   
    161             self._om_observation.metadata = value 
    162  
    163     @property 
    164     def featureOfInterest(self):         
    165         return self._om_observation.featureOfInterest 
    166  
    167     @featureOfInterest.setter 
    168     def featureOfInterest(self, value):  
    169             self._om_observation.featureOfInterest = value 
    170  
    171     @property 
    172     def relatedObservation(self):        
    173         return self._om_observation.relatedObservation 
    174  
    175     @relatedObservation.setter 
    176     def relatedObservation(self, value):         
    177             self._om_observation.relatedObservation = value 
    178  
    179     @property 
    180     def phenomenonTime(self):    
    181         return self._om_observation.phenomenonTime 
    182  
    183     @phenomenonTime.setter 
    184     def phenomenonTime(self, value):     
    185             self._om_observation.phenomenonTime = value 
    186  
    187     @property 
    188     def resultQuality(self):     
    189         return self._om_observation.resultQuality 
    190  
    191     @resultQuality.setter 
    192     def resultQuality(self, value):      
    193             self._om_observation.resultQuality = value 
    194  
    195     @property 
    196     def validTime(self):         
    197         return self._om_observation.validTime 
    198  
    199     @validTime.setter 
    200     def validTime(self, value):  
    201             self._om_observation.validTime = value 
    202  
    203194    def __key(self): 
    204         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     195        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    205196 
    206197    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/measurement/om_measurement.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:34 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4343 
    4444        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
    4546        self._featureOfInterest_mo_featureofinterest = None 
    46         self._featureOfInterest_sf_samplingfeature = None 
    4747        self._featureOfInterest_gfi_domainfeature = None 
    48         self._phenomenonTime_tm_complex = None 
    49         self._phenomenonTime_tm_primitive = None 
    50         self._relatedObservation_om_measurement = [] 
    51         self._relatedObservation_om_complexobservation = [] 
    52         self._relatedObservation_om_countobservation = [] 
    53         self._relatedObservation_om_temporalobservation = [] 
    54         self._relatedObservation_mo_observation = [] 
    55         self._relatedObservation_om_geometryobservation = [] 
    56         self._relatedObservation_om_truthobservation = [] 
    57         self._relatedObservation_om_categoryobservation = [] 
    58         self._relatedObservation_om_discretecoverageobservation = [] 
     48        self._procedure_ceda_compositeprocess = None 
    5949        self._procedure_ceda_acquisition = None 
    6050        self._procedure_ceda_processing = None 
    61         self._procedure_ceda_compositeprocess = None 
    62         self.procedure = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
    6362        self.result = None 
    6463        self.resultTime = None 
    6564        self.validTime = None 
    66         self._resultQuality_dq_completeness = [] 
    67         self._resultQuality_qe_usability = [] 
    68         self._resultQuality_dq_temporalaccuracy = [] 
    6965        self._resultQuality_dq_logicalconsistency = [] 
    7066        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    7169        self._resultQuality_dq_positionalaccuracy = [] 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._observedProperty_gf_attributetype = None 
    7272        self._observedProperty_gf_associationrole = None 
    73         self._observedProperty_gf_attributetype = None 
    7473        self._observedProperty_gf_operation = None 
    7574        self.parameter = [] 
     
    9392 
    9493    @property 
    95     def phenomenonTime(self):    
    96         return self._om_observation.phenomenonTime 
     94    def procedure(self):         
     95        return self._om_observation.procedure 
    9796 
    98     @phenomenonTime.setter 
    99     def phenomenonTime(self, value):     
    100             self._om_observation.phenomenonTime = value 
     97    @procedure.setter 
     98    def procedure(self, value):  
     99            self._om_observation.procedure = value 
    101100 
    102101    @property 
     
    109108 
    110109    @property 
    111     def procedure(self):         
    112         return self._om_observation.procedure 
     110    def phenomenonTime(self):    
     111        return self._om_observation.phenomenonTime 
    113112 
    114     @procedure.setter 
    115     def procedure(self, value):  
    116             self._om_observation.procedure = value 
    117  
    118     @property 
    119     def procedure(self):         
    120         return self._om_observation.procedure 
    121  
    122     @procedure.setter 
    123     def procedure(self, value):  
    124             self._om_observation.procedure = value 
     113    @phenomenonTime.setter 
     114    def phenomenonTime(self, value):     
     115            self._om_observation.phenomenonTime = value 
    125116 
    126117    @property 
     
    165156 
    166157    def __key(self): 
    167         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
     158        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    168159 
    169160    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/observation/namedvalue.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:32 
     24Created on 16-Feb-2012 16:18:01 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/observation/observationcontext.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:32 
     24Created on 16-Feb-2012 16:18:03 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/observation/om_observation.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:36 
     24Created on 16-Feb-2012 16:18:10 
    2525 
    2626@author: mnagni 
     
    4141 
    4242        self.metadata = None 
     43        self._featureOfInterest_sf_samplingfeature = None 
    4344        self._featureOfInterest_mo_featureofinterest = None 
    44         self._featureOfInterest_sf_samplingfeature = None 
    4545        self._featureOfInterest_gfi_domainfeature = None 
    46         self._phenomenonTime_tm_complex = None 
    47         self._phenomenonTime_tm_primitive = None 
    48         self._relatedObservation_om_measurement = [] 
    49         self._relatedObservation_om_complexobservation = [] 
    50         self._relatedObservation_om_countobservation = [] 
    51         self._relatedObservation_om_temporalobservation = [] 
    52         self._relatedObservation_mo_observation = [] 
    53         self._relatedObservation_om_geometryobservation = [] 
    54         self._relatedObservation_om_truthobservation = [] 
    55         self._relatedObservation_om_categoryobservation = [] 
    56         self._relatedObservation_om_discretecoverageobservation = [] 
    57         self.procedure = None 
     46        self._procedure_ceda_compositeprocess = None 
    5847        self._procedure_ceda_acquisition = None 
    5948        self._procedure_ceda_processing = None 
    60         self._procedure_ceda_compositeprocess = None 
     49        self._relatedObservation_om_discretecoverageobservation = [] 
     50        self._relatedObservation_om_temporalobservation = [] 
     51        self._relatedObservation_om_measurement = [] 
     52        self._relatedObservation_mo_observation = [] 
     53        self._relatedObservation_om_truthobservation = [] 
     54        self._relatedObservation_om_countobservation = [] 
     55        self._relatedObservation_om_categoryobservation = [] 
     56        self._relatedObservation_om_geometryobservation = [] 
     57        self._relatedObservation_om_complexobservation = [] 
     58        self._phenomenonTime_tm_primitive = None 
     59        self._phenomenonTime_tm_complex = None 
    6160        self.result = None 
    6261        self.resultTime = None 
    63         self._resultQuality_dq_completeness = [] 
    64         self._resultQuality_qe_usability = [] 
    65         self._resultQuality_dq_temporalaccuracy = [] 
     62        self.validTime = None 
    6663        self._resultQuality_dq_logicalconsistency = [] 
    6764        self._resultQuality_dq_thematicaccuracy = [] 
     65        self._resultQuality_qe_usability = [] 
     66        self._resultQuality_dq_completeness = [] 
    6867        self._resultQuality_dq_positionalaccuracy = [] 
    69         self.validTime = None 
     68        self._resultQuality_dq_temporalaccuracy = [] 
     69        self._observedProperty_gf_attributetype = None 
    7070        self._observedProperty_gf_associationrole = None 
    71         self._observedProperty_gf_attributetype = None 
    7271        self._observedProperty_gf_operation = None 
    7372        self.parameter = [] 
     
    7675    @property 
    7776    def featureOfInterest(self):         
     77        if(has_value(self._featureOfInterest_sf_samplingfeature)): 
     78            return self._featureOfInterest_sf_samplingfeature 
    7879        if(has_value(self._featureOfInterest_mo_featureofinterest)): 
    7980            return self._featureOfInterest_mo_featureofinterest 
    80         if(has_value(self._featureOfInterest_sf_samplingfeature)): 
    81             return self._featureOfInterest_sf_samplingfeature 
    8281        if(has_value(self._featureOfInterest_gfi_domainfeature)): 
    8382            return self._featureOfInterest_gfi_domainfeature 
     
    8786    def featureOfInterest(self, value):  
    8887        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     88        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingfeature.sf_samplingfeature.SF_SamplingFeature": 
     89            self._featureOfInterest_sf_samplingfeature = value 
     90            self._featureOfInterest_mo_featureofinterest = None 
     91            self._featureOfInterest_gfi_domainfeature = None 
    8992        if valueClass == "ea_model.moles3_4.featureofinterest.mo_featureofinterest.MO_FeatureOfInterest": 
    9093            self._featureOfInterest_mo_featureofinterest = value 
    9194            self._featureOfInterest_sf_samplingfeature = None 
    9295            self._featureOfInterest_gfi_domainfeature = None 
    93         if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingfeature.sf_samplingfeature.SF_SamplingFeature": 
    94             self._featureOfInterest_sf_samplingfeature = value 
    95             self._featureOfInterest_mo_featureofinterest = None 
    96             self._featureOfInterest_gfi_domainfeature = None 
    9796        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.general_feature_instance.gfi_domainfeature.GFI_DomainFeature": 
    9897            self._featureOfInterest_gfi_domainfeature = value 
     98            self._featureOfInterest_sf_samplingfeature = None 
    9999            self._featureOfInterest_mo_featureofinterest = None 
    100             self._featureOfInterest_sf_samplingfeature = None 
    101  
    102     @property 
    103     def phenomenonTime(self):    
    104         if(has_value(self._phenomenonTime_tm_complex)): 
    105             return self._phenomenonTime_tm_complex 
    106         if(has_value(self._phenomenonTime_tm_primitive)): 
    107             return self._phenomenonTime_tm_primitive 
    108         return  None 
    109  
    110     @phenomenonTime.setter 
    111     def phenomenonTime(self, value):     
    112         valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    113         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex.TM_Complex": 
    114             self._phenomenonTime_tm_complex = value 
    115             self._phenomenonTime_tm_primitive = None 
    116         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
    117             self._phenomenonTime_tm_primitive = value 
    118             self._phenomenonTime_tm_complex = None 
    119  
    120     @property 
    121     def relatedObservation(self):        
    122         ret = [] 
    123         for item in self._relatedObservation_om_measurement: 
    124             ret.append(item) 
    125         for item in self._relatedObservation_om_complexobservation: 
    126             ret.append(item) 
    127         for item in self._relatedObservation_om_countobservation: 
    128             ret.append(item) 
    129         for item in self._relatedObservation_om_temporalobservation: 
    130             ret.append(item) 
    131         for item in self._relatedObservation_mo_observation: 
    132             ret.append(item) 
    133         for item in self._relatedObservation_om_geometryobservation: 
    134             ret.append(item) 
    135         for item in self._relatedObservation_om_truthobservation: 
    136             ret.append(item) 
    137         for item in self._relatedObservation_om_categoryobservation: 
    138             ret.append(item) 
    139         for item in self._relatedObservation_om_discretecoverageobservation: 
    140             ret.append(item) 
    141         return ret 
    142  
    143     @relatedObservation.setter 
    144     def relatedObservation(self, value):         
    145         if isinstance(value, list): 
    146             self._relatedObservation_om_measurement[:] 
    147             self._relatedObservation_om_complexobservation[:] 
    148             self._relatedObservation_om_countobservation[:] 
    149             self._relatedObservation_om_temporalobservation[:] 
    150             self._relatedObservation_mo_observation[:] 
    151             self._relatedObservation_om_geometryobservation[:] 
    152             self._relatedObservation_om_truthobservation[:] 
    153             self._relatedObservation_om_categoryobservation[:] 
    154             self._relatedObservation_om_discretecoverageobservation[:] 
    155             for item in value: 
    156                 valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
    157                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.measurement.om_measurement.OM_Measurement": 
    158                     self._relatedObservation_om_measurement.append(item) 
    159                     continue 
    160                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
    161                     self._relatedObservation_om_complexobservation.append(item) 
    162                     continue 
    163                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
    164                     self._relatedObservation_om_countobservation.append(item) 
    165                     continue 
    166                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
    167                     self._relatedObservation_om_temporalobservation.append(item) 
    168                     continue 
    169                 if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
    170                     self._relatedObservation_mo_observation.append(item) 
    171                     continue 
    172                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
    173                     self._relatedObservation_om_geometryobservation.append(item) 
    174                     continue 
    175                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
    176                     self._relatedObservation_om_truthobservation.append(item) 
    177                     continue 
    178                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
    179                     self._relatedObservation_om_categoryobservation.append(item) 
    180                     continue 
    181                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
    182                     self._relatedObservation_om_discretecoverageobservation.append(item) 
    183                     continue 
    184100 
    185101    @property 
    186102    def procedure(self):         
     103        if(has_value(self._procedure_ceda_compositeprocess)): 
     104            return self._procedure_ceda_compositeprocess 
    187105        if(has_value(self._procedure_ceda_acquisition)): 
    188106            return self._procedure_ceda_acquisition 
    189107        if(has_value(self._procedure_ceda_processing)): 
    190108            return self._procedure_ceda_processing 
    191         if(has_value(self._procedure_ceda_compositeprocess)): 
    192             return self._procedure_ceda_compositeprocess 
    193109        return  None 
    194110 
     
    196112    def procedure(self, value):  
    197113        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    198         if valueClass == "ea_model.ceda_metadatamodel.ceda_acquisition.ceda_acquisition.CEDA_Acquisition": 
    199             self._procedure_ceda_acquisition = value 
    200             self._procedure_ceda_processing = None 
    201             self._procedure_ceda_compositeprocess = None 
    202         if valueClass == "ea_model.ceda_metadatamodel.ceda_computation.ceda_processing.CEDA_Processing": 
    203             self._procedure_ceda_processing = value 
    204             self._procedure_ceda_acquisition = None 
    205             self._procedure_ceda_compositeprocess = None 
    206114        if valueClass == "ea_model.ceda_metadatamodel.ceda_observationprocess.ceda_compositeprocess.CEDA_CompositeProcess": 
    207115            self._procedure_ceda_compositeprocess = value 
    208116            self._procedure_ceda_acquisition = None 
    209117            self._procedure_ceda_processing = None 
     118        if valueClass == "ea_model.ceda_metadatamodel.ceda_acquisition.ceda_acquisition.CEDA_Acquisition": 
     119            self._procedure_ceda_acquisition = value 
     120            self._procedure_ceda_compositeprocess = None 
     121            self._procedure_ceda_processing = None 
     122        if valueClass == "ea_model.ceda_metadatamodel.ceda_computation.ceda_processing.CEDA_Processing": 
     123            self._procedure_ceda_processing = value 
     124            self._procedure_ceda_compositeprocess = None 
     125            self._procedure_ceda_acquisition = None 
     126 
     127    @property 
     128    def relatedObservation(self):        
     129        ret = [] 
     130        for item in self._relatedObservation_om_discretecoverageobservation: 
     131            ret.append(item) 
     132        for item in self._relatedObservation_om_temporalobservation: 
     133            ret.append(item) 
     134        for item in self._relatedObservation_om_measurement: 
     135            ret.append(item) 
     136        for item in self._relatedObservation_mo_observation: 
     137            ret.append(item) 
     138        for item in self._relatedObservation_om_truthobservation: 
     139            ret.append(item) 
     140        for item in self._relatedObservation_om_countobservation: 
     141            ret.append(item) 
     142        for item in self._relatedObservation_om_categoryobservation: 
     143            ret.append(item) 
     144        for item in self._relatedObservation_om_geometryobservation: 
     145            ret.append(item) 
     146        for item in self._relatedObservation_om_complexobservation: 
     147            ret.append(item) 
     148        return ret 
     149 
     150    @relatedObservation.setter 
     151    def relatedObservation(self, value):         
     152        if isinstance(value, list): 
     153            self._relatedObservation_om_discretecoverageobservation[:] 
     154            self._relatedObservation_om_temporalobservation[:] 
     155            self._relatedObservation_om_measurement[:] 
     156            self._relatedObservation_mo_observation[:] 
     157            self._relatedObservation_om_truthobservation[:] 
     158            self._relatedObservation_om_countobservation[:] 
     159            self._relatedObservation_om_categoryobservation[:] 
     160            self._relatedObservation_om_geometryobservation[:] 
     161            self._relatedObservation_om_complexobservation[:] 
     162            for item in value: 
     163                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     164                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
     165                    self._relatedObservation_om_discretecoverageobservation.append(item) 
     166                    continue 
     167                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
     168                    self._relatedObservation_om_temporalobservation.append(item) 
     169                    continue 
     170                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.measurement.om_measurement.OM_Measurement": 
     171                    self._relatedObservation_om_measurement.append(item) 
     172                    continue 
     173                if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
     174                    self._relatedObservation_mo_observation.append(item) 
     175                    continue 
     176                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
     177                    self._relatedObservation_om_truthobservation.append(item) 
     178                    continue 
     179                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
     180                    self._relatedObservation_om_countobservation.append(item) 
     181                    continue 
     182                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
     183                    self._relatedObservation_om_categoryobservation.append(item) 
     184                    continue 
     185                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
     186                    self._relatedObservation_om_geometryobservation.append(item) 
     187                    continue 
     188                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
     189                    self._relatedObservation_om_complexobservation.append(item) 
     190                    continue 
     191 
     192    @property 
     193    def phenomenonTime(self):    
     194        if(has_value(self._phenomenonTime_tm_primitive)): 
     195            return self._phenomenonTime_tm_primitive 
     196        if(has_value(self._phenomenonTime_tm_complex)): 
     197            return self._phenomenonTime_tm_complex 
     198        return  None 
     199 
     200    @phenomenonTime.setter 
     201    def phenomenonTime(self, value):     
     202        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     203        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
     204            self._phenomenonTime_tm_primitive = value 
     205            self._phenomenonTime_tm_complex = None 
     206        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex.TM_Complex": 
     207            self._phenomenonTime_tm_complex = value 
     208            self._phenomenonTime_tm_primitive = None 
    210209 
    211210    @property 
    212211    def resultQuality(self):     
    213212        ret = [] 
     213        for item in self._resultQuality_dq_logicalconsistency: 
     214            ret.append(item) 
     215        for item in self._resultQuality_dq_thematicaccuracy: 
     216            ret.append(item) 
     217        for item in self._resultQuality_qe_usability: 
     218            ret.append(item) 
    214219        for item in self._resultQuality_dq_completeness: 
    215220            ret.append(item) 
    216         for item in self._resultQuality_qe_usability: 
     221        for item in self._resultQuality_dq_positionalaccuracy: 
    217222            ret.append(item) 
    218223        for item in self._resultQuality_dq_temporalaccuracy: 
    219             ret.append(item) 
    220         for item in self._resultQuality_dq_logicalconsistency: 
    221             ret.append(item) 
    222         for item in self._resultQuality_dq_thematicaccuracy: 
    223             ret.append(item) 
    224         for item in self._resultQuality_dq_positionalaccuracy: 
    225224            ret.append(item) 
    226225        return ret 
     
    229228    def resultQuality(self, value):      
    230229        if isinstance(value, list): 
    231             self._resultQuality_dq_completeness[:] 
    232             self._resultQuality_qe_usability[:] 
    233             self._resultQuality_dq_temporalaccuracy[:] 
    234230            self._resultQuality_dq_logicalconsistency[:] 
    235231            self._resultQuality_dq_thematicaccuracy[:] 
     232            self._resultQuality_qe_usability[:] 
     233            self._resultQuality_dq_completeness[:] 
    236234            self._resultQuality_dq_positionalaccuracy[:] 
     235            self._resultQuality_dq_temporalaccuracy[:] 
    237236            for item in value: 
    238237                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     238                if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency.DQ_LogicalConsistency": 
     239                    self._resultQuality_dq_logicalconsistency.append(item) 
     240                    continue 
     241                if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy.DQ_ThematicAccuracy": 
     242                    self._resultQuality_dq_thematicaccuracy.append(item) 
     243                    continue 
     244                if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_usability.QE_Usability": 
     245                    self._resultQuality_qe_usability.append(item) 
     246                    continue 
    239247                if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_completeness.DQ_Completeness": 
    240248                    self._resultQuality_dq_completeness.append(item) 
    241249                    continue 
    242                 if valueClass == "ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.qe_usability.QE_Usability": 
    243                     self._resultQuality_qe_usability.append(item) 
     250                if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy.DQ_PositionalAccuracy": 
     251                    self._resultQuality_dq_positionalaccuracy.append(item) 
    244252                    continue 
    245253                if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_temporalaccuracy.DQ_TemporalAccuracy": 
    246254                    self._resultQuality_dq_temporalaccuracy.append(item) 
    247255                    continue 
    248                 if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency.DQ_LogicalConsistency": 
    249                     self._resultQuality_dq_logicalconsistency.append(item) 
    250                     continue 
    251                 if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_thematicaccuracy.DQ_ThematicAccuracy": 
    252                     self._resultQuality_dq_thematicaccuracy.append(item) 
    253                     continue 
    254                 if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy.DQ_PositionalAccuracy": 
    255                     self._resultQuality_dq_positionalaccuracy.append(item) 
    256                     continue 
    257256 
    258257    @property 
    259258    def observedProperty(self):  
     259        if(has_value(self._observedProperty_gf_attributetype)): 
     260            return self._observedProperty_gf_attributetype 
    260261        if(has_value(self._observedProperty_gf_associationrole)): 
    261262            return self._observedProperty_gf_associationrole 
    262         if(has_value(self._observedProperty_gf_attributetype)): 
    263             return self._observedProperty_gf_attributetype 
    264263        if(has_value(self._observedProperty_gf_operation)): 
    265264            return self._observedProperty_gf_operation 
     
    269268    def observedProperty(self, value):   
    270269        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     270        if valueClass == "ea_model.iso_19109_2005_application_schema.general_feature_model.gf_attributetype.GF_AttributeType": 
     271            self._observedProperty_gf_attributetype = value 
     272            self._observedProperty_gf_associationrole = None 
     273            self._observedProperty_gf_operation = None 
    271274        if valueClass == "ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationrole.GF_AssociationRole": 
    272275            self._observedProperty_gf_associationrole = value 
    273276            self._observedProperty_gf_attributetype = None 
    274277            self._observedProperty_gf_operation = None 
    275         if valueClass == "ea_model.iso_19109_2005_application_schema.general_feature_model.gf_attributetype.GF_AttributeType": 
    276             self._observedProperty_gf_attributetype = value 
    277             self._observedProperty_gf_associationrole = None 
    278             self._observedProperty_gf_operation = None 
    279278        if valueClass == "ea_model.iso_19109_2005_application_schema.general_feature_model.gf_operation.GF_Operation": 
    280279            self._observedProperty_gf_operation = value 
     280            self._observedProperty_gf_attributetype = None 
    281281            self._observedProperty_gf_associationrole = None 
    282             self._observedProperty_gf_attributetype = None 
    283282 
    284283    def __key(self): 
    285         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.resultQuality, self.validTime, self.observedProperty, self.parameter) 
     284        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    286285 
    287286    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/observation/om_process.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:37 
     24Created on 16-Feb-2012 16:18:08 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._generatedObservation_om_discretecoverageobservation = [] 
     43        self._generatedObservation_om_temporalobservation = [] 
    4244        self._generatedObservation_om_measurement = [] 
     45        self._generatedObservation_mo_observation = [] 
     46        self._generatedObservation_om_truthobservation = [] 
     47        self._generatedObservation_om_countobservation = [] 
     48        self._generatedObservation_om_categoryobservation = [] 
     49        self._generatedObservation_om_geometryobservation = [] 
    4350        self._generatedObservation_om_complexobservation = [] 
    44         self._generatedObservation_om_countobservation = [] 
    45         self._generatedObservation_om_temporalobservation = [] 
    46         self._generatedObservation_mo_observation = [] 
    47         self._generatedObservation_om_geometryobservation = [] 
    48         self._generatedObservation_om_truthobservation = [] 
    49         self._generatedObservation_om_categoryobservation = [] 
    50         self._generatedObservation_om_discretecoverageobservation = [] 
    5151        super(OM_Process, self).__init__() 
    5252 
     
    5454    def generatedObservation(self):      
    5555        ret = [] 
     56        for item in self._generatedObservation_om_discretecoverageobservation: 
     57            ret.append(item) 
     58        for item in self._generatedObservation_om_temporalobservation: 
     59            ret.append(item) 
    5660        for item in self._generatedObservation_om_measurement: 
    5761            ret.append(item) 
    58         for item in self._generatedObservation_om_complexobservation: 
     62        for item in self._generatedObservation_mo_observation: 
     63            ret.append(item) 
     64        for item in self._generatedObservation_om_truthobservation: 
    5965            ret.append(item) 
    6066        for item in self._generatedObservation_om_countobservation: 
    6167            ret.append(item) 
    62         for item in self._generatedObservation_om_temporalobservation: 
    63             ret.append(item) 
    64         for item in self._generatedObservation_mo_observation: 
     68        for item in self._generatedObservation_om_categoryobservation: 
    6569            ret.append(item) 
    6670        for item in self._generatedObservation_om_geometryobservation: 
    6771            ret.append(item) 
    68         for item in self._generatedObservation_om_truthobservation: 
    69             ret.append(item) 
    70         for item in self._generatedObservation_om_categoryobservation: 
    71             ret.append(item) 
    72         for item in self._generatedObservation_om_discretecoverageobservation: 
     72        for item in self._generatedObservation_om_complexobservation: 
    7373            ret.append(item) 
    7474        return ret 
     
    7777    def generatedObservation(self, value):       
    7878        if isinstance(value, list): 
     79            self._generatedObservation_om_discretecoverageobservation[:] 
     80            self._generatedObservation_om_temporalobservation[:] 
    7981            self._generatedObservation_om_measurement[:] 
     82            self._generatedObservation_mo_observation[:] 
     83            self._generatedObservation_om_truthobservation[:] 
     84            self._generatedObservation_om_countobservation[:] 
     85            self._generatedObservation_om_categoryobservation[:] 
     86            self._generatedObservation_om_geometryobservation[:] 
    8087            self._generatedObservation_om_complexobservation[:] 
    81             self._generatedObservation_om_countobservation[:] 
    82             self._generatedObservation_om_temporalobservation[:] 
    83             self._generatedObservation_mo_observation[:] 
    84             self._generatedObservation_om_geometryobservation[:] 
    85             self._generatedObservation_om_truthobservation[:] 
    86             self._generatedObservation_om_categoryobservation[:] 
    87             self._generatedObservation_om_discretecoverageobservation[:] 
    8888            for item in value: 
    8989                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     90                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
     91                    self._generatedObservation_om_discretecoverageobservation.append(item) 
     92                    continue 
     93                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
     94                    self._generatedObservation_om_temporalobservation.append(item) 
     95                    continue 
    9096                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.measurement.om_measurement.OM_Measurement": 
    9197                    self._generatedObservation_om_measurement.append(item) 
    9298                    continue 
    93                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
    94                     self._generatedObservation_om_complexobservation.append(item) 
     99                if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
     100                    self._generatedObservation_mo_observation.append(item) 
     101                    continue 
     102                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
     103                    self._generatedObservation_om_truthobservation.append(item) 
    95104                    continue 
    96105                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
    97106                    self._generatedObservation_om_countobservation.append(item) 
    98107                    continue 
    99                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
    100                     self._generatedObservation_om_temporalobservation.append(item) 
    101                     continue 
    102                 if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
    103                     self._generatedObservation_mo_observation.append(item) 
     108                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
     109                    self._generatedObservation_om_categoryobservation.append(item) 
    104110                    continue 
    105111                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
    106112                    self._generatedObservation_om_geometryobservation.append(item) 
    107113                    continue 
    108                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
    109                     self._generatedObservation_om_truthobservation.append(item) 
    110                     continue 
    111                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
    112                     self._generatedObservation_om_categoryobservation.append(item) 
    113                     continue 
    114                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
    115                     self._generatedObservation_om_discretecoverageobservation.append(item) 
     114                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
     115                    self._generatedObservation_om_complexobservation.append(item) 
    116116                    continue 
    117117 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/pointcoverageobservation/om_pointcoverageobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:27 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._om_discretecoverageobservation = OM_DiscreteCoverageObservation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
     46        self._featureOfInterest_mo_featureofinterest = None 
     47        self._featureOfInterest_gfi_domainfeature = None 
     48        self._procedure_ceda_compositeprocess = None 
    4549        self._procedure_ceda_acquisition = None 
    4650        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
    48         self.result = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
     62        self._result_cv_discretegridpointcoverage = None 
    4963        self._result_cvt_discretetimeinstantcoverage = None 
    5064        self._result_cv_discretesurfacecoverage = None 
    51         self._result_cv_discretesolidcoverage = None 
    52         self._result_cv_discretegridpointcoverage = None 
    5365        self._result_cv_discretecurvecoverage = None 
    5466        self._result_cv_discretepointcoverage = None 
     67        self._result_cv_discretesolidcoverage = None 
     68        self.result = None 
    5569        self.resultTime = None 
     70        self.validTime = None 
     71        self._resultQuality_dq_logicalconsistency = [] 
     72        self._resultQuality_dq_thematicaccuracy = [] 
     73        self._resultQuality_qe_usability = [] 
     74        self._resultQuality_dq_completeness = [] 
     75        self._resultQuality_dq_positionalaccuracy = [] 
     76        self._resultQuality_dq_temporalaccuracy = [] 
     77        self._observedProperty_gf_attributetype = None 
    5678        self._observedProperty_gf_associationrole = None 
    57         self._observedProperty_gf_attributetype = None 
    5879        self._observedProperty_gf_operation = None 
    5980        self.parameter = [] 
    60         self.metadata = None 
    61         self._featureOfInterest_mo_featureofinterest = None 
    62         self._featureOfInterest_sf_samplingfeature = None 
    63         self._featureOfInterest_gfi_domainfeature = None 
    64         self._relatedObservation_om_measurement = [] 
    65         self._relatedObservation_om_complexobservation = [] 
    66         self._relatedObservation_om_countobservation = [] 
    67         self._relatedObservation_om_temporalobservation = [] 
    68         self._relatedObservation_mo_observation = [] 
    69         self._relatedObservation_om_geometryobservation = [] 
    70         self._relatedObservation_om_truthobservation = [] 
    71         self._relatedObservation_om_categoryobservation = [] 
    72         self._relatedObservation_om_discretecoverageobservation = [] 
    73         self._phenomenonTime_tm_complex = None 
    74         self._phenomenonTime_tm_primitive = None 
    75         self._resultQuality_dq_completeness = [] 
    76         self._resultQuality_qe_usability = [] 
    77         self._resultQuality_dq_temporalaccuracy = [] 
    78         self._resultQuality_dq_logicalconsistency = [] 
    79         self._resultQuality_dq_thematicaccuracy = [] 
    80         self._resultQuality_dq_positionalaccuracy = [] 
    81         self.validTime = None 
    8281        super(OM_PointCoverageObservation, self).__init__() 
     82 
     83    @property 
     84    def metadata(self):  
     85        return self._om_discretecoverageobservation.metadata 
     86 
     87    @metadata.setter 
     88    def metadata(self, value):   
     89            self._om_discretecoverageobservation.metadata = value 
     90 
     91    @property 
     92    def featureOfInterest(self):         
     93        return self._om_discretecoverageobservation.featureOfInterest 
     94 
     95    @featureOfInterest.setter 
     96    def featureOfInterest(self, value):  
     97            self._om_discretecoverageobservation.featureOfInterest = value 
    8398 
    8499    @property 
     
    91106 
    92107    @property 
    93     def procedure(self):         
    94         return self._om_discretecoverageobservation.procedure 
     108    def relatedObservation(self):        
     109        return self._om_discretecoverageobservation.relatedObservation 
    95110 
    96     @procedure.setter 
    97     def procedure(self, value):  
    98             self._om_discretecoverageobservation.procedure = value 
     111    @relatedObservation.setter 
     112    def relatedObservation(self, value):         
     113            self._om_discretecoverageobservation.relatedObservation = value 
     114 
     115    @property 
     116    def phenomenonTime(self):    
     117        return self._om_discretecoverageobservation.phenomenonTime 
     118 
     119    @phenomenonTime.setter 
     120    def phenomenonTime(self, value):     
     121            self._om_discretecoverageobservation.phenomenonTime = value 
    99122 
    100123    @property 
     
    115138 
    116139    @property 
     140    def validTime(self):         
     141        return self._om_discretecoverageobservation.validTime 
     142 
     143    @validTime.setter 
     144    def validTime(self, value):  
     145            self._om_discretecoverageobservation.validTime = value 
     146 
     147    @property 
     148    def resultQuality(self):     
     149        return self._om_discretecoverageobservation.resultQuality 
     150 
     151    @resultQuality.setter 
     152    def resultQuality(self, value):      
     153            self._om_discretecoverageobservation.resultQuality = value 
     154 
     155    @property 
    117156    def observedProperty(self):  
    118157        return self._om_discretecoverageobservation.observedProperty 
     
    130169            self._om_discretecoverageobservation.parameter = value 
    131170 
    132     @property 
    133     def metadata(self):  
    134         return self._om_discretecoverageobservation.metadata 
    135  
    136     @metadata.setter 
    137     def metadata(self, value):   
    138             self._om_discretecoverageobservation.metadata = value 
    139  
    140     @property 
    141     def featureOfInterest(self):         
    142         return self._om_discretecoverageobservation.featureOfInterest 
    143  
    144     @featureOfInterest.setter 
    145     def featureOfInterest(self, value):  
    146             self._om_discretecoverageobservation.featureOfInterest = value 
    147  
    148     @property 
    149     def relatedObservation(self):        
    150         return self._om_discretecoverageobservation.relatedObservation 
    151  
    152     @relatedObservation.setter 
    153     def relatedObservation(self, value):         
    154             self._om_discretecoverageobservation.relatedObservation = value 
    155  
    156     @property 
    157     def phenomenonTime(self):    
    158         return self._om_discretecoverageobservation.phenomenonTime 
    159  
    160     @phenomenonTime.setter 
    161     def phenomenonTime(self, value):     
    162             self._om_discretecoverageobservation.phenomenonTime = value 
    163  
    164     @property 
    165     def resultQuality(self):     
    166         return self._om_discretecoverageobservation.resultQuality 
    167  
    168     @resultQuality.setter 
    169     def resultQuality(self, value):      
    170             self._om_discretecoverageobservation.resultQuality = value 
    171  
    172     @property 
    173     def validTime(self):         
    174         return self._om_discretecoverageobservation.validTime 
    175  
    176     @validTime.setter 
    177     def validTime(self, value):  
    178             self._om_discretecoverageobservation.validTime = value 
    179  
    180171    def __key(self): 
    181         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     172        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    182173 
    183174    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/temporalobservation/om_temporalobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:27 
     25Created on 16-Feb-2012 16:18:07 
    2626 
    2727@author: mnagni 
     
    4242        self._om_observation = OM_Observation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
     46        self._featureOfInterest_mo_featureofinterest = None 
     47        self._featureOfInterest_gfi_domainfeature = None 
     48        self._procedure_ceda_compositeprocess = None 
    4549        self._procedure_ceda_acquisition = None 
    4650        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
     62        self.result = None 
     63        self._result_tm_primitive = None 
    4864        self._result_tm_complex = None 
    49         self._result_tm_primitive = None 
    50         self.result = None 
    5165        self.resultTime = None 
     66        self.validTime = None 
     67        self._resultQuality_dq_logicalconsistency = [] 
     68        self._resultQuality_dq_thematicaccuracy = [] 
     69        self._resultQuality_qe_usability = [] 
     70        self._resultQuality_dq_completeness = [] 
     71        self._resultQuality_dq_positionalaccuracy = [] 
     72        self._resultQuality_dq_temporalaccuracy = [] 
     73        self._observedProperty_gf_attributetype = None 
    5274        self._observedProperty_gf_associationrole = None 
    53         self._observedProperty_gf_attributetype = None 
    5475        self._observedProperty_gf_operation = None 
    5576        self.parameter = [] 
    56         self.metadata = None 
    57         self._featureOfInterest_mo_featureofinterest = None 
    58         self._featureOfInterest_sf_samplingfeature = None 
    59         self._featureOfInterest_gfi_domainfeature = None 
    60         self._relatedObservation_om_measurement = [] 
    61         self._relatedObservation_om_complexobservation = [] 
    62         self._relatedObservation_om_countobservation = [] 
    63         self._relatedObservation_om_temporalobservation = [] 
    64         self._relatedObservation_mo_observation = [] 
    65         self._relatedObservation_om_geometryobservation = [] 
    66         self._relatedObservation_om_truthobservation = [] 
    67         self._relatedObservation_om_categoryobservation = [] 
    68         self._relatedObservation_om_discretecoverageobservation = [] 
    69         self._phenomenonTime_tm_complex = None 
    70         self._phenomenonTime_tm_primitive = None 
    71         self._resultQuality_dq_completeness = [] 
    72         self._resultQuality_qe_usability = [] 
    73         self._resultQuality_dq_temporalaccuracy = [] 
    74         self._resultQuality_dq_logicalconsistency = [] 
    75         self._resultQuality_dq_thematicaccuracy = [] 
    76         self._resultQuality_dq_positionalaccuracy = [] 
    77         self.validTime = None 
    7877        super(OM_TemporalObservation, self).__init__() 
    79  
    80     @property 
    81     def procedure(self):         
    82         return self._om_observation.procedure 
    83  
    84     @procedure.setter 
    85     def procedure(self, value):  
    86             self._om_observation.procedure = value 
    87  
    88     @property 
    89     def procedure(self):         
    90         return self._om_observation.procedure 
    91  
    92     @procedure.setter 
    93     def procedure(self, value):  
    94             self._om_observation.procedure = value 
    95  
    96     @property 
    97     def result(self):    
    98         if(has_value(self._result_tm_complex)): 
    99             return self._result_tm_complex 
    100         if(has_value(self._result_tm_primitive)): 
    101             return self._result_tm_primitive 
    102         return  None 
    103  
    104     @result.setter 
    105     def result(self, value):     
    106         valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    107         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex.TM_Complex": 
    108             self._result_tm_complex = value 
    109             self._result_tm_primitive = None 
    110         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
    111             self._result_tm_primitive = value 
    112             self._result_tm_complex = None 
    113  
    114     @property 
    115     def result(self):    
    116         return self._om_observation.result 
    117  
    118     @result.setter 
    119     def result(self, value):     
    120             self._om_observation.result = value 
    121  
    122     @property 
    123     def resultTime(self):        
    124         return self._om_observation.resultTime 
    125  
    126     @resultTime.setter 
    127     def resultTime(self, value):         
    128             self._om_observation.resultTime = value 
    129  
    130     @property 
    131     def observedProperty(self):  
    132         return self._om_observation.observedProperty 
    133  
    134     @observedProperty.setter 
    135     def observedProperty(self, value):   
    136             self._om_observation.observedProperty = value 
    137  
    138     @property 
    139     def parameter(self):         
    140         return self._om_observation.parameter 
    141  
    142     @parameter.setter 
    143     def parameter(self, value):  
    144             self._om_observation.parameter = value 
    14578 
    14679    @property 
     
    16194 
    16295    @property 
     96    def procedure(self):         
     97        return self._om_observation.procedure 
     98 
     99    @procedure.setter 
     100    def procedure(self, value):  
     101            self._om_observation.procedure = value 
     102 
     103    @property 
    163104    def relatedObservation(self):        
    164105        return self._om_observation.relatedObservation 
     
    177118 
    178119    @property 
    179     def resultQuality(self):     
    180         return self._om_observation.resultQuality 
     120    def result(self):    
     121        return self._om_observation.result 
    181122 
    182     @resultQuality.setter 
    183     def resultQuality(self, value):      
    184             self._om_observation.resultQuality = value 
     123    @result.setter 
     124    def result(self, value):     
     125            self._om_observation.result = value 
     126 
     127    @property 
     128    def result(self):    
     129        if(has_value(self._result_tm_primitive)): 
     130            return self._result_tm_primitive 
     131        if(has_value(self._result_tm_complex)): 
     132            return self._result_tm_complex 
     133        return  None 
     134 
     135    @result.setter 
     136    def result(self, value):     
     137        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     138        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
     139            self._result_tm_primitive = value 
     140            self._result_tm_complex = None 
     141        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex.TM_Complex": 
     142            self._result_tm_complex = value 
     143            self._result_tm_primitive = None 
     144 
     145    @property 
     146    def resultTime(self):        
     147        return self._om_observation.resultTime 
     148 
     149    @resultTime.setter 
     150    def resultTime(self, value):         
     151            self._om_observation.resultTime = value 
    185152 
    186153    @property 
     
    192159            self._om_observation.validTime = value 
    193160 
     161    @property 
     162    def resultQuality(self):     
     163        return self._om_observation.resultQuality 
     164 
     165    @resultQuality.setter 
     166    def resultQuality(self, value):      
     167            self._om_observation.resultQuality = value 
     168 
     169    @property 
     170    def observedProperty(self):  
     171        return self._om_observation.observedProperty 
     172 
     173    @observedProperty.setter 
     174    def observedProperty(self, value):   
     175            self._om_observation.observedProperty = value 
     176 
     177    @property 
     178    def parameter(self):         
     179        return self._om_observation.parameter 
     180 
     181    @parameter.setter 
     182    def parameter(self, value):  
     183            self._om_observation.parameter = value 
     184 
    194185    def __key(self): 
    195         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     186        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    196187 
    197188    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/timeseriesobservation/om_timeseriesobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:28 
     25Created on 16-Feb-2012 16:18:11 
    2626 
    2727@author: mnagni 
     
    4242        self._om_discretecoverageobservation = OM_DiscreteCoverageObservation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
     46        self._featureOfInterest_mo_featureofinterest = None 
     47        self._featureOfInterest_gfi_domainfeature = None 
     48        self._procedure_ceda_compositeprocess = None 
    4549        self._procedure_ceda_acquisition = None 
    4650        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
    48         self.result = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
     62        self._result_cv_discretegridpointcoverage = None 
    4963        self._result_cvt_discretetimeinstantcoverage = None 
    5064        self._result_cv_discretesurfacecoverage = None 
    51         self._result_cv_discretesolidcoverage = None 
    52         self._result_cv_discretegridpointcoverage = None 
    5365        self._result_cv_discretecurvecoverage = None 
    5466        self._result_cv_discretepointcoverage = None 
     67        self._result_cv_discretesolidcoverage = None 
     68        self.result = None 
    5569        self.resultTime = None 
     70        self.validTime = None 
     71        self._resultQuality_dq_logicalconsistency = [] 
     72        self._resultQuality_dq_thematicaccuracy = [] 
     73        self._resultQuality_qe_usability = [] 
     74        self._resultQuality_dq_completeness = [] 
     75        self._resultQuality_dq_positionalaccuracy = [] 
     76        self._resultQuality_dq_temporalaccuracy = [] 
     77        self._observedProperty_gf_attributetype = None 
    5678        self._observedProperty_gf_associationrole = None 
    57         self._observedProperty_gf_attributetype = None 
    5879        self._observedProperty_gf_operation = None 
    5980        self.parameter = [] 
    60         self.metadata = None 
    61         self._featureOfInterest_mo_featureofinterest = None 
    62         self._featureOfInterest_sf_samplingfeature = None 
    63         self._featureOfInterest_gfi_domainfeature = None 
    64         self._relatedObservation_om_measurement = [] 
    65         self._relatedObservation_om_complexobservation = [] 
    66         self._relatedObservation_om_countobservation = [] 
    67         self._relatedObservation_om_temporalobservation = [] 
    68         self._relatedObservation_mo_observation = [] 
    69         self._relatedObservation_om_geometryobservation = [] 
    70         self._relatedObservation_om_truthobservation = [] 
    71         self._relatedObservation_om_categoryobservation = [] 
    72         self._relatedObservation_om_discretecoverageobservation = [] 
    73         self._phenomenonTime_tm_complex = None 
    74         self._phenomenonTime_tm_primitive = None 
    75         self._resultQuality_dq_completeness = [] 
    76         self._resultQuality_qe_usability = [] 
    77         self._resultQuality_dq_temporalaccuracy = [] 
    78         self._resultQuality_dq_logicalconsistency = [] 
    79         self._resultQuality_dq_thematicaccuracy = [] 
    80         self._resultQuality_dq_positionalaccuracy = [] 
    81         self.validTime = None 
    8281        super(OM_TimeSeriesObservation, self).__init__() 
     82 
     83    @property 
     84    def metadata(self):  
     85        return self._om_discretecoverageobservation.metadata 
     86 
     87    @metadata.setter 
     88    def metadata(self, value):   
     89            self._om_discretecoverageobservation.metadata = value 
     90 
     91    @property 
     92    def featureOfInterest(self):         
     93        return self._om_discretecoverageobservation.featureOfInterest 
     94 
     95    @featureOfInterest.setter 
     96    def featureOfInterest(self, value):  
     97            self._om_discretecoverageobservation.featureOfInterest = value 
    8398 
    8499    @property 
     
    91106 
    92107    @property 
    93     def procedure(self):         
    94         return self._om_discretecoverageobservation.procedure 
     108    def relatedObservation(self):        
     109        return self._om_discretecoverageobservation.relatedObservation 
    95110 
    96     @procedure.setter 
    97     def procedure(self, value):  
    98             self._om_discretecoverageobservation.procedure = value 
     111    @relatedObservation.setter 
     112    def relatedObservation(self, value):         
     113            self._om_discretecoverageobservation.relatedObservation = value 
     114 
     115    @property 
     116    def phenomenonTime(self):    
     117        return self._om_discretecoverageobservation.phenomenonTime 
     118 
     119    @phenomenonTime.setter 
     120    def phenomenonTime(self, value):     
     121            self._om_discretecoverageobservation.phenomenonTime = value 
    99122 
    100123    @property 
     
    115138 
    116139    @property 
     140    def validTime(self):         
     141        return self._om_discretecoverageobservation.validTime 
     142 
     143    @validTime.setter 
     144    def validTime(self, value):  
     145            self._om_discretecoverageobservation.validTime = value 
     146 
     147    @property 
     148    def resultQuality(self):     
     149        return self._om_discretecoverageobservation.resultQuality 
     150 
     151    @resultQuality.setter 
     152    def resultQuality(self, value):      
     153            self._om_discretecoverageobservation.resultQuality = value 
     154 
     155    @property 
    117156    def observedProperty(self):  
    118157        return self._om_discretecoverageobservation.observedProperty 
     
    130169            self._om_discretecoverageobservation.parameter = value 
    131170 
    132     @property 
    133     def metadata(self):  
    134         return self._om_discretecoverageobservation.metadata 
    135  
    136     @metadata.setter 
    137     def metadata(self, value):   
    138             self._om_discretecoverageobservation.metadata = value 
    139  
    140     @property 
    141     def featureOfInterest(self):         
    142         return self._om_discretecoverageobservation.featureOfInterest 
    143  
    144     @featureOfInterest.setter 
    145     def featureOfInterest(self, value):  
    146             self._om_discretecoverageobservation.featureOfInterest = value 
    147  
    148     @property 
    149     def relatedObservation(self):        
    150         return self._om_discretecoverageobservation.relatedObservation 
    151  
    152     @relatedObservation.setter 
    153     def relatedObservation(self, value):         
    154             self._om_discretecoverageobservation.relatedObservation = value 
    155  
    156     @property 
    157     def phenomenonTime(self):    
    158         return self._om_discretecoverageobservation.phenomenonTime 
    159  
    160     @phenomenonTime.setter 
    161     def phenomenonTime(self, value):     
    162             self._om_discretecoverageobservation.phenomenonTime = value 
    163  
    164     @property 
    165     def resultQuality(self):     
    166         return self._om_discretecoverageobservation.resultQuality 
    167  
    168     @resultQuality.setter 
    169     def resultQuality(self, value):      
    170             self._om_discretecoverageobservation.resultQuality = value 
    171  
    172     @property 
    173     def validTime(self):         
    174         return self._om_discretecoverageobservation.validTime 
    175  
    176     @validTime.setter 
    177     def validTime(self, value):  
    178             self._om_discretecoverageobservation.validTime = value 
    179  
    180171    def __key(self): 
    181         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     172        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    182173 
    183174    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/observation_schema/truthobservation/om_truthobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4343 
    4444        self.metadata = None 
     45        self._featureOfInterest_sf_samplingfeature = None 
    4546        self._featureOfInterest_mo_featureofinterest = None 
    46         self._featureOfInterest_sf_samplingfeature = None 
    4747        self._featureOfInterest_gfi_domainfeature = None 
    48         self._phenomenonTime_tm_complex = None 
    49         self._phenomenonTime_tm_primitive = None 
    50         self._relatedObservation_om_measurement = [] 
    51         self._relatedObservation_om_complexobservation = [] 
    52         self._relatedObservation_om_countobservation = [] 
    53         self._relatedObservation_om_temporalobservation = [] 
    54         self._relatedObservation_mo_observation = [] 
    55         self._relatedObservation_om_geometryobservation = [] 
    56         self._relatedObservation_om_truthobservation = [] 
    57         self._relatedObservation_om_categoryobservation = [] 
    58         self._relatedObservation_om_discretecoverageobservation = [] 
     48        self._procedure_ceda_compositeprocess = None 
    5949        self._procedure_ceda_acquisition = None 
    6050        self._procedure_ceda_processing = None 
    61         self._procedure_ceda_compositeprocess = None 
    62         self.procedure = None 
     51        self._relatedObservation_om_discretecoverageobservation = [] 
     52        self._relatedObservation_om_temporalobservation = [] 
     53        self._relatedObservation_om_measurement = [] 
     54        self._relatedObservation_mo_observation = [] 
     55        self._relatedObservation_om_truthobservation = [] 
     56        self._relatedObservation_om_countobservation = [] 
     57        self._relatedObservation_om_categoryobservation = [] 
     58        self._relatedObservation_om_geometryobservation = [] 
     59        self._relatedObservation_om_complexobservation = [] 
     60        self._phenomenonTime_tm_primitive = None 
     61        self._phenomenonTime_tm_complex = None 
    6362        self.result = None 
    6463        self.resultTime = None 
    6564        self.validTime = None 
    66         self._resultQuality_dq_completeness = [] 
    67         self._resultQuality_qe_usability = [] 
    68         self._resultQuality_dq_temporalaccuracy = [] 
    6965        self._resultQuality_dq_logicalconsistency = [] 
    7066        self._resultQuality_dq_thematicaccuracy = [] 
     67        self._resultQuality_qe_usability = [] 
     68        self._resultQuality_dq_completeness = [] 
    7169        self._resultQuality_dq_positionalaccuracy = [] 
     70        self._resultQuality_dq_temporalaccuracy = [] 
     71        self._observedProperty_gf_attributetype = None 
    7272        self._observedProperty_gf_associationrole = None 
    73         self._observedProperty_gf_attributetype = None 
    7473        self._observedProperty_gf_operation = None 
    7574        self.parameter = [] 
     
    9392 
    9493    @property 
    95     def phenomenonTime(self):    
    96         return self._om_observation.phenomenonTime 
     94    def procedure(self):         
     95        return self._om_observation.procedure 
    9796 
    98     @phenomenonTime.setter 
    99     def phenomenonTime(self, value):     
    100             self._om_observation.phenomenonTime = value 
     97    @procedure.setter 
     98    def procedure(self, value):  
     99            self._om_observation.procedure = value 
    101100 
    102101    @property 
     
    109108 
    110109    @property 
    111     def procedure(self):         
    112         return self._om_observation.procedure 
     110    def phenomenonTime(self):    
     111        return self._om_observation.phenomenonTime 
    113112 
    114     @procedure.setter 
    115     def procedure(self, value):  
    116             self._om_observation.procedure = value 
    117  
    118     @property 
    119     def procedure(self):         
    120         return self._om_observation.procedure 
    121  
    122     @procedure.setter 
    123     def procedure(self, value):  
    124             self._om_observation.procedure = value 
     113    @phenomenonTime.setter 
     114    def phenomenonTime(self, value):     
     115            self._om_observation.phenomenonTime = value 
    125116 
    126117    @property 
     
    165156 
    166157    def __key(self): 
    167         return (self.metadata, self.featureOfInterest, self.phenomenonTime, self.relatedObservation, self.procedure, self.procedure, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
     158        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    168159 
    169160    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_coverage_observation/samplingcoverageobservation.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:37 
     25Created on 16-Feb-2012 16:18:08 
    2626 
    2727@author: mnagni 
     
    4242        self._om_discretecoverageobservation = OM_DiscreteCoverageObservation()          
    4343 
    44         self.procedure = None 
     44        self.metadata = None 
     45        self._featureOfInterest_sf_samplingsolid = None 
     46        self._featureOfInterest_sf_samplingpoint = None 
     47        self._featureOfInterest_sf_samplingsurface = None 
     48        self._featureOfInterest_sf_samplingcurve = None 
     49        self._procedure_ceda_compositeprocess = None 
    4550        self._procedure_ceda_acquisition = None 
    4651        self._procedure_ceda_processing = None 
    47         self._procedure_ceda_compositeprocess = None 
     52        self._relatedObservation_om_discretecoverageobservation = [] 
     53        self._relatedObservation_om_temporalobservation = [] 
     54        self._relatedObservation_om_measurement = [] 
     55        self._relatedObservation_mo_observation = [] 
     56        self._relatedObservation_om_truthobservation = [] 
     57        self._relatedObservation_om_countobservation = [] 
     58        self._relatedObservation_om_categoryobservation = [] 
     59        self._relatedObservation_om_geometryobservation = [] 
     60        self._relatedObservation_om_complexobservation = [] 
     61        self._phenomenonTime_tm_primitive = None 
     62        self._phenomenonTime_tm_complex = None 
     63        self.result = None 
     64        self._result_cv_discretegridpointcoverage = None 
    4865        self._result_cvt_discretetimeinstantcoverage = None 
    4966        self._result_cv_discretesurfacecoverage = None 
    50         self._result_cv_discretesolidcoverage = None 
    51         self._result_cv_discretegridpointcoverage = None 
    5267        self._result_cv_discretecurvecoverage = None 
    5368        self._result_cv_discretepointcoverage = None 
    54         self.result = None 
     69        self._result_cv_discretesolidcoverage = None 
    5570        self.resultTime = None 
     71        self.validTime = None 
     72        self._resultQuality_dq_logicalconsistency = [] 
     73        self._resultQuality_dq_thematicaccuracy = [] 
     74        self._resultQuality_qe_usability = [] 
     75        self._resultQuality_dq_completeness = [] 
     76        self._resultQuality_dq_positionalaccuracy = [] 
     77        self._resultQuality_dq_temporalaccuracy = [] 
     78        self._observedProperty_gf_attributetype = None 
    5679        self._observedProperty_gf_associationrole = None 
    57         self._observedProperty_gf_attributetype = None 
    5880        self._observedProperty_gf_operation = None 
    5981        self.parameter = [] 
    60         self.metadata = None 
    61         self._featureOfInterest_sf_samplingsurface = None 
    62         self._featureOfInterest_sf_samplingpoint = None 
    63         self._featureOfInterest_sf_samplingsolid = None 
    64         self._featureOfInterest_sf_samplingcurve = None 
    65         self._relatedObservation_om_measurement = [] 
    66         self._relatedObservation_om_complexobservation = [] 
    67         self._relatedObservation_om_countobservation = [] 
    68         self._relatedObservation_om_temporalobservation = [] 
    69         self._relatedObservation_mo_observation = [] 
    70         self._relatedObservation_om_geometryobservation = [] 
    71         self._relatedObservation_om_truthobservation = [] 
    72         self._relatedObservation_om_categoryobservation = [] 
    73         self._relatedObservation_om_discretecoverageobservation = [] 
    74         self._phenomenonTime_tm_complex = None 
    75         self._phenomenonTime_tm_primitive = None 
    76         self._resultQuality_dq_completeness = [] 
    77         self._resultQuality_qe_usability = [] 
    78         self._resultQuality_dq_temporalaccuracy = [] 
    79         self._resultQuality_dq_logicalconsistency = [] 
    80         self._resultQuality_dq_thematicaccuracy = [] 
    81         self._resultQuality_dq_positionalaccuracy = [] 
    82         self.validTime = None 
    8382        super(SamplingCoverageObservation, self).__init__() 
    84  
    85     @property 
    86     def procedure(self):         
    87         return self._om_discretecoverageobservation.procedure 
    88  
    89     @procedure.setter 
    90     def procedure(self, value):  
    91             self._om_discretecoverageobservation.procedure = value 
    92  
    93     @property 
    94     def procedure(self):         
    95         return self._om_discretecoverageobservation.procedure 
    96  
    97     @procedure.setter 
    98     def procedure(self, value):  
    99             self._om_discretecoverageobservation.procedure = value 
    100  
    101     @property 
    102     def result(self):    
    103         return self._om_discretecoverageobservation.result 
    104  
    105     @result.setter 
    106     def result(self, value):     
    107             self._om_discretecoverageobservation.result = value 
    108  
    109     @property 
    110     def result(self):    
    111         return self._om_discretecoverageobservation.result 
    112  
    113     @result.setter 
    114     def result(self, value):     
    115             self._om_discretecoverageobservation.result = value 
    116  
    117     @property 
    118     def resultTime(self):        
    119         return self._om_discretecoverageobservation.resultTime 
    120  
    121     @resultTime.setter 
    122     def resultTime(self, value):         
    123             self._om_discretecoverageobservation.resultTime = value 
    124  
    125     @property 
    126     def observedProperty(self):  
    127         return self._om_discretecoverageobservation.observedProperty 
    128  
    129     @observedProperty.setter 
    130     def observedProperty(self, value):   
    131             self._om_discretecoverageobservation.observedProperty = value 
    132  
    133     @property 
    134     def parameter(self):         
    135         return self._om_discretecoverageobservation.parameter 
    136  
    137     @parameter.setter 
    138     def parameter(self, value):  
    139             self._om_discretecoverageobservation.parameter = value 
    14083 
    14184    @property 
     
    14992    @property 
    15093    def featureOfInterest(self):         
     94        if(has_value(self._featureOfInterest_sf_samplingsolid)): 
     95            return self._featureOfInterest_sf_samplingsolid 
     96        if(has_value(self._featureOfInterest_sf_samplingpoint)): 
     97            return self._featureOfInterest_sf_samplingpoint 
    15198        if(has_value(self._featureOfInterest_sf_samplingsurface)): 
    15299            return self._featureOfInterest_sf_samplingsurface 
    153         if(has_value(self._featureOfInterest_sf_samplingpoint)): 
    154             return self._featureOfInterest_sf_samplingpoint 
    155         if(has_value(self._featureOfInterest_sf_samplingsolid)): 
    156             return self._featureOfInterest_sf_samplingsolid 
    157100        if(has_value(self._featureOfInterest_sf_samplingcurve)): 
    158101            return self._featureOfInterest_sf_samplingcurve 
     
    162105    def featureOfInterest(self, value):  
    163106        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    164         if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingsurface.sf_samplingsurface.SF_SamplingSurface": 
    165             self._featureOfInterest_sf_samplingsurface = value 
     107        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingsolid.sf_samplingsolid.SF_SamplingSolid": 
     108            self._featureOfInterest_sf_samplingsolid = value 
    166109            self._featureOfInterest_sf_samplingpoint = None 
    167             self._featureOfInterest_sf_samplingsolid = None 
     110            self._featureOfInterest_sf_samplingsurface = None 
    168111            self._featureOfInterest_sf_samplingcurve = None 
    169112        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingpoint.sf_samplingpoint.SF_SamplingPoint": 
    170113            self._featureOfInterest_sf_samplingpoint = value 
     114            self._featureOfInterest_sf_samplingsolid = None 
    171115            self._featureOfInterest_sf_samplingsurface = None 
     116            self._featureOfInterest_sf_samplingcurve = None 
     117        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingsurface.sf_samplingsurface.SF_SamplingSurface": 
     118            self._featureOfInterest_sf_samplingsurface = value 
    172119            self._featureOfInterest_sf_samplingsolid = None 
    173             self._featureOfInterest_sf_samplingcurve = None 
    174         if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingsolid.sf_samplingsolid.SF_SamplingSolid": 
    175             self._featureOfInterest_sf_samplingsolid = value 
    176             self._featureOfInterest_sf_samplingsurface = None 
    177120            self._featureOfInterest_sf_samplingpoint = None 
    178121            self._featureOfInterest_sf_samplingcurve = None 
    179122        if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingcurve.sf_samplingcurve.SF_SamplingCurve": 
    180123            self._featureOfInterest_sf_samplingcurve = value 
     124            self._featureOfInterest_sf_samplingsolid = None 
     125            self._featureOfInterest_sf_samplingpoint = None 
    181126            self._featureOfInterest_sf_samplingsurface = None 
    182             self._featureOfInterest_sf_samplingpoint = None 
    183             self._featureOfInterest_sf_samplingsolid = None 
     127 
     128    @property 
     129    def procedure(self):         
     130        return self._om_discretecoverageobservation.procedure 
     131 
     132    @procedure.setter 
     133    def procedure(self, value):  
     134            self._om_discretecoverageobservation.procedure = value 
    184135 
    185136    @property 
     
    200151 
    201152    @property 
     153    def result(self):    
     154        return self._om_discretecoverageobservation.result 
     155 
     156    @result.setter 
     157    def result(self, value):     
     158            self._om_discretecoverageobservation.result = value 
     159 
     160    @property 
     161    def result(self):    
     162        return self._om_discretecoverageobservation.result 
     163 
     164    @result.setter 
     165    def result(self, value):     
     166            self._om_discretecoverageobservation.result = value 
     167 
     168    @property 
     169    def resultTime(self):        
     170        return self._om_discretecoverageobservation.resultTime 
     171 
     172    @resultTime.setter 
     173    def resultTime(self, value):         
     174            self._om_discretecoverageobservation.resultTime = value 
     175 
     176    @property 
     177    def validTime(self):         
     178        return self._om_discretecoverageobservation.validTime 
     179 
     180    @validTime.setter 
     181    def validTime(self, value):  
     182            self._om_discretecoverageobservation.validTime = value 
     183 
     184    @property 
    202185    def resultQuality(self):     
    203186        return self._om_discretecoverageobservation.resultQuality 
     
    208191 
    209192    @property 
    210     def validTime(self):         
    211         return self._om_discretecoverageobservation.validTime 
    212  
    213     @validTime.setter 
    214     def validTime(self, value):  
    215             self._om_discretecoverageobservation.validTime = value 
     193    def observedProperty(self):  
     194        return self._om_discretecoverageobservation.observedProperty 
     195 
     196    @observedProperty.setter 
     197    def observedProperty(self, value):   
     198            self._om_discretecoverageobservation.observedProperty = value 
     199 
     200    @property 
     201    def parameter(self):         
     202        return self._om_discretecoverageobservation.parameter 
     203 
     204    @parameter.setter 
     205    def parameter(self, value):  
     206            self._om_discretecoverageobservation.parameter = value 
    216207 
    217208    def __key(self): 
    218         return (self.procedure, self.procedure, self.result, self.result, self.resultTime, self.observedProperty, self.parameter, self.metadata, self.featureOfInterest, self.relatedObservation, self.phenomenonTime, self.resultQuality, self.validTime) 
     209        return (self.metadata, self.featureOfInterest, self.procedure, self.relatedObservation, self.phenomenonTime, self.result, self.result, self.resultTime, self.validTime, self.resultQuality, self.observedProperty, self.parameter) 
    219210 
    220211    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingcurve/sf_samplingcurve.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:09 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_spatialsamplingfeature = SF_SpatialSamplingFeature()    
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingfeature/samplingfeaturecomplex.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:34 
     24Created on 16-Feb-2012 16:18:10 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingfeature/sf_samplingfeature.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:33 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._gfi_feature = GFI_Feature()        
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
     65        self.sampledFeature = [] 
     66        self._sampledFeature_sf_samplingfeature = [] 
    6567        self._sampledFeature_mo_featureofinterest = [] 
    66         self._sampledFeature_sf_samplingfeature = [] 
    6768        self._sampledFeature_gfi_domainfeature = [] 
    68         self.sampledFeature = [] 
    6969        self.parameter = [] 
    7070        super(SF_SamplingFeature, self).__init__() 
     
    7373    def relatedObservation(self):        
    7474        ret = [] 
     75        for item in self._relatedObservation_om_discretecoverageobservation: 
     76            ret.append(item) 
     77        for item in self._relatedObservation_om_temporalobservation: 
     78            ret.append(item) 
    7579        for item in self._relatedObservation_om_measurement: 
    7680            ret.append(item) 
     81        for item in self._relatedObservation_mo_observation: 
     82            ret.append(item) 
     83        for item in self._relatedObservation_om_truthobservation: 
     84            ret.append(item) 
     85        for item in self._relatedObservation_om_countobservation: 
     86            ret.append(item) 
     87        for item in self._relatedObservation_om_categoryobservation: 
     88            ret.append(item) 
     89        for item in self._relatedObservation_om_geometryobservation: 
     90            ret.append(item) 
    7791        for item in self._relatedObservation_om_complexobservation: 
    78             ret.append(item) 
    79         for item in self._relatedObservation_om_countobservation: 
    80             ret.append(item) 
    81         for item in self._relatedObservation_om_temporalobservation: 
    82             ret.append(item) 
    83         for item in self._relatedObservation_mo_observation: 
    84             ret.append(item) 
    85         for item in self._relatedObservation_om_geometryobservation: 
    86             ret.append(item) 
    87         for item in self._relatedObservation_om_truthobservation: 
    88             ret.append(item) 
    89         for item in self._relatedObservation_om_categoryobservation: 
    90             ret.append(item) 
    91         for item in self._relatedObservation_om_discretecoverageobservation: 
    9292            ret.append(item) 
    9393        return ret 
     
    9696    def relatedObservation(self, value):         
    9797        if isinstance(value, list): 
     98            self._relatedObservation_om_discretecoverageobservation[:] 
     99            self._relatedObservation_om_temporalobservation[:] 
    98100            self._relatedObservation_om_measurement[:] 
     101            self._relatedObservation_mo_observation[:] 
     102            self._relatedObservation_om_truthobservation[:] 
     103            self._relatedObservation_om_countobservation[:] 
     104            self._relatedObservation_om_categoryobservation[:] 
     105            self._relatedObservation_om_geometryobservation[:] 
    99106            self._relatedObservation_om_complexobservation[:] 
    100             self._relatedObservation_om_countobservation[:] 
    101             self._relatedObservation_om_temporalobservation[:] 
    102             self._relatedObservation_mo_observation[:] 
    103             self._relatedObservation_om_geometryobservation[:] 
    104             self._relatedObservation_om_truthobservation[:] 
    105             self._relatedObservation_om_categoryobservation[:] 
    106             self._relatedObservation_om_discretecoverageobservation[:] 
    107107            for item in value: 
    108108                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     109                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
     110                    self._relatedObservation_om_discretecoverageobservation.append(item) 
     111                    continue 
     112                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
     113                    self._relatedObservation_om_temporalobservation.append(item) 
     114                    continue 
    109115                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.measurement.om_measurement.OM_Measurement": 
    110116                    self._relatedObservation_om_measurement.append(item) 
    111117                    continue 
     118                if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
     119                    self._relatedObservation_mo_observation.append(item) 
     120                    continue 
     121                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
     122                    self._relatedObservation_om_truthobservation.append(item) 
     123                    continue 
     124                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
     125                    self._relatedObservation_om_countobservation.append(item) 
     126                    continue 
     127                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
     128                    self._relatedObservation_om_categoryobservation.append(item) 
     129                    continue 
     130                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
     131                    self._relatedObservation_om_geometryobservation.append(item) 
     132                    continue 
    112133                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation.OM_ComplexObservation": 
    113134                    self._relatedObservation_om_complexobservation.append(item) 
    114135                    continue 
    115                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation.OM_CountObservation": 
    116                     self._relatedObservation_om_countobservation.append(item) 
    117                     continue 
    118                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation.OM_TemporalObservation": 
    119                     self._relatedObservation_om_temporalobservation.append(item) 
    120                     continue 
    121                 if valueClass == "ea_model.moles3_4.observation.mo_observation.MO_Observation": 
    122                     self._relatedObservation_mo_observation.append(item) 
    123                     continue 
    124                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.geometryobservation.om_geometryobservation.OM_GeometryObservation": 
    125                     self._relatedObservation_om_geometryobservation.append(item) 
    126                     continue 
    127                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.truthobservation.om_truthobservation.OM_TruthObservation": 
    128                     self._relatedObservation_om_truthobservation.append(item) 
    129                     continue 
    130                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation.OM_CategoryObservation": 
    131                     self._relatedObservation_om_categoryobservation.append(item) 
    132                     continue 
    133                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation.OM_DiscreteCoverageObservation": 
    134                     self._relatedObservation_om_discretecoverageobservation.append(item) 
    135                     continue 
    136136 
    137137    @property 
    138138    def relatedSamplingFeature(self):    
    139139        ret = [] 
     140        for item in self._relatedSamplingFeature_sf_spatialsamplingfeature: 
     141            ret.append(item) 
    140142        for item in self._relatedSamplingFeature_sf_specimen: 
    141             ret.append(item) 
    142         for item in self._relatedSamplingFeature_sf_spatialsamplingfeature: 
    143143            ret.append(item) 
    144144        return ret 
     
    147147    def relatedSamplingFeature(self, value):     
    148148        if isinstance(value, list): 
     149            self._relatedSamplingFeature_sf_spatialsamplingfeature[:] 
    149150            self._relatedSamplingFeature_sf_specimen[:] 
    150             self._relatedSamplingFeature_sf_spatialsamplingfeature[:] 
    151151            for item in value: 
    152152                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     153                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature.SF_SpatialSamplingFeature": 
     154                    self._relatedSamplingFeature_sf_spatialsamplingfeature.append(item) 
     155                    continue 
    153156                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.specimen.sf_specimen.SF_Specimen": 
    154157                    self._relatedSamplingFeature_sf_specimen.append(item) 
    155                     continue 
    156                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature.SF_SpatialSamplingFeature": 
    157                     self._relatedSamplingFeature_sf_spatialsamplingfeature.append(item) 
    158158                    continue 
    159159 
     
    169169    def sampledFeature(self):    
    170170        ret = [] 
     171        for item in self._sampledFeature_sf_samplingfeature: 
     172            ret.append(item) 
    171173        for item in self._sampledFeature_mo_featureofinterest: 
    172             ret.append(item) 
    173         for item in self._sampledFeature_sf_samplingfeature: 
    174174            ret.append(item) 
    175175        for item in self._sampledFeature_gfi_domainfeature: 
     
    180180    def sampledFeature(self, value):     
    181181        if isinstance(value, list): 
     182            self._sampledFeature_sf_samplingfeature[:] 
    182183            self._sampledFeature_mo_featureofinterest[:] 
    183             self._sampledFeature_sf_samplingfeature[:] 
    184184            self._sampledFeature_gfi_domainfeature[:] 
    185185            for item in value: 
    186186                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     187                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingfeature.sf_samplingfeature.SF_SamplingFeature": 
     188                    self._sampledFeature_sf_samplingfeature.append(item) 
     189                    continue 
    187190                if valueClass == "ea_model.moles3_4.featureofinterest.mo_featureofinterest.MO_FeatureOfInterest": 
    188191                    self._sampledFeature_mo_featureofinterest.append(item) 
    189                     continue 
    190                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingfeature.sf_samplingfeature.SF_SamplingFeature": 
    191                     self._sampledFeature_sf_samplingfeature.append(item) 
    192192                    continue 
    193193                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.general_feature_instance.gfi_domainfeature.GFI_DomainFeature": 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingfeature/sf_samplingfeaturecollection.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:36 
     24Created on 16-Feb-2012 16:18:08 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._member_sf_spatialsamplingfeature = [] 
    4243        self._member_sf_specimen = [] 
    43         self._member_sf_spatialsamplingfeature = [] 
    4444        super(SF_SamplingFeatureCollection, self).__init__() 
    4545 
     
    4747    def member(self):    
    4848        ret = [] 
     49        for item in self._member_sf_spatialsamplingfeature: 
     50            ret.append(item) 
    4951        for item in self._member_sf_specimen: 
    50             ret.append(item) 
    51         for item in self._member_sf_spatialsamplingfeature: 
    5252            ret.append(item) 
    5353        return ret 
     
    5656    def member(self, value):     
    5757        if isinstance(value, list): 
     58            self._member_sf_spatialsamplingfeature[:] 
    5859            self._member_sf_specimen[:] 
    59             self._member_sf_spatialsamplingfeature[:] 
    6060            for item in value: 
    6161                valueClass = "%s.%s" % (type(item).__module__,type(item).__name__) 
     62                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature.SF_SpatialSamplingFeature": 
     63                    self._member_sf_spatialsamplingfeature.append(item) 
     64                    continue 
    6265                if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.specimen.sf_specimen.SF_Specimen": 
    6366                    self._member_sf_specimen.append(item) 
    64                     continue 
    65                 if valueClass == "ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature.SF_SpatialSamplingFeature": 
    66                     self._member_sf_spatialsamplingfeature.append(item) 
    6767                    continue 
    6868 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingpoint/sf_samplingpoint.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:34 
     25Created on 16-Feb-2012 16:18:00 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_spatialsamplingfeature = SF_SpatialSamplingFeature()    
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingsolid/sf_samplingsolid.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:32 
     25Created on 16-Feb-2012 16:18:05 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_spatialsamplingfeature = SF_SpatialSamplingFeature()    
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/samplingsurface/sf_samplingsurface.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:36 
     25Created on 16-Feb-2012 16:18:08 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_spatialsamplingfeature = SF_SpatialSamplingFeature()    
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.shape = None 
    7676        self.hostedProcedure = [] 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/spatialsamplingfeature/sf_spatialsamplingfeature.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:29 
     25Created on 16-Feb-2012 16:18:10 
    2626 
    2727@author: mnagni 
     
    4242        self._sf_samplingfeature = SF_SamplingFeature()          
    4343 
     44        self._relatedObservation_om_discretecoverageobservation = [] 
     45        self._relatedObservation_om_temporalobservation = [] 
    4446        self._relatedObservation_om_measurement = [] 
     47        self._relatedObservation_mo_observation = [] 
     48        self._relatedObservation_om_truthobservation = [] 
     49        self._relatedObservation_om_countobservation = [] 
     50        self._relatedObservation_om_categoryobservation = [] 
     51        self._relatedObservation_om_geometryobservation = [] 
    4552        self._relatedObservation_om_complexobservation = [] 
    46         self._relatedObservation_om_countobservation = [] 
    47         self._relatedObservation_om_temporalobservation = [] 
    48         self._relatedObservation_mo_observation = [] 
    49         self._relatedObservation_om_geometryobservation = [] 
    50         self._relatedObservation_om_truthobservation = [] 
    51         self._relatedObservation_om_categoryobservation = [] 
    52         self._relatedObservation_om_discretecoverageobservation = [] 
    5353        self.lineage = None 
     54        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    5455        self._relatedSamplingFeature_sf_specimen = [] 
    55         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     56        self._propertyValueProvider_om_discretecoverageobservation = [] 
     57        self._propertyValueProvider_om_temporalobservation = [] 
    5658        self._propertyValueProvider_om_measurement = [] 
     59        self._propertyValueProvider_mo_observation = [] 
     60        self._propertyValueProvider_om_truthobservation = [] 
     61        self._propertyValueProvider_om_countobservation = [] 
     62        self._propertyValueProvider_om_categoryobservation = [] 
     63        self._propertyValueProvider_om_geometryobservation = [] 
    5764        self._propertyValueProvider_om_complexobservation = [] 
    58         self._propertyValueProvider_om_countobservation = [] 
    59         self._propertyValueProvider_om_temporalobservation = [] 
    60         self._propertyValueProvider_mo_observation = [] 
    61         self._propertyValueProvider_om_geometryobservation = [] 
    62         self._propertyValueProvider_om_truthobservation = [] 
    63         self._propertyValueProvider_om_categoryobservation = [] 
    64         self._propertyValueProvider_om_discretecoverageobservation = [] 
    6565        self._positionalAccuracy_dq_griddeddatapositionalaccuracy = [] 
    6666        self._positionalAccuracy_dq_relativeinternalpositionalaccuracy = [] 
    6767        self._positionalAccuracy_dq_absoluteexternalpositionalaccuracy = [] 
     68        self.sampledFeature = [] 
     69        self._sampledFeature_sf_samplingfeature = [] 
    6870        self._sampledFeature_mo_featureofinterest = [] 
    69         self._sampledFeature_sf_samplingfeature = [] 
    7071        self._sampledFeature_gfi_domainfeature = [] 
    71         self.sampledFeature = [] 
     72        self._shape_gm_complex = None 
    7273        self._shape_gm_primitive = None 
    7374        self._shape_gm_aggregate = None 
    74         self._shape_gm_complex = None 
    7575        self.hostedProcedure = [] 
    7676        self.parameter = [] 
     
    156156    @property 
    157157    def shape(self):     
     158        if(has_value(self._shape_gm_complex)): 
     159            return self._shape_gm_complex 
    158160        if(has_value(self._shape_gm_primitive)): 
    159161            return self._shape_gm_primitive 
    160162        if(has_value(self._shape_gm_aggregate)): 
    161163            return self._shape_gm_aggregate 
    162         if(has_value(self._shape_gm_complex)): 
    163             return self._shape_gm_complex 
    164164        return  None 
    165165 
     
    167167    def shape(self, value):      
    168168        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    169         if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive.GM_Primitive": 
    170             self._shape_gm_primitive = value 
    171             self._shape_gm_aggregate = None 
    172             self._shape_gm_complex = None 
    173         if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_aggregates.gm_aggregate.GM_Aggregate": 
    174             self._shape_gm_aggregate = value 
    175             self._shape_gm_primitive = None 
    176             self._shape_gm_complex = None 
    177169        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_complex.GM_Complex": 
    178170            self._shape_gm_complex = value 
    179171            self._shape_gm_primitive = None 
    180172            self._shape_gm_aggregate = None 
     173        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive.GM_Primitive": 
     174            self._shape_gm_primitive = value 
     175            self._shape_gm_complex = None 
     176            self._shape_gm_aggregate = None 
     177        if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_aggregates.gm_aggregate.GM_Aggregate": 
     178            self._shape_gm_aggregate = value 
     179            self._shape_gm_complex = None 
     180            self._shape_gm_primitive = None 
    181181 
    182182    @property 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/specimen/location.py

    r8089 r8091  
    2525 
    2626''' 
    27 Created on 14-Feb-2012 17:19:36 
     27Created on 16-Feb-2012 16:18:09 
    2828 
    2929@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/specimen/preparationstep.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:34 
     24Created on 16-Feb-2012 16:18:10 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._time_tm_primitive = None 
    4243        self._time_tm_complex = None 
    43         self._time_tm_primitive = None 
    4444        self.processOperator = None 
    4545        super(PreparationStep, self).__init__() 
     
    4747    @property 
    4848    def time(self):      
     49        if(has_value(self._time_tm_primitive)): 
     50            return self._time_tm_primitive 
    4951        if(has_value(self._time_tm_complex)): 
    5052            return self._time_tm_complex 
    51         if(has_value(self._time_tm_primitive)): 
    52             return self._time_tm_primitive 
    5353        return  None 
    5454 
     
    5656    def time(self, value):       
    5757        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     58        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
     59            self._time_tm_primitive = value 
     60            self._time_tm_complex = None 
    5861        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_complex.TM_Complex": 
    5962            self._time_tm_complex = value 
    6063            self._time_tm_primitive = None 
    61         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_primitive.TM_Primitive": 
    62             self._time_tm_primitive = value 
    63             self._time_tm_complex = None 
    6464 
    6565    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/specimen/sf_process.py

    r8089 r8091  
    2222 
    2323''' 
    24 Created on 14-Feb-2012 17:19:35 
     24Created on 16-Feb-2012 16:18:09 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19156_2011_observations_and_measurements/sampling_features/specimen/sf_specimen.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:28 
     25Created on 16-Feb-2012 16:18:07 
    2626 
    2727@author: mnagni 
     
    4343 
    4444        self.samplingMethod = None 
     45        self._samplingTime_tm_primitive = None 
    4546        self._samplingTime_tm_complex = None 
    46         self._samplingTime_tm_primitive = None 
     47        self.size = None 
    4748        self.currentLocation = None 
    48         self.size = None 
     49        self._samplingLocation_gm_complex = None 
    4950        self._samplingLocation_gm_primitive = None 
    5051        self._samplingLocation_gm_aggregate = None 
    51         self._samplingLocation_gm_complex = None 
    5252        self.processingDetails = [] 
     53        self._sampledFeature_sf_samplingfeature = [] 
    5354        self._sampledFeature_mo_featureofinterest = [] 
    54         self._sampledFeature_sf_samplingfeature = [] 
    5555        self._sampledFeature_gfi_domainfeature = [] 
    5656        self.sampledFeature = [] 
    5757        self.parameter = [] 
     58        self._relatedObservation_om_discretecoverageobservation = [] 
     59        self._relatedObservation_om_temporalobservation = [] 
    5860        self._relatedObservation_om_measurement = [] 
     61        self._relatedObservation_mo_observation = [] 
     62        self._relatedObservation_om_truthobservation = [] 
     63        self._relatedObservation_om_countobservation = [] 
     64        self._relatedObservation_om_categoryobservation = [] 
     65        self._relatedObservation_om_geometryobservation = [] 
    5966        self._relatedObservation_om_complexobservation = [] 
    60         self._relatedObservation_om_countobservation = [] 
    61         self._relatedObservation_om_temporalobservation = [] 
    62         self._relatedObservation_mo_observation = [] 
    63         self._relatedObservation_om_geometryobservation = [] 
    64         self._relatedObservation_om_truthobservation = [] 
    65         self._relatedObservation_om_categoryobservation = [] 
    66         self._relatedObservation_om_discretecoverageobservation = [] 
    6767        self.lineage = None 
     68        self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
    6869        self._relatedSamplingFeature_sf_specimen = [] 
    69         self._relatedSamplingFeature_sf_spatialsamplingfeature = [] 
     70        self._propertyValueProvider_om_discretecoverageobservation = [] 
     71        self._propertyValueProvider_om_temporalobservation = [] 
    7072        self._propertyValueProvider_om_measurement = [] 
     73        self._propertyValueProvider_mo_observation = [] 
     74        self._propertyValueProvider_om_truthobservation = [] 
     75        self._propertyValueProvider_om_countobservation = [] 
     76        self._propertyValueProvider_om_categoryobservation = [] 
     77        self._propertyValueProvider_om_geometryobservation = [] 
    7178        self._propertyValueProvider_om_complexobservation = [] 
    72         self._propertyValueProvider_om_countobservation = [] 
    73         self._propertyValueProvider_om_temporalobservation = [] 
    74         self._propertyValueProvider_mo_observation = [] 
    75         self._propertyValueProvider_om_geometryobservation = [] 
    76         self._propertyValueProvider_om_truthobservation = [] 
    77         self._propertyValueProvider_om_categoryobservation = [] 
    78         self._propertyValueProvider_om_discretecoverageobservation = [] 
    7979