Changeset 8427 for mauRepo


Ignore:
Timestamp:
03/07/12 15:52:08 (7 years ago)
Author:
mnagni
Message:

Updated sqlTable.

Location:
mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/__init__.py

    r8397 r8427  
    1 __version__ = '0.1.0' 
     1__version__ = '0.1.1' 
  • mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/sqlTables.py

    r8397 r8427  
    66 
    77         
     8from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive import  GM_Primitive       
    89from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_crs import  SC_CRS    
    9 from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitive import  GM_Primitive       
    1010from ea_model.iso_19115_2006_metadata_corrigendum.spatial_representation_information.md_cellgeometrycode import  MD_CellGeometryCode     
    1111from ea_model.iso_19111_referencing_by_coordinates.datums.cd_geodeticdatum import  CD_GeodeticDatum      
     
    1919from ea_model.iso_19111_referencing_by_coordinates.reference_systems.rs_referencesystem import  RS_ReferenceSystem       
    2020from ea_model.iso_19115_2006_metadata_corrigendum.portrayal_catalogue_information.md_portrayalcataloguereference import  MD_PortrayalCatalogueReference  
     21from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_parametriccurvesurface import  GM_ParametricCurveSurface     
    2122from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_ring import  GM_Ring         
    22 from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_parametriccurvesurface import  GM_ParametricCurveSurface     
    2323from ea_model.iso_19133_tracking_and_navigation.tracking.linear_reference_systems.lr_referencemarker import  LR_ReferenceMarker  
    2424from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_verticalcs import  CS_VerticalCS        
     
    2727from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.unitofmeasure import  UnitOfMeasure    
    2828from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.genericname import  GenericName    
     29from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_coordinate import  TM_Coordinate       
    2930from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_compositesurface import  GM_CompositeSurface   
    30 from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_coordinate import  TM_Coordinate       
    3131from ea_model.iso_19133_tracking_and_navigation.tracking.linear_reference_systems.lr_offsetexpression import  LR_OffsetExpression        
    3232from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.recordtype import  RecordType         
     
    4747from ea_model.informative.spatial_examples_from_iso_19107.application_schema.topology_simple.cellular_topology.cellularcomplex import  CellularComplex   
    4848from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.time import  Time      
     49from ea_model.informative.spatial_examples_from_iso_19107.application_schema.simplicial_topology.simplicialcomplex import  SimplicialComplex     
    4950from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_distributor import  MD_Distributor         
    50 from ea_model.informative.spatial_examples_from_iso_19107.application_schema.simplicial_topology.simplicialcomplex import  SimplicialComplex     
    5151from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directededge import  TP_DirectedEdge       
     52from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_conversion import  CC_Conversion     
    5253from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.membername import  MemberName      
    53 from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_conversion import  CC_Conversion     
    5454from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.length import  Length  
    5555from ea_model.ceda_metadatamodel.ceda_utilities.ceda_reviewfrequencyvalue import  CEDA_ReviewFrequencyValue      
    5656from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.localname import  LocalName        
     57from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationtype import  GF_AssociationType      
    5758from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_orientablecurve import  NL_OrientableCurve        
    58 from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_associationtype import  GF_AssociationType      
    5959from ea_model.iso_19123_2005_coverages.coverages.hexagonal_grid.cv_hexagonalgridcoverage import  CV_HexagonalGridCoverage        
    6060from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretecoverage import  CV_DiscreteCoverage      
    6161from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_clock import  TM_Clock         
    6262from ea_model.iso_19103_2005_schema_language.basic_types.derived.units_of_measure.measuretype import  MeasureType        
     63from ea_model.moles3_4.observationprocess.mo_process import  MO_Process  
    6364from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_projectedcrs import  SC_ProjectedCRS  
    64 from ea_model.moles3_4.observationprocess.mo_process import  MO_Process  
    6565from ea_model.iso_19115_2006_metadata_corrigendum.content_information.md_rangedimension import  MD_RangeDimension        
    6666from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretecurvecoverage import  CV_DiscreteCurveCoverage    
    6767from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_series import  DS_Series   
     68from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_propertytype import  GF_PropertyType    
    6869from ea_model.iso_19133_tracking_and_navigation.tracking.linear_reference_systems.lr_linearreferencemethod import  LR_LinearReferenceMethod      
    69 from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_propertytype import  GF_PropertyType    
    7070from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_geometryvaluepair import  CV_GeometryValuePair         
    7171from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_associationtypecode import  DS_AssociationTypeCode       
     
    8888from ea_model.iso_19133_tracking_and_navigation.network.combined_networks.nt_combinednetwork import  NT_CombinedNetwork  
    8989from ea_model.ceda_metadatamodel.ceda_utilities.ceda_notes import  CEDA_Notes    
     90from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_locationalattributetype import  GF_LocationalAttributeType      
    9091from ea_model.iso_19133_tracking_and_navigation.navigation.cost_function.ns_costfunction import  NS_CostFunction         
    91 from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_locationalattributetype import  GF_LocationalAttributeType      
    9292from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobject import  IO_IdentifiedObject    
    9393from ea_model.moles3_4.project.mo_project import  MO_Project     
     
    9696from ea_model.iso_19111_referencing_by_coordinates.datums.cd_ellipsoid import  CD_Ellipsoid      
    9797from ea_model.iso_19123_2005_coverages.coverages.segmented_curve.cv_segmentedcurvecoverage import  CV_SegmentedCurveCoverage     
    98 from ea_model.iso_19136_gml.coordinatesystems.timecs import  TimeCS      
    9998from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_acquisition import  CEDA_Acquisition      
    10099from ea_model.iso_19115_2006_metadata_corrigendum.reference_system_information.md_identifier import  MD_Identifier       
     100from ea_model.iso_19136_gml.coordinatesystems.timecs import  TimeCS      
    101101from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration import  TM_PeriodDuration        
    102102from ea_model.iso_19133_tracking_and_navigation.network.constraint_and_advisory.nt_advisoryelement import  NT_AdvisoryElement    
     
    118118from ea_model.iso_19112_location_by_identifier.referencesystem_by_identifier.si_locationtype import  SI_LocationType     
    119119from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_attributevalues import  CV_AttributeValues     
     120from ea_model.moles3_4.acquisition.mo_location import  MO_Location       
    120121from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridpoint import  CV_GridPoint    
    121 from ea_model.moles3_4.acquisition.mo_location import  MO_Location       
    122122from ea_model.ceda_metadatamodel.ceda_project.ceda_project import  CEDA_Project  
    123123from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_evaluationmethodtypecode import  DQ_EvaluationMethodTypeCode       
    124124from ea_model.iso_19133_tracking_and_navigation.tracking.linear_reference_systems.lr_feature import  LR_Feature  
     125from ea_model.iso_19111_referencing_by_coordinates.datums.cd_seconddefiningparameter import  CD_SecondDefiningParameter  
    125126from ea_model.moles3_4.acquisition.mo_instrumentplatformpair import  MO_InstrumentPlatformPair   
    126 from ea_model.iso_19111_referencing_by_coordinates.datums.cd_seconddefiningparameter import  CD_SecondDefiningParameter  
    127127from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.scopedname import  ScopedName      
    128128from ea_model.iso_19103_2005_schema_language.basic_types.implementation.records_and_class_metadata.type import  Type     
     
    135135from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_obligationcode import  MD_ObligationCode     
    136136from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.ds_initiativetypecode import  DS_InitiativeTypeCode         
     137from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_date import  CI_Date     
    137138from ea_model.moles3_4.computation.mo_processing import  MO_Processing   
    138 from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_date import  CI_Date     
    139139from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_geodesicstring import  GM_GeodesicString     
    140140from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_positionalaccuracy import  DQ_PositionalAccuracy   
     
    157157from ea_model.iso_19107_2003_spatial_schema.geometry.geometry_root.gm_object import  GM_Object   
    158158from ea_model.iso_19115_2006_metadata_corrigendum.spatial_representation_information.md_vectorspatialrepresentation import  MD_VectorSpatialRepresentation       
     159from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directednode import  TP_DirectedNode       
    159160from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_operation import  GF_Operation  
    160 from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directednode import  TP_DirectedNode       
    161161from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_formula import  CC_Formula   
    162162from ea_model.iso_19111_referencing_by_coordinates.datums.cd_pixelincell import  CD_PixelinCell  
     163from ea_model.iso_19111_referencing_by_coordinates.datums.cd_imagedatum import  CD_ImageDatum    
    163164from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.samplingfeature.sf_samplingfeature import  SF_SamplingFeature       
    164 from ea_model.iso_19111_referencing_by_coordinates.datums.cd_imagedatum import  CD_ImageDatum    
    165165from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretepointcoverage import  CV_DiscretePointCoverage    
    166166from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_ring import  NL_Ring      
     
    185185from ea_model.moles3_4.utilities.mo_party import  MO_Party       
    186186from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_operationparametervalue import  CC_OperationParameterValue   
     187from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_lineage import  LI_Lineage         
    187188from ea_model.iso_19133_tracking_and_navigation.network.network_position.nt_linkposition import  NT_LinkPosition         
    188 from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.li_lineage import  LI_Lineage         
    189189from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_temporalposition import  TM_TemporalPosition   
    190190from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_digitaltransferoptions import  MD_DigitalTransferOptions   
    191191from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_metadataattributetype import  GF_MetaDataAttributeType  
     192from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_period import  TM_Period        
    192193from ea_model.iso_19103_2005_schema_language.basic_types.primitive.multiplicities.multiplicity import  Multiplicity      
    193 from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_period import  TM_Period        
    194194from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_node import  TP_Node       
    195195from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_surfacevaluepair import  CV_SurfaceValuePair      
     
    197197from ea_model.iso_19115_2006_metadata_corrigendum.distribution_information.md_mediumnamecode import  MD_MediumNameCode   
    198198from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretesolidcoverage import  CV_DiscreteSolidCoverage    
     199from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_absoluteexternalpositionalaccuracy import  DQ_AbsoluteExternalPositionalAccuracy   
     200from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_ring import  TP_Ring       
    199201from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_rectifiedgrid import  CV_RectifiedGrid    
    200 from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_ring import  TP_Ring       
    201 from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_absoluteexternalpositionalaccuracy import  DQ_AbsoluteExternalPositionalAccuracy   
    202202from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_point import  NL_Point    
     203from ea_model.iso_19133_tracking_and_navigation.address_model.address.ad_abstractaddress import  AD_AbstractAddress      
    203204from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_referencesystem import  TM_ReferenceSystem     
    204 from ea_model.iso_19133_tracking_and_navigation.address_model.address.ad_abstractaddress import  AD_AbstractAddress      
    205205from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.date import  Date       
    206206from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength import  TM_IntervalLength        
     
    212212from ea_model.iso_19133_tracking_and_navigation.navigation.preferences.ns_routepreferences import  NS_RoutePreferences   
    213213from ea_model.informative.spatial_examples_from_iso_19107.application_schema.topology_simple.cellular_topology.cell import  Cell         
     214from ea_model.iso_19133_tracking_and_navigation.network.constraint_and_advisory.nt_advisoryspatialrelation import  NT_AdvisorySpatialRelation    
    214215from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.categoryobservation.om_categoryobservation import  OM_CategoryObservation  
    215 from ea_model.iso_19133_tracking_and_navigation.network.constraint_and_advisory.nt_advisoryspatialrelation import  NT_AdvisorySpatialRelation    
    216216from ea_model.moles3_4.observationcollection.mo_observationcollectionpublicationstatevalue import  MO_ObservationCollectionPublicationStateValue         
    217217from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.countobservation.om_countobservation import  OM_CountObservation   
     
    227227from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_result import  DQ_Result   
    228228from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_pointvaluepair import  CV_PointValuePair  
     229from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_polyhedralsurface import  GM_PolyhedralSurface       
    229230from ea_model.iso_19115_2006_metadata_corrigendum.constraint_information.md_constraints import  MD_Constraints   
    230 from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_polyhedralsurface import  GM_PolyhedralSurface       
    231231from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_parametervalue import  CC_ParameterValue     
    232232from ea_model.iso_19133_tracking_and_navigation.network.route.nt_routesummary import  NT_RouteSummary    
    233233from ea_model.ceda_metadatamodel.ceda_observation.ceda_citation import  CEDA_Citation    
     234from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobjectbase import  IO_IdentifiedObjectBase    
    234235from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_derivedcrs import  SC_DerivedCRS      
    235 from ea_model.iso_19111_referencing_by_coordinates.identified_objects.io_identifiedobjectbase import  IO_IdentifiedObjectBase    
    236236from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_sphericalcs import  CS_SphericalCS      
    237237from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_conic import  GM_Conic       
    238238from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_ordinalposition import  TM_OrdinalPosition     
    239239from ea_model.iso_19123_2005_coverages.coverages.discrete_coverages.cv_discretegridpointcoverage import  CV_DiscreteGridPointCoverage    
     240from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_nominalresolution import  LE_NominalResolution   
    240241from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_usage import  MD_Usage   
    241 from ea_model.iso_19115_2_2009_metadata___imagery.data_quality_information___imagery.le_nominalresolution import  LE_NominalResolution   
    242242from ea_model.iso_19112_location_by_identifier.gazetteer.si_locationinstance import  SI_LocationInstance         
    243243from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_metadataextensioninformation import  MD_MetadataExtensionInformation         
     
    248248from ea_model.iso_19133_tracking_and_navigation.network.turn_and_junction.nt_junctiontype import  NT_JunctionType        
    249249from ea_model.iso_19133_tracking_and_navigation.navigation.navigation_service.ns_costedturn import  NS_CostedTurn        
     250from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_otheraggregate import  DS_OtherAggregate   
    250251from ea_model.iso_19111_referencing_by_coordinates.datums.cd_verticaldatum import  CD_VerticalDatum      
    251252from ea_model.iso_19115_2006_metadata_corrigendum.constraint_information.md_legalconstraints import  MD_LegalConstraints         
    252 from ea_model.iso_19115_2006_metadata_corrigendum.metadata_application_information.ds_otheraggregate import  DS_OtherAggregate   
    253253from ea_model.iso_19103_2005_schema_language.basic_types.implementation.names.typename import  TypeName  
    254254from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_ordinalera import  TM_OrdinalEra       
     
    272272from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_surface import  NL_Surface        
    273273from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_primitive import  TP_Primitive     
     274from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_telephone import  CI_Telephone   
    274275from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_geodeticcs import  CS_GeodeticCS        
    275 from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_telephone import  CI_Telephone   
    276276from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_indeterminatevalue import  TM_IndeterminateValue       
    277277from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_onlineresource import  CI_OnlineResource         
     
    301301from ea_model.iso_19103_2005_schema_language.basic_types.primitive.date_and_time.clocktime import  ClockTime     
    302302from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_engineeringcs import  CS_EngineeringCS  
     303from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstring import  GM_ArcString       
    303304from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridvaluesmatrix import  CV_GridValuesMatrix      
    304 from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstring import  GM_ArcString       
     305from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_temporalassociationtype import  GF_TemporalAssociationType      
    305306from ea_model.ceda_metadatamodel.ceda_acquisition.ceda_platform import  CEDA_Platform    
    306 from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_temporalassociationtype import  GF_TemporalAssociationType      
    307307from ea_model.iso_19103_2005_schema_language.basic_types.primitive.numerics.unlimitedinteger import  UnlimitedInteger    
    308308from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_axisdirection import  CS_AxisDirection  
    309 from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_sequencerule import  CV_SequenceRule      
    310309from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_surfacepatch import  NL_SurfacePatch      
    311310from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.observation.om_process import  OM_Process  
     311from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_sequencerule import  CV_SequenceRule      
    312312from ea_model.iso_19115_2006_metadata_corrigendum.content_information.md_featurecataloguedescription import  MD_FeatureCatalogueDescription      
    313313from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_keywords import  MD_Keywords     
     
    325325from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_footprint import  CV_FootPrint    
    326326from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_thematicattributetype import  GF_ThematicAttributeType  
     327from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.specimen.sf_process import  SF_Process      
    327328from ea_model.iso_19111_referencing_by_coordinates.coordinate_systems.cs_polarcs import  CS_PolarCS      
    328 from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.specimen.sf_process import  SF_Process      
    329329from ea_model.iso_19115_2006_metadata_corrigendum.content_information.md_coveragecontenttypecode import  MD_CoverageContentTypeCode      
    330330from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_dataquality import  DQ_DataQuality         
     
    355355from ea_model.iso_19133_tracking_and_navigation.tracking.tracking_service.tk_position import  TK_Position        
    356356from ea_model.iso_19133_tracking_and_navigation.navigation.navigation_service.ns_costfunctioncode import  NS_CostFunctionCode    
     357from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directedtopo import  TP_DirectedTopo       
    357358from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_surfacepatch import  GM_SurfacePatch         
    358 from ea_model.iso_19107_2003_spatial_schema.topology.topological_primitive.tp_directedtopo import  TP_DirectedTopo       
    359359from ea_model.iso_19136_gml.datums.temporaldatum import  TemporalDatum   
    360360from ea_model.iso_19112_location_by_identifier.referencesystem_by_identifier.si_spatialreferencesystemusinggeographicidentifiers import  SI_SpatialReferenceSystemUsingGeographicIdentifiers     
     
    373373from ea_model.iso_19123_2005_coverages.coverages.coverage_core.cv_interpolationmethod import  CV_InterpolationMethod     
    374374from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_object import  TM_Object        
     375from ea_model.informative.extended_metadata_from_19115.vouchers import  Vouchers         
    375376from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_generaloperationparameter import  CC_GeneralOperationParameter       
    376 from ea_model.informative.extended_metadata_from_19115.vouchers import  Vouchers         
    377377from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_tin import  GM_Tin   
    378378from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_surface import  GM_Surface   
     
    384384from ea_model.iso_19115_2006_metadata_corrigendum.content_information.md_contentinformation import  MD_ContentInformation        
    385385from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_surfaceinterpolation import  GM_SurfaceInterpolation         
     386from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_orientablesurface import  NL_OrientableSurface    
    386387from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_curvesegment import  NL_CurveSegment      
    387 from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_orientablesurface import  NL_OrientableSurface    
    388388from ea_model.iso_19109_2005_application_schema.general_feature_model.gf_attributetype import  GF_AttributeType  
    389389from ea_model.iso_19115_2006_metadata_corrigendum.spatial_representation_information.md_geometricobjects import  MD_GeometricObjects     
     
    408408from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.juliandate import  JulianDate     
    409409from ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_topologicalprimitive import  TM_TopologicalPrimitive    
     410from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation import  OM_ComplexObservation     
    410411from ea_model.iso_19133_tracking_and_navigation.network.constraint_and_advisory.nt_laneconstraint import  NT_LaneConstraint      
    411 from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.complexobservation.om_complexobservation import  OM_ComplexObservation     
     412from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature import  SF_SpatialSamplingFeature  
    412413from ea_model.iso_19111_referencing_by_coordinates.temporal_reference_systems.tm_temporalcrs import  TM_TemporalCRS      
    413 from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.spatialsamplingfeature.sf_spatialsamplingfeature import  SF_SpatialSamplingFeature  
    414414from ea_model.moles3_4.project.mo_projectpublicationstatevalue import  MO_ProjectPublicationStateValue   
     415from ea_model.iso_19111_referencing_by_coordinates.datums.cd_engineeringdatum import  CD_EngineeringDatum        
    415416from ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstringbybulge import  GM_ArcStringByBulge         
    416 from ea_model.iso_19111_referencing_by_coordinates.datums.cd_engineeringdatum import  CD_EngineeringDatum        
    417417from ea_model.iso_19115_2006_metadata_corrigendum.maintenance_information.md_scopecode import  MD_ScopeCode      
    418418from ea_model.iso_19133_tracking_and_navigation.network.network_model.nt_waypoint import  NT_WayPoint    
     
    440440from ea_model.iso_19133_tracking_and_navigation.tracking.feature_data_model.fd_featurecollection import  FD_FeatureCollection    
    441441from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_compositepoint import  GM_CompositePoint       
     442from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_caldate import  TM_CalDate     
    442443from ea_model.iso_19123_2005_coverages.coverages.quadrilateral_grid.cv_gridpointvaluepair import  CV_GridPointValuePair  
    443 from ea_model.iso_19108_2006_temporal_schema.temporal_reference_system.tm_caldate import  TM_CalDate     
    444444from ea_model.ceda_metadatamodel.ceda_computation.ceda_processing import  CEDA_Processing        
    445445from ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_logicalconsistency import  DQ_LogicalConsistency   
     
    452452from ea_model.iso_19133_tracking_and_navigation.network.turn_and_junction.nt_turndirection import  NT_TurnDirection      
    453453from ea_model.iso_19123_2005_coverages.coverages.tin.cv_valuetriangle import  CV_ValueTriangle   
     454from ea_model.iso_19133_tracking_and_navigation.network.route.nt_route import  NT_Route  
    454455from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.coverageobservation.om_discretecoverageobservation import  OM_DiscreteCoverageObservation  
    455 from ea_model.iso_19133_tracking_and_navigation.network.route.nt_route import  NT_Route  
    456456from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_parametervaluegroup import  CC_ParameterValueGroup   
    457457from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_primitiveboundary import  GM_PrimitiveBoundary       
     
    471471from ea_model.iso_19115_2_2009_metadata___imagery.content_information___imagery.mi_rangeelementdescription import  MI_RangeElementDescription    
    472472from ea_model.iso_19133_tracking_and_navigation.network.constraint_and_advisory.nt_advisorycategory import  NT_AdvisoryCategory  
     473from ea_model.iso_19136_gml.geometryprimitives.rectangle import  Rectangle       
    473474from ea_model.iso_19111_referencing_by_coordinates.coordinate_reference_systems.sc_imagecrs import  SC_ImageCRS  
    474 from ea_model.iso_19136_gml.geometryprimitives.rectangle import  Rectangle       
    475475from ea_model.informative.xamples.norwegian_land_information_spatial_schema.nl_curve import  NL_Curve    
    476476from ea_model.iso_19156_2011_observations_and_measurements.sampling_features.specimen.location import  Location  
     
    490490from ea_model.iso_19115_2006_metadata_corrigendum.metadata_extension_information.md_extendedelementinformation import  MD_ExtendedElementInformation     
    491491from ea_model.iso_19156_2011_observations_and_measurements.observation_schema.temporalobservation.om_temporalobservation import  OM_TemporalObservation  
    492 from ea_model.moles3_4.utilities.mo_citation import  MO_Citation         
    493492from ea_model.iso_19115_2006_metadata_corrigendum.identification_information.md_representativefraction import  MD_RepresentativeFraction         
    494493from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_singleoperation import  CC_SingleOperation   
     494from ea_model.moles3_4.utilities.mo_citation import  MO_Citation         
    495495from ea_model.iso_19115_2006_metadata_corrigendum.citation_and_responsible_party_information.ci_rolecode import  CI_RoleCode     
    496496from ea_model.iso_19111_referencing_by_coordinates.coordinate_operations.cc_coordinateoperation import  CC_CoordinateOperation   
     
    531531 
    532532 
    533  
    534         dateprecision_table = Table('dateprecision', metadata, 
    535         Column('id', Integer, Sequence('dateprecision_id_seq'), primary_key=True), 
    536                                         Column('date_precision_id', Integer, ForeignKey('date.id', use_alter=True, name='fk_date_precision')), 
    537 Column('determinationMethod', Text , nullable=False), 
    538 Column('precision', Text , nullable=False), 
    539         extend_existing=False,) 
    540          
    541  
    542  
    543  
    544  
    545  
    546  
    547         md_geometricobjects_table = Table('md_geometricobjects', metadata, 
    548         Column('id', Integer, Sequence('md_geometricobjects_id_seq'), primary_key=True), 
    549                                         Column('md_vectorspatialrepresentation_geometricobjects', Integer, ForeignKey('md_vectorspatialrepresentation.id', use_alter=True, name='fk_md_vectorspatialrepresentation_geometricobjects')), 
    550 Column('geometricObjectCount', Integer , nullable=True), 
    551 Column('geometricObjectType', String , nullable=False), 
    552         extend_existing=False,) 
    553          
    554  
    555  
    556  
    557  
    558  
    559  
    560         unlimitedinteger_table = Table('unlimitedinteger', metadata, 
    561         Column('id', Integer, Sequence('unlimitedinteger_id_seq'), primary_key=True), 
    562                                         Column('multiplicityrange_upper_id', Integer, ForeignKey('multiplicityrange.id', use_alter=True, name='fk_multiplicityrange_upper')), 
    563 Column('value', Integer , nullable=True), 
    564 Column('isInfinite', BOOLEAN , nullable=False), 
    565         extend_existing=False,) 
    566          
    567  
     533        cv_gridcoordinate_table = Table('cv_gridcoordinate', metadata, 
     534        Column('id', Integer, Sequence('cv_gridcoordinate_id_seq'), primary_key=True), 
     535Column('cv_gridvaluesmatrix_startsequence_id', Integer, ForeignKey('cv_gridvaluesmatrix.id', use_alter=True, name='fk_cv_gridvaluesmatrix_startsequence')), 
     536Column('cv_gridenvelope_high_id', Integer, ForeignKey('cv_gridenvelope.id', use_alter=True, name='fk_cv_gridenvelope_high')), 
     537Column('cv_gridenvelope_low_id', Integer, ForeignKey('cv_gridenvelope.id', use_alter=True, name='fk_cv_gridenvelope_low')), 
     538Column('cv_gridpoint_gridcoord_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_gridcoord')), 
     539Column('coordValues', ARRAY(Integer) , nullable=False), 
     540        extend_existing=False,) 
     541         
     542 
     543 
     544 
     545 
     546 
     547        dq_result_table = Table('dq_result', metadata, 
     548        Column('id', Integer, Sequence('dq_result_id_seq'), primary_key=True), 
     549Column('dq_conformanceresult__dq_result_id', Integer, ForeignKey('dq_conformanceresult.id', use_alter=True, name='fk_dq_conformanceresult__dq_result')), 
     550Column('dq_quantitativeresult__dq_result_id', Integer, ForeignKey('dq_quantitativeresult.id', use_alter=True, name='fk_dq_quantitativeresult__dq_result')), 
     551Column('qe_coverageresult__dq_result_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__dq_result')), 
     552        extend_existing=False,) 
     553         
     554 
     555 
     556 
     557 
     558 
     559        tm_duration_table = Table('tm_duration', metadata, 
     560        Column('id', Integer, Sequence('tm_duration_id_seq'), primary_key=True), 
     561Column('tm_periodduration__tm_duration_id', Integer, ForeignKey('tm_periodduration.id', use_alter=True, name='fk_tm_periodduration__tm_duration')), 
     562Column('tm_intervallength__tm_duration_id', Integer, ForeignKey('tm_intervallength.id', use_alter=True, name='fk_tm_intervallength__tm_duration')), 
     563        extend_existing=False,) 
     564         
     565 
     566 
     567 
     568 
     569 
     570        ceda_citation_table = Table('ceda_citation', metadata, 
     571        Column('id', Integer, Sequence('ceda_citation_id_seq'), primary_key=True), 
     572Column('ceda_observation_citation', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_citation')), 
     573Column('author', ARRAY(Text) , nullable=False), 
     574Column('title', Text , nullable=False), 
     575        extend_existing=False,) 
     576         
    568577 
    569578 
     
    573582        gf_constraint_table = Table('gf_constraint', metadata, 
    574583        Column('id', Integer, Sequence('gf_constraint_id_seq'), primary_key=True), 
    575                                         Column('gf_propertytype_constrainedby', Integer, ForeignKey('gf_propertytype.id', use_alter=True, name='fk_gf_propertytype_constrainedby')), 
     584Column('gf_propertytype_constrainedby', Integer, ForeignKey('gf_propertytype.id', use_alter=True, name='fk_gf_propertytype_constrainedby')), 
    576585Column('gf_featuretype_constrainedby', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype_constrainedby')), 
    577586Column('description', Text , nullable=False), 
     
    583592 
    584593 
    585  
    586         earootclass_table = Table('earootclass', metadata, 
    587         Column('id', Integer, Sequence('earootclass_id_seq'), primary_key=True), 
    588                                                 extend_existing=False,) 
    589          
    590  
    591  
    592  
    593  
    594  
    595  
    596         any_table = Table('any', metadata, 
    597         Column('id', Integer, Sequence('any_id_seq'), primary_key=True), 
    598                                         Column('om_observation_result_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_result')), 
    599 Column('namedvalue_value_id', Integer, ForeignKey('namedvalue.id', use_alter=True, name='fk_namedvalue_value')), 
    600         extend_existing=False,) 
    601          
    602  
    603  
    604  
    605  
    606  
    607  
    608         gm_knot_table = Table('gm_knot', metadata, 
    609         Column('id', Integer, Sequence('gm_knot_id_seq'), primary_key=True), 
    610                                         Column('gm_splinecurve_knot', Integer, ForeignKey('gm_splinecurve.id', use_alter=True, name='fk_gm_splinecurve_knot')), 
    611 Column('value', REAL , nullable=False), 
    612 Column('weight', REAL , nullable=False), 
    613 Column('multiplicity', Integer , nullable=False), 
    614         extend_existing=False,) 
    615          
    616  
    617  
    618  
    619  
    620  
    621  
    622         ex_geographicextent_table = Table('ex_geographicextent', metadata, 
    623         Column('id', Integer, Sequence('ex_geographicextent_id_seq'), primary_key=True), 
    624                                         Column('ex_boundingpolygon_ex_geographicextent_id', Integer, ForeignKey('ex_boundingpolygon.id', use_alter=True, name='fk_ex_boundingpolygon_ex_geographicextent')), 
    625 Column('ex_geographicdescription_ex_geographicextent_id', Integer, ForeignKey('ex_geographicdescription.id', use_alter=True, name='fk_ex_geographicdescription_ex_geographicextent')), 
    626 Column('ex_geographicboundingbox_ex_geographicextent_id', Integer, ForeignKey('ex_geographicboundingbox.id', use_alter=True, name='fk_ex_geographicboundingbox_ex_geographicextent')), 
    627 Column('extentTypeCode', BOOLEAN , nullable=True), 
    628         extend_existing=False,) 
    629          
    630  
    631  
    632  
    633  
    634  
    635  
    636         md_contentinformation_table = Table('md_contentinformation', metadata, 
    637         Column('id', Integer, Sequence('md_contentinformation_id_seq'), primary_key=True), 
    638                                         Column('md_coveragedescription_md_contentinformation_id', Integer, ForeignKey('md_coveragedescription.id', use_alter=True, name='fk_md_coveragedescription_md_contentinformation')), 
    639 Column('md_featurecataloguedescription_md_contentinformation_id', Integer, ForeignKey('md_featurecataloguedescription.id', use_alter=True, name='fk_md_featurecataloguedescription_md_contentinformation')), 
    640         extend_existing=False,) 
    641          
    642  
    643  
    644  
    645  
    646  
    647  
    648         ceda_citation_table = Table('ceda_citation', metadata, 
    649         Column('id', Integer, Sequence('ceda_citation_id_seq'), primary_key=True), 
    650                                         Column('ceda_observation_citation', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_citation')), 
    651 Column('title', Text , nullable=False), 
    652 Column('author', ARRAY(Text) , nullable=False), 
    653         extend_existing=False,) 
    654          
    655  
    656  
    657  
    658  
    659  
    660  
    661         tm_clocktime_table = Table('tm_clocktime', metadata, 
    662         Column('id', Integer, Sequence('tm_clocktime_id_seq'), primary_key=True), 
    663                                         Column('tm_clock_utcreference_id', Integer, ForeignKey('tm_clock.id', use_alter=True, name='fk_tm_clock_utcreference')), 
    664 Column('tm_clock_referencetime_id', Integer, ForeignKey('tm_clock.id', use_alter=True, name='fk_tm_clock_referencetime')), 
    665 Column('clkTime', ARRAY(NUMERIC) , nullable=False), 
    666         extend_existing=False,) 
    667          
    668  
    669  
    670  
    671  
    672  
    673  
    674         gm_boundary_table = Table('gm_boundary', metadata, 
    675         Column('id', Integer, Sequence('gm_boundary_id_seq'), primary_key=True), 
    676                                         Column('gm_primitiveboundary_gm_boundary_id', Integer, ForeignKey('gm_primitiveboundary.id', use_alter=True, name='fk_gm_primitiveboundary_gm_boundary')), 
    677         extend_existing=False,) 
    678          
    679  
    680  
    681  
    682  
    683  
    684  
    685         md_spatialrepresentation_table = Table('md_spatialrepresentation', metadata, 
    686         Column('id', Integer, Sequence('md_spatialrepresentation_id_seq'), primary_key=True), 
    687                                         Column('md_gridspatialrepresentation_md_spatialrepresentation_id', Integer, ForeignKey('md_gridspatialrepresentation.id', use_alter=True, name='fk_md_gridspatialrepresentation_md_spatialrepresentation')), 
    688 Column('md_vectorspatialrepresentation_md_spatialrepresentation_id', Integer, ForeignKey('md_vectorspatialrepresentation.id', use_alter=True, name='fk_md_vectorspatialrepresentation_md_spatialrepresentation')), 
    689         extend_existing=False,) 
    690          
    691  
    692  
    693  
    694  
    695  
    696  
    697         md_constraints_table = Table('md_constraints', metadata, 
    698         Column('id', Integer, Sequence('md_constraints_id_seq'), primary_key=True), 
    699                                         Column('md_securityconstraints_md_constraints_id', Integer, ForeignKey('md_securityconstraints.id', use_alter=True, name='fk_md_securityconstraints_md_constraints')), 
    700 Column('md_legalconstraints_md_constraints_id', Integer, ForeignKey('md_legalconstraints.id', use_alter=True, name='fk_md_legalconstraints_md_constraints')), 
    701 Column('useLimitation', ARRAY(Text) , nullable=True), 
    702         extend_existing=False,) 
    703          
    704  
    705  
    706  
    707  
    708  
    709  
    710         ci_address_table = Table('ci_address', metadata, 
    711         Column('id', Integer, Sequence('ci_address_id_seq'), primary_key=True), 
    712                                         Column('ci_contact_address_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_address')), 
    713 Column('postalCode', Text , nullable=True), 
    714 Column('city', Text , nullable=True), 
    715 Column('deliveryPoint', ARRAY(Text) , nullable=True), 
    716 Column('country', Text , nullable=True), 
    717 Column('administrativeArea', Text , nullable=True), 
    718 Column('electronicMailAddress', ARRAY(Text) , nullable=True), 
    719         extend_existing=False,) 
    720          
    721  
    722  
    723  
    724  
    725  
    726  
    727         sf_process_table = Table('sf_process', metadata, 
    728         Column('id', Integer, Sequence('sf_process_id_seq'), primary_key=True), 
    729                                         Column('sf_specimen_samplingmethod_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen_samplingmethod')), 
    730 Column('sf_specimen_processingdetails', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen_processingdetails')), 
    731         extend_existing=False,) 
    732          
    733  
     594        ci_series_table = Table('ci_series', metadata, 
     595        Column('id', Integer, Sequence('ci_series_id_seq'), primary_key=True), 
     596Column('ci_citation_series_id', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_series')), 
     597Column('name', Text , nullable=True), 
     598Column('issueIdentification', Text , nullable=True), 
     599Column('page', Text , nullable=True), 
     600        extend_existing=False,) 
     601         
    734602 
    735603 
     
    739607        cv_sequencerule_table = Table('cv_sequencerule', metadata, 
    740608        Column('id', Integer, Sequence('cv_sequencerule_id_seq'), primary_key=True), 
    741                                         Column('cv_gridvaluesmatrix_sequencingrule_id', Integer, ForeignKey('cv_gridvaluesmatrix.id', use_alter=True, name='fk_cv_gridvaluesmatrix_sequencingrule')), 
     609Column('cv_gridvaluesmatrix_sequencingrule_id', Integer, ForeignKey('cv_gridvaluesmatrix.id', use_alter=True, name='fk_cv_gridvaluesmatrix_sequencingrule')), 
    742610Column('scanDirection', ARRAY(Text) , nullable=False), 
    743611Column('type', String , nullable=False), 
     
    749617 
    750618 
    751  
    752         tm_duration_table = Table('tm_duration', metadata, 
    753         Column('id', Integer, Sequence('tm_duration_id_seq'), primary_key=True), 
    754                                         Column('tm_periodduration_tm_duration_id', Integer, ForeignKey('tm_periodduration.id', use_alter=True, name='fk_tm_periodduration_tm_duration')), 
    755 Column('tm_intervallength_tm_duration_id', Integer, ForeignKey('tm_intervallength.id', use_alter=True, name='fk_tm_intervallength_tm_duration')), 
    756         extend_existing=False,) 
    757          
    758  
    759  
    760  
    761  
    762  
    763  
    764619        clocktime_table = Table('clocktime', metadata, 
    765620        Column('id', Integer, Sequence('clocktime_id_seq'), primary_key=True), 
    766                                         Column('datetime_clocktime_id', Integer, ForeignKey('datetime.id', use_alter=True, name='fk_datetime_clocktime')), 
     621Column('datetime__clocktime_id', Integer, ForeignKey('datetime.id', use_alter=True, name='fk_datetime__clocktime')), 
    767622Column('second', Text , nullable=True), 
    768623Column('hour', Text , nullable=False), 
     
    776631 
    777632 
    778  
    779         ci_onlineresource_table = Table('ci_onlineresource', metadata, 
    780         Column('id', Integer, Sequence('ci_onlineresource_id_seq'), primary_key=True), 
    781                                         Column('md_metadataextensioninformation_extensiononlineresource_id', Integer, ForeignKey('md_metadataextensioninformation.id', use_alter=True, name='fk_md_metadataextensioninformation_extensiononlineresource')), 
    782 Column('md_digitaltransferoptions_online', Integer, ForeignKey('md_digitaltransferoptions.id', use_alter=True, name='fk_md_digitaltransferoptions_online')), 
    783 Column('mo_citation_onlineresource', Integer, ForeignKey('mo_citation.id', use_alter=True, name='fk_mo_citation_onlineresource')), 
    784 Column('mo_observationcollection_additionalmetadata', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection_additionalmetadata')), 
    785 Column('ci_contact_onlineresource_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_onlineresource')), 
    786 Column('mo_onlineresource_ci_onlineresource_id', Integer, ForeignKey('mo_onlineresource.id', use_alter=True, name='fk_mo_onlineresource_ci_onlineresource')), 
    787 Column('function', String , nullable=True), 
    788 Column('description', Text , nullable=True), 
    789 Column('protocol', Text , nullable=True), 
    790 Column('applicationProfile', Text , nullable=True), 
    791 Column('name', Text , nullable=True), 
    792 Column('linkage', String , nullable=False), 
    793         extend_existing=False,) 
    794          
    795  
    796  
    797  
    798  
    799  
    800  
    801         ci_telephone_table = Table('ci_telephone', metadata, 
    802         Column('id', Integer, Sequence('ci_telephone_id_seq'), primary_key=True), 
    803                                         Column('ci_contact_phone_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_phone')), 
    804 Column('voice', ARRAY(Text) , nullable=True), 
    805 Column('facsimile', ARRAY(Text) , nullable=True), 
    806         extend_existing=False,) 
    807          
    808  
    809  
    810  
    811  
    812  
    813  
    814         ad_abstractaddress_table = Table('ad_abstractaddress', metadata, 
    815         Column('id', Integer, Sequence('ad_abstractaddress_id_seq'), primary_key=True), 
    816                                         Column('tk_position_address_id', Integer, ForeignKey('tk_position.id', use_alter=True, name='fk_tk_position_address')), 
    817         extend_existing=False,) 
    818          
    819  
    820  
    821  
    822  
    823  
    824  
    825         tm_object_table = Table('tm_object', metadata, 
    826         Column('id', Integer, Sequence('tm_object_id_seq'), primary_key=True), 
    827                                         Column('tm_primitive_tm_object_id', Integer, ForeignKey('tm_primitive.id', use_alter=True, name='fk_tm_primitive_tm_object')), 
    828 Column('tm_complex_tm_object_id', Integer, ForeignKey('tm_complex.id', use_alter=True, name='fk_tm_complex_tm_object')), 
    829         extend_existing=False,) 
    830          
    831  
     633        any_table = Table('any', metadata, 
     634        Column('id', Integer, Sequence('any_id_seq'), primary_key=True), 
     635Column('om_observation_result_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_result')), 
     636Column('namedvalue_value_id', Integer, ForeignKey('namedvalue.id', use_alter=True, name='fk_namedvalue_value')), 
     637        extend_existing=False,) 
     638         
    832639 
    833640 
     
    837644        md_browsegraphic_table = Table('md_browsegraphic', metadata, 
    838645        Column('id', Integer, Sequence('md_browsegraphic_id_seq'), primary_key=True), 
    839                                         Column('md_identification_graphicoverview', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_graphicoverview')), 
    840 Column('fileDescription', Text , nullable=True), 
     646Column('md_identification_graphicoverview', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_graphicoverview')), 
    841647Column('fileName', Text , nullable=False), 
    842648Column('fileType', Text , nullable=True), 
    843         extend_existing=False,) 
    844          
    845  
    846  
    847  
    848  
    849  
    850  
    851         md_medium_table = Table('md_medium', metadata, 
    852         Column('id', Integer, Sequence('md_medium_id_seq'), primary_key=True), 
    853                                         Column('md_digitaltransferoptions_offline_id', Integer, ForeignKey('md_digitaltransferoptions.id', use_alter=True, name='fk_md_digitaltransferoptions_offline')), 
    854 Column('mediumFormat', String , nullable=True), 
    855 Column('densityUnits', Text , nullable=True), 
    856 Column('density', ARRAY(REAL) , nullable=True), 
    857 Column('mediumNote', Text , nullable=True), 
    858 Column('name', String , nullable=True), 
    859 Column('volumes', Integer , nullable=True), 
    860         extend_existing=False,) 
    861          
    862  
    863  
    864  
    865  
    866  
    867  
    868         dq_result_table = Table('dq_result', metadata, 
    869         Column('id', Integer, Sequence('dq_result_id_seq'), primary_key=True), 
    870                                         Column('dq_quantitativeresult_dq_result_id', Integer, ForeignKey('dq_quantitativeresult.id', use_alter=True, name='fk_dq_quantitativeresult_dq_result')), 
    871 Column('dq_conformanceresult_dq_result_id', Integer, ForeignKey('dq_conformanceresult.id', use_alter=True, name='fk_dq_conformanceresult_dq_result')), 
    872 Column('qe_coverageresult_dq_result_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult_dq_result')), 
    873         extend_existing=False,) 
    874          
    875  
    876  
    877  
    878  
    879  
    880  
    881         ci_series_table = Table('ci_series', metadata, 
    882         Column('id', Integer, Sequence('ci_series_id_seq'), primary_key=True), 
    883                                         Column('ci_citation_series_id', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_series')), 
    884 Column('page', Text , nullable=True), 
    885 Column('name', Text , nullable=True), 
    886 Column('issueIdentification', Text , nullable=True), 
    887         extend_existing=False,) 
    888          
    889  
     649Column('fileDescription', Text , nullable=True), 
     650        extend_existing=False,) 
     651         
    890652 
    891653 
     
    895657        taxonomicclassification_table = Table('taxonomicclassification', metadata, 
    896658        Column('id', Integer, Sequence('taxonomicclassification_id_seq'), primary_key=True), 
    897                                         Column('taxonomysystem_thetaxonomicclassification_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_thetaxonomicclassification')), 
     659Column('taxonomysystem_thetaxonomicclassification_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_thetaxonomicclassification')), 
    898660Column('commonName', Text , nullable=False), 
    899661Column('taxonRankValue', Text , nullable=False), 
     
    906668 
    907669 
    908  
    909         cv_gridcoordinate_table = Table('cv_gridcoordinate', metadata, 
    910         Column('id', Integer, Sequence('cv_gridcoordinate_id_seq'), primary_key=True), 
    911                                         Column('cv_gridenvelope_high_id', Integer, ForeignKey('cv_gridenvelope.id', use_alter=True, name='fk_cv_gridenvelope_high')), 
    912 Column('cv_gridvaluesmatrix_startsequence_id', Integer, ForeignKey('cv_gridvaluesmatrix.id', use_alter=True, name='fk_cv_gridvaluesmatrix_startsequence')), 
    913 Column('cv_gridenvelope_low_id', Integer, ForeignKey('cv_gridenvelope.id', use_alter=True, name='fk_cv_gridenvelope_low')), 
    914 Column('cv_gridpoint_gridcoord_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint_gridcoord')), 
    915 Column('coordValues', ARRAY(Integer) , nullable=False), 
    916         extend_existing=False,) 
    917          
    918  
     670        unlimitedinteger_table = Table('unlimitedinteger', metadata, 
     671        Column('id', Integer, Sequence('unlimitedinteger_id_seq'), primary_key=True), 
     672Column('multiplicityrange_upper_id', Integer, ForeignKey('multiplicityrange.id', use_alter=True, name='fk_multiplicityrange_upper')), 
     673Column('value', Integer , nullable=True), 
     674Column('isInfinite', BOOLEAN , nullable=False), 
     675        extend_existing=False,) 
     676         
    919677 
    920678 
     
    924682        nt_advisoryelement_table = Table('nt_advisoryelement', metadata, 
    925683        Column('id', Integer, Sequence('nt_advisoryelement_id_seq'), primary_key=True), 
    926                                         Column('nt_advisorydirection_nt_advisoryelement_id', Integer, ForeignKey('nt_advisorydirection.id', use_alter=True, name='fk_nt_advisorydirection_nt_advisoryelement')), 
    927 Column('nt_advisorydistance_nt_advisoryelement_id', Integer, ForeignKey('nt_advisorydistance.id', use_alter=True, name='fk_nt_advisorydistance_nt_advisoryelement')), 
    928 Column('nt_exitassociation_nt_advisoryelement_id', Integer, ForeignKey('nt_exitassociation.id', use_alter=True, name='fk_nt_exitassociation_nt_advisoryelement')), 
    929 Column('nt_advisoryspatialrelation_nt_advisoryelement_id', Integer, ForeignKey('nt_advisoryspatialrelation.id', use_alter=True, name='fk_nt_advisoryspatialrelation_nt_advisoryelement')), 
    930         extend_existing=False,) 
    931          
    932  
     684Column('nt_advisorydirection__nt_advisoryelement_id', Integer, ForeignKey('nt_advisorydirection.id', use_alter=True, name='fk_nt_advisorydirection__nt_advisoryelement')), 
     685Column('nt_exitassociation__nt_advisoryelement_id', Integer, ForeignKey('nt_exitassociation.id', use_alter=True, name='fk_nt_exitassociation__nt_advisoryelement')), 
     686Column('nt_advisoryspatialrelation__nt_advisoryelement_id', Integer, ForeignKey('nt_advisoryspatialrelation.id', use_alter=True, name='fk_nt_advisoryspatialrelation__nt_advisoryelement')), 
     687Column('nt_advisorydistance__nt_advisoryelement_id', Integer, ForeignKey('nt_advisorydistance.id', use_alter=True, name='fk_nt_advisorydistance__nt_advisoryelement')), 
     688        extend_existing=False,) 
     689         
     690 
     691 
     692 
     693 
     694 
     695        ci_onlineresource_table = Table('ci_onlineresource', metadata, 
     696        Column('id', Integer, Sequence('ci_onlineresource_id_seq'), primary_key=True), 
     697Column('mo_onlineresource__ci_onlineresource_id', Integer, ForeignKey('mo_onlineresource.id', use_alter=True, name='fk_mo_onlineresource__ci_onlineresource')), 
     698Column('mo_citation_onlineresource', Integer, ForeignKey('mo_citation.id', use_alter=True, name='fk_mo_citation_onlineresource')), 
     699Column('md_digitaltransferoptions_online', Integer, ForeignKey('md_digitaltransferoptions.id', use_alter=True, name='fk_md_digitaltransferoptions_online')), 
     700Column('ci_contact_onlineresource_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_onlineresource')), 
     701Column('mo_observationcollection_additionalmetadata', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection_additionalmetadata')), 
     702Column('md_metadataextensioninformation_extensiononlineresource_id', Integer, ForeignKey('md_metadataextensioninformation.id', use_alter=True, name='fk_md_metadataextensioninformation_extensiononlineresource')), 
     703Column('description', Text , nullable=True), 
     704Column('protocol', Text , nullable=True), 
     705Column('linkage', String , nullable=False), 
     706Column('function', String , nullable=True), 
     707Column('name', Text , nullable=True), 
     708Column('applicationProfile', Text , nullable=True), 
     709        extend_existing=False,) 
     710         
     711 
     712 
     713 
     714 
     715 
     716        ex_geographicextent_table = Table('ex_geographicextent', metadata, 
     717        Column('id', Integer, Sequence('ex_geographicextent_id_seq'), primary_key=True), 
     718Column('ex_geographicboundingbox__ex_geographicextent_id', Integer, ForeignKey('ex_geographicboundingbox.id', use_alter=True, name='fk_ex_geographicboundingbox__ex_geographicextent')), 
     719Column('ex_geographicdescription__ex_geographicextent_id', Integer, ForeignKey('ex_geographicdescription.id', use_alter=True, name='fk_ex_geographicdescription__ex_geographicextent')), 
     720Column('ex_boundingpolygon__ex_geographicextent_id', Integer, ForeignKey('ex_boundingpolygon.id', use_alter=True, name='fk_ex_boundingpolygon__ex_geographicextent')), 
     721Column('extentTypeCode', BOOLEAN , nullable=True), 
     722        extend_existing=False,) 
     723         
     724 
     725 
     726 
     727 
     728 
     729        md_constraints_table = Table('md_constraints', metadata, 
     730        Column('id', Integer, Sequence('md_constraints_id_seq'), primary_key=True), 
     731Column('md_securityconstraints__md_constraints_id', Integer, ForeignKey('md_securityconstraints.id', use_alter=True, name='fk_md_securityconstraints__md_constraints')), 
     732Column('md_legalconstraints__md_constraints_id', Integer, ForeignKey('md_legalconstraints.id', use_alter=True, name='fk_md_legalconstraints__md_constraints')), 
     733Column('useLimitation', ARRAY(Text) , nullable=True), 
     734        extend_existing=False,) 
     735         
     736 
     737 
     738 
     739 
     740 
     741        md_contentinformation_table = Table('md_contentinformation', metadata, 
     742        Column('id', Integer, Sequence('md_contentinformation_id_seq'), primary_key=True), 
     743Column('md_coveragedescription__md_contentinformation_id', Integer, ForeignKey('md_coveragedescription.id', use_alter=True, name='fk_md_coveragedescription__md_contentinformation')), 
     744Column('md_featurecataloguedescription__md_contentinformation_id', Integer, ForeignKey('md_featurecataloguedescription.id', use_alter=True, name='fk_md_featurecataloguedescription__md_contentinformation')), 
     745        extend_existing=False,) 
     746         
     747 
     748 
     749 
     750 
     751 
     752        tm_object_table = Table('tm_object', metadata, 
     753        Column('id', Integer, Sequence('tm_object_id_seq'), primary_key=True), 
     754Column('tm_complex__tm_object_id', Integer, ForeignKey('tm_complex.id', use_alter=True, name='fk_tm_complex__tm_object')), 
     755Column('tm_primitive__tm_object_id', Integer, ForeignKey('tm_primitive.id', use_alter=True, name='fk_tm_primitive__tm_object')), 
     756        extend_existing=False,) 
     757         
     758 
     759 
     760 
     761 
     762 
     763        gm_knot_table = Table('gm_knot', metadata, 
     764        Column('id', Integer, Sequence('gm_knot_id_seq'), primary_key=True), 
     765Column('gm_splinecurve_knot', Integer, ForeignKey('gm_splinecurve.id', use_alter=True, name='fk_gm_splinecurve_knot')), 
     766Column('weight', REAL , nullable=False), 
     767Column('multiplicity', Integer , nullable=False), 
     768Column('value', REAL , nullable=False), 
     769        extend_existing=False,) 
     770         
     771 
     772 
     773 
     774 
     775 
     776        ad_abstractaddress_table = Table('ad_abstractaddress', metadata, 
     777        Column('id', Integer, Sequence('ad_abstractaddress_id_seq'), primary_key=True), 
     778Column('tk_position_address_id', Integer, ForeignKey('tk_position.id', use_alter=True, name='fk_tk_position_address')), 
     779        extend_existing=False,) 
     780         
     781 
     782 
     783 
     784 
     785 
     786        ci_address_table = Table('ci_address', metadata, 
     787        Column('id', Integer, Sequence('ci_address_id_seq'), primary_key=True), 
     788Column('ci_contact_address_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_address')), 
     789Column('electronicMailAddress', ARRAY(Text) , nullable=True), 
     790Column('deliveryPoint', ARRAY(Text) , nullable=True), 
     791Column('postalCode', Text , nullable=True), 
     792Column('city', Text , nullable=True), 
     793Column('country', Text , nullable=True), 
     794Column('administrativeArea', Text , nullable=True), 
     795        extend_existing=False,) 
     796         
     797 
     798 
     799 
     800 
     801 
     802        md_medium_table = Table('md_medium', metadata, 
     803        Column('id', Integer, Sequence('md_medium_id_seq'), primary_key=True), 
     804Column('md_digitaltransferoptions_offline_id', Integer, ForeignKey('md_digitaltransferoptions.id', use_alter=True, name='fk_md_digitaltransferoptions_offline')), 
     805Column('densityUnits', Text , nullable=True), 
     806Column('name', String , nullable=True), 
     807Column('volumes', Integer , nullable=True), 
     808Column('density', ARRAY(REAL) , nullable=True), 
     809Column('mediumFormat', String , nullable=True), 
     810Column('mediumNote', Text , nullable=True), 
     811        extend_existing=False,) 
     812         
     813 
     814 
     815 
     816 
     817 
     818        gm_boundary_table = Table('gm_boundary', metadata, 
     819        Column('id', Integer, Sequence('gm_boundary_id_seq'), primary_key=True), 
     820Column('gm_primitiveboundary__gm_boundary_id', Integer, ForeignKey('gm_primitiveboundary.id', use_alter=True, name='fk_gm_primitiveboundary__gm_boundary')), 
     821        extend_existing=False,) 
     822         
     823 
     824 
     825 
     826 
     827 
     828        dateprecision_table = Table('dateprecision', metadata, 
     829        Column('id', Integer, Sequence('dateprecision_id_seq'), primary_key=True), 
     830Column('date_precision_id', Integer, ForeignKey('date.id', use_alter=True, name='fk_date_precision')), 
     831Column('precision', Text , nullable=False), 
     832Column('determinationMethod', Text , nullable=False), 
     833        extend_existing=False,) 
     834         
     835 
     836 
     837 
     838 
     839 
     840        md_geometricobjects_table = Table('md_geometricobjects', metadata, 
     841        Column('id', Integer, Sequence('md_geometricobjects_id_seq'), primary_key=True), 
     842Column('md_vectorspatialrepresentation_geometricobjects', Integer, ForeignKey('md_vectorspatialrepresentation.id', use_alter=True, name='fk_md_vectorspatialrepresentation_geometricobjects')), 
     843Column('geometricObjectCount', Integer , nullable=True), 
     844Column('geometricObjectType', String , nullable=False), 
     845        extend_existing=False,) 
     846         
     847 
     848 
     849 
     850 
     851 
     852        md_spatialrepresentation_table = Table('md_spatialrepresentation', metadata, 
     853        Column('id', Integer, Sequence('md_spatialrepresentation_id_seq'), primary_key=True), 
     854Column('md_vectorspatialrepresentation__md_spatialrepresentation_id', Integer, ForeignKey('md_vectorspatialrepresentation.id', use_alter=True, name='fk_md_vectorspatialrepresentation__md_spatialrepresentation')), 
     855Column('md_gridspatialrepresentation__md_spatialrepresentation_id', Integer, ForeignKey('md_gridspatialrepresentation.id', use_alter=True, name='fk_md_gridspatialrepresentation__md_spatialrepresentation')), 
     856        extend_existing=False,) 
     857         
     858 
     859 
     860 
     861 
     862 
     863        tm_clocktime_table = Table('tm_clocktime', metadata, 
     864        Column('id', Integer, Sequence('tm_clocktime_id_seq'), primary_key=True), 
     865Column('tm_clock_utcreference_id', Integer, ForeignKey('tm_clock.id', use_alter=True, name='fk_tm_clock_utcreference')), 
     866Column('tm_clock_referencetime_id', Integer, ForeignKey('tm_clock.id', use_alter=True, name='fk_tm_clock_referencetime')), 
     867Column('clkTime', ARRAY(NUMERIC) , nullable=False), 
     868        extend_existing=False,) 
     869         
     870 
     871 
     872 
     873 
     874 
     875        ci_telephone_table = Table('ci_telephone', metadata, 
     876        Column('id', Integer, Sequence('ci_telephone_id_seq'), primary_key=True), 
     877Column('ci_contact_phone_id', Integer, ForeignKey('ci_contact.id', use_alter=True, name='fk_ci_contact_phone')), 
     878Column('facsimile', ARRAY(Text) , nullable=True), 
     879Column('voice', ARRAY(Text) , nullable=True), 
     880        extend_existing=False,) 
     881         
     882 
     883 
     884 
     885 
     886 
     887        sf_process_table = Table('sf_process', metadata, 
     888        Column('id', Integer, Sequence('sf_process_id_seq'), primary_key=True), 
     889Column('sf_specimen_samplingmethod_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen_samplingmethod')), 
     890Column('sf_specimen_processingdetails', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen_processingdetails')), 
     891        extend_existing=False,) 
     892         
     893 
     894 
     895 
     896 
     897 
     898        earootclass_table = Table('earootclass', metadata, 
     899        Column('id', Integer, Sequence('earootclass_id_seq'), primary_key=True), 
     900        extend_existing=False,) 
     901         
     902 
     903 
     904 
     905 
     906 
     907        multiplicityrange_table = Table('multiplicityrange', metadata, 
     908        Column('id', Integer, Sequence('multiplicityrange_id_seq'), primary_key=True), 
     909Column('multiplicity_range', Integer, ForeignKey('multiplicity.id', use_alter=True, name='fk_multiplicity_range')), 
     910Column('lower', Integer , nullable=False), 
     911        extend_existing=False,) 
     912         
     913 
     914 
     915 
     916 
     917 
     918        nt_advisorydirection_table = Table('nt_advisorydirection', metadata, 
     919        Column('id', Integer, Sequence('nt_advisorydirection_id_seq'), primary_key=True), 
     920Column('nt_advisory__element_nt_advisorydirection', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_advisorydirection')), 
     921Column('direction', String , nullable=True), 
     922        extend_existing=False,) 
     923         
     924 
     925 
     926 
     927 
     928 
     929        date_table = Table('date', metadata, 
     930        Column('id', Integer, Sequence('date_id_seq'), primary_key=True), 
     931Column('md_maintenanceinformation_dateofnextupdate_id', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_dateofnextupdate')), 
     932Column('cd_datum_realizationepoch_id', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum_realizationepoch')), 
     933Column('tm_position_date8601_id', Integer, ForeignKey('tm_position.id', use_alter=True, name='fk_tm_position_date8601')), 
     934Column('ci_citation_editiondate_id', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_editiondate')), 
     935Column('datetime__date_id', Integer, ForeignKey('datetime.id', use_alter=True, name='fk_datetime__date')), 
     936Column('md_metadata_datestamp_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_datestamp')), 
     937Column('temporaldatum_realizationepoch_id', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum_realizationepoch')), 
     938Column('ci_date_date_id', Integer, ForeignKey('ci_date.id', use_alter=True, name='fk_ci_date_date')), 
     939Column('century', Text , nullable=False), 
     940Column('day', Text , nullable=True), 
     941Column('month', Text , nullable=True), 
     942Column('year', Text , nullable=True), 
     943        extend_existing=False,) 
     944         
     945 
     946 
     947 
     948 
     949 
     950        gm_primitiveboundary_table = Table('gm_primitiveboundary', metadata, 
     951        Column('id', Integer, Sequence('gm_primitiveboundary_id_seq'), primary_key=True), 
     952Column('gm_surfaceboundary__gm_primitiveboundary_id', Integer, ForeignKey('gm_surfaceboundary.id', use_alter=True, name='fk_gm_surfaceboundary__gm_primitiveboundary')), 
     953        extend_existing=False,) 
     954         
     955 
     956 
     957 
     958 
     959 
     960        tm_periodduration_table = Table('tm_periodduration', metadata, 
     961        Column('id', Integer, Sequence('tm_periodduration_id_seq'), primary_key=True), 
     962Column('nt_routesummary__time_tm_periodduration_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__time_tm_periodduration')), 
     963Column('ns_routerequest__refreshinterval_tm_periodduration_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest__refreshinterval_tm_periodduration')), 
     964Column('md_maintenanceinformation_userdefinedmaintenancefrequency_id', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_userdefinedmaintenancefrequency')), 
     965Column('seconds', Text , nullable=True), 
     966Column('designator', Text , nullable=False), 
     967Column('timeIndicator', Text , nullable=True), 
     968Column('minutes', Text , nullable=True), 
     969Column('hours', Text , nullable=True), 
     970Column('months', Text , nullable=True), 
     971Column('days', Text , nullable=True), 
     972Column('years', Text , nullable=True), 
     973        extend_existing=False,) 
     974         
     975 
     976 
     977 
     978 
     979 
     980        mo_onlineresource_table = Table('mo_onlineresource', metadata, 
     981        Column('id', Integer, Sequence('mo_onlineresource_id_seq'), primary_key=True), 
     982Column('ceda_project_projectresource', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project_projectresource')), 
     983Column('mo_result_sample', Integer, ForeignKey('mo_result.id', use_alter=True, name='fk_mo_result_sample')), 
     984Column('mo_result_source', Integer, ForeignKey('mo_result.id', use_alter=True, name='fk_mo_result_source')), 
     985Column('serviceFunction', String , nullable=True), 
     986        extend_existing=False,) 
     987         
     988 
     989 
     990 
     991 
     992 
     993        nt_exitassociation_table = Table('nt_exitassociation', metadata, 
     994        Column('id', Integer, Sequence('nt_exitassociation_id_seq'), primary_key=True), 
     995Column('nt_advisory__element_nt_exitassociation', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_exitassociation')), 
     996Column('exit1', Integer , nullable=False), 
     997Column('exit2', Integer , nullable=True), 
     998        extend_existing=False,) 
     999         
     1000 
     1001 
     1002 
     1003 
     1004 
     1005        md_legalconstraints_table = Table('md_legalconstraints', metadata, 
     1006        Column('id', Integer, Sequence('md_legalconstraints_id_seq'), primary_key=True), 
     1007Column('md_metadata__metadataconstraints_md_legalconstraints', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__metadataconstraints_md_legalconstraints')), 
     1008Column('mo_observation__permission_md_legalconstraints_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation__permission_md_legalconstraints')), 
     1009Column('md_identification__resourceconstraints_md_legalconstraints', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification__resourceconstraints_md_legalconstraints')), 
     1010Column('otherConstraints', ARRAY(Text) , nullable=True), 
     1011Column('useConstraints', String , nullable=True), 
     1012Column('accessConstraints', String , nullable=True), 
     1013        extend_existing=False,) 
     1014         
     1015 
     1016 
     1017 
     1018 
     1019 
     1020        tm_intervallength_table = Table('tm_intervallength', metadata, 
     1021        Column('id', Integer, Sequence('tm_intervallength_id_seq'), primary_key=True), 
     1022Column('ns_routerequest__refreshinterval_tm_intervallength_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest__refreshinterval_tm_intervallength')), 
     1023Column('nt_routesummary__time_tm_intervallength_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__time_tm_intervallength')), 
     1024Column('radix', Integer , nullable=False), 
     1025Column('value', Integer , nullable=False), 
     1026Column('unit', Text , nullable=False), 
     1027Column('factor', Integer , nullable=False), 
     1028        extend_existing=False,) 
     1029         
     1030 
     1031 
     1032 
     1033 
     1034 
     1035        ex_geographicboundingbox_table = Table('ex_geographicboundingbox', metadata, 
     1036        Column('id', Integer, Sequence('ex_geographicboundingbox_id_seq'), primary_key=True), 
     1037Column('si_gazetteer__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer__territoryofuse_ex_geographicboundingbox')), 
     1038Column('si_locationtype__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_locationtype.id', use_alter=True, name='fk_si_locationtype__territoryofuse_ex_geographicboundingbox')), 
     1039Column('mo_observationcollection__geographicextent_ex_geographicboundingbox', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection__geographicextent_ex_geographicboundingbox')), 
     1040Column('nt_routesummary__extent_ex_geographicboundingbox_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__extent_ex_geographicboundingbox')), 
     1041Column('mo_observation__geographicextent_ex_geographicboundingbox', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation__geographicextent_ex_geographicboundingbox')), 
     1042Column('si_spatialreferencesystemusinggeographicidentifiers__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_spatialreferencesystemusinggeographicidentifiers.id', use_alter=True, name='fk_si_spatialreferencesystemusinggeographicidentifiers__territoryofuse_ex_geographicboundingbox')), 
     1043Column('si_locationinstance__geographicextent_ex_geographicboundingbox_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance__geographicextent_ex_geographicboundingbox')), 
     1044Column('ex_extent__geographicelement_ex_geographicboundingbox', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent__geographicelement_ex_geographicboundingbox')), 
     1045Column('northBoundLatitude', NUMERIC , nullable=False), 
     1046Column('southBoundLatitude', NUMERIC , nullable=False), 
     1047Column('westBoundLongitude', NUMERIC , nullable=False), 
     1048Column('eastBoundLongitude', NUMERIC , nullable=False), 
     1049        extend_existing=False,) 
     1050         
    9331051 
    9341052 
     
    9381056        md_digitaltransferoptions_table = Table('md_digitaltransferoptions', metadata, 
    9391057        Column('id', Integer, Sequence('md_digitaltransferoptions_id_seq'), primary_key=True), 
    940                                         Column('md_distribution_transferoptions', Integer, ForeignKey('md_distribution.id', use_alter=True, name='fk_md_distribution_transferoptions')), 
    9411058Column('md_distributor_distributortransferoptions', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributortransferoptions')), 
     1059Column('md_distribution_transferoptions', Integer, ForeignKey('md_distribution.id', use_alter=True, name='fk_md_distribution_transferoptions')), 
    9421060Column('unitsOfDistribution', Text , nullable=True), 
    9431061Column('transferSize', REAL , nullable=True), 
     
    9491067 
    9501068 
     1069        tm_primitive_table = Table('tm_primitive', metadata, 
     1070        Column('id', Integer, Sequence('tm_primitive_id_seq'), primary_key=True), 
     1071Column('tm_topologicalprimitive__tm_primitive_id', Integer, ForeignKey('tm_topologicalprimitive.id', use_alter=True, name='fk_tm_topologicalprimitive__tm_primitive')), 
     1072Column('tm_geometricprimitive__tm_primitive_id', Integer, ForeignKey('tm_geometricprimitive.id', use_alter=True, name='fk_tm_geometricprimitive__tm_primitive')), 
     1073Column('om_temporalobservation__result_tm_primitive_id', Integer, ForeignKey('om_temporalobservation.id', use_alter=True, name='fk_om_temporalobservation__result_tm_primitive')), 
     1074Column('sf_specimen__samplingtime_tm_primitive_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__samplingtime_tm_primitive')), 
     1075Column('mo_operation__operationtime_tm_primitive_id', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation__operationtime_tm_primitive')), 
     1076Column('mo_observationcollection__phenomenontime_tm_primitive', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection__phenomenontime_tm_primitive')), 
     1077        extend_existing=False,) 
     1078         
     1079 
     1080 
     1081 
     1082 
    9511083 
    9521084        md_securityconstraints_table = Table('md_securityconstraints', metadata, 
    9531085        Column('id', Integer, Sequence('md_securityconstraints_id_seq'), primary_key=True), 
    954                                         Column('md_identification__resourceconstraints_md_securityconstraints', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification__resourceconstraints_md_securityconstraints')), 
     1086Column('md_identification__resourceconstraints_md_securityconstraints', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification__resourceconstraints_md_securityconstraints')), 
     1087Column('md_metadata__metadataconstraints_md_securityconstraints', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__metadataconstraints_md_securityconstraints')), 
    9551088Column('mo_observation__permission_md_securityconstraints_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation__permission_md_securityconstraints')), 
    956 Column('md_metadata__metadataconstraints_md_securityconstraints', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__metadataconstraints_md_securityconstraints')), 
     1089Column('classification', String , nullable=False), 
     1090Column('classificationSystem', Text , nullable=True), 
     1091Column('userNote', Text , nullable=True), 
    9571092Column('handlingDescription', Text , nullable=True), 
    958 Column('userNote', Text , nullable=True), 
    959 Column('classificationSystem', Text , nullable=True), 
    960 Column('classification', String , nullable=False), 
    961         extend_existing=False,) 
    962          
    963  
     1093        extend_existing=False,) 
     1094         
    9641095 
    9651096 
     
    9691100        tm_complex_table = Table('tm_complex', metadata, 
    9701101        Column('id', Integer, Sequence('tm_complex_id_seq'), primary_key=True), 
    971                                         Column('sf_specimen__samplingtime_tm_complex_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__samplingtime_tm_complex')), 
    9721102Column('mo_observationcollection__phenomenontime_tm_complex', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection__phenomenontime_tm_complex')), 
     1103Column('mo_operation__operationtime_tm_complex_id', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation__operationtime_tm_complex')), 
    9731104Column('om_temporalobservation__result_tm_complex_id', Integer, ForeignKey('om_temporalobservation.id', use_alter=True, name='fk_om_temporalobservation__result_tm_complex')), 
    974 Column('tm_topologicalcomplex_tm_complex_id', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex_tm_complex')), 
    975 Column('mo_operation__operationtime_tm_complex_id', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation__operationtime_tm_complex')), 
    976         extend_existing=False,) 
    977          
    978  
    979  
    980  
    981  
    982  
    983  
    984         md_legalconstraints_table = Table('md_legalconstraints', metadata, 
    985         Column('id', Integer, Sequence('md_legalconstraints_id_seq'), primary_key=True), 
    986                                         Column('mo_observation__permission_md_legalconstraints_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation__permission_md_legalconstraints')), 
    987 Column('md_identification__resourceconstraints_md_legalconstraints', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification__resourceconstraints_md_legalconstraints')), 
    988 Column('md_metadata__metadataconstraints_md_legalconstraints', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__metadataconstraints_md_legalconstraints')), 
    989 Column('otherConstraints', ARRAY(Text) , nullable=True), 
    990 Column('accessConstraints', String , nullable=True), 
    991 Column('useConstraints', String , nullable=True), 
    992         extend_existing=False,) 
    993          
    994  
     1105Column('tm_topologicalcomplex__tm_complex_id', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex__tm_complex')), 
     1106Column('sf_specimen__samplingtime_tm_complex_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__samplingtime_tm_complex')), 
     1107        extend_existing=False,) 
     1108         
     1109 
     1110 
     1111 
     1112 
     1113 
     1114        md_vectorspatialrepresentation_table = Table('md_vectorspatialrepresentation', metadata, 
     1115        Column('id', Integer, Sequence('md_vectorspatialrepresentation_id_seq'), primary_key=True), 
     1116Column('qe_coverageresult__resultspatialrepresentation_md_vectorspatialrepresentation_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultspatialrepresentation_md_vectorspatialrepresentation')), 
     1117Column('md_metadata__spatialrepresentationinfo_md_vectorspatialrepresentation', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__spatialrepresentationinfo_md_vectorspatialrepresentation')), 
     1118Column('topologyLevel', String , nullable=True), 
     1119        extend_existing=False,) 
     1120         
     1121 
     1122 
     1123 
     1124 
     1125 
     1126        datetime_table = Table('datetime', metadata, 
     1127        Column('id', Integer, Sequence('datetime_id_seq'), primary_key=True), 
     1128Column('ceda_observation_resultfirstpublicationdate_id', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_resultfirstpublicationdate')), 
     1129Column('tm_coordinatesystem_origin_id', Integer, ForeignKey('tm_coordinatesystem.id', use_alter=True, name='fk_tm_coordinatesystem_origin')), 
     1130Column('tm_ordinalera_begin_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_begin')), 
     1131Column('tm_ordinalera_end_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_end')), 
     1132Column('dq_element_datetime', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element_datetime')), 
     1133Column('md_usage_usagedatetime_id', Integer, ForeignKey('md_usage.id', use_alter=True, name='fk_md_usage_usagedatetime')), 
     1134Column('md_standardorderprocess_plannedavailabledatetime_id', Integer, ForeignKey('md_standardorderprocess.id', use_alter=True, name='fk_md_standardorderprocess_plannedavailabledatetime')), 
     1135Column('ceda_observation_citationtime_id', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_citationtime')), 
     1136Column('li_processstep_datetime_id', Integer, ForeignKey('li_processstep.id', use_alter=True, name='fk_li_processstep_datetime')), 
     1137Column('temporaldatum_origin_id', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum_origin')), 
     1138Column('ceda_notes_date_id', Integer, ForeignKey('ceda_notes.id', use_alter=True, name='fk_ceda_notes_date')), 
     1139Column('tm_position_datetime8601_id', Integer, ForeignKey('tm_position.id', use_alter=True, name='fk_tm_position_datetime8601')), 
     1140        extend_existing=False,) 
     1141         
    9951142 
    9961143 
     
    10001147        ci_contact_table = Table('ci_contact', metadata, 
    10011148        Column('id', Integer, Sequence('ci_contact_id_seq'), primary_key=True), 
    1002                                         Column('mo_party_contactinfo', Integer, ForeignKey('mo_party.id', use_alter=True, name='fk_mo_party_contactinfo')), 
     1149Column('mo_party_contactinfo', Integer, ForeignKey('mo_party.id', use_alter=True, name='fk_mo_party_contactinfo')), 
    10031150Column('ci_responsibleparty_contactinfo_id', Integer, ForeignKey('ci_responsibleparty.id', use_alter=True, name='fk_ci_responsibleparty_contactinfo')), 
     1151Column('hoursOfService', Text , nullable=True), 
    10041152Column('contactInstructions', Text , nullable=True), 
    1005 Column('hoursOfService', Text , nullable=True), 
    1006         extend_existing=False,) 
    1007          
    1008  
    1009  
    1010  
    1011  
    1012  
    1013  
    1014         md_vectorspatialrepresentation_table = Table('md_vectorspatialrepresentation', metadata, 
    1015         Column('id', Integer, Sequence('md_vectorspatialrepresentation_id_seq'), primary_key=True), 
    1016                                         Column('qe_coverageresult__resultspatialrepresentation_md_vectorspatialrepresentation_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultspatialrepresentation_md_vectorspatialrepresentation')), 
    1017 Column('md_metadata__spatialrepresentationinfo_md_vectorspatialrepresentation', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__spatialrepresentationinfo_md_vectorspatialrepresentation')), 
    1018 Column('topologyLevel', String , nullable=True), 
    1019         extend_existing=False,) 
    1020          
    1021  
    1022  
    1023  
    1024  
    1025  
    1026  
    1027         gm_primitiveboundary_table = Table('gm_primitiveboundary', metadata, 
    1028         Column('id', Integer, Sequence('gm_primitiveboundary_id_seq'), primary_key=True), 
    1029                                         Column('gm_surfaceboundary_gm_primitiveboundary_id', Integer, ForeignKey('gm_surfaceboundary.id', use_alter=True, name='fk_gm_surfaceboundary_gm_primitiveboundary')), 
    1030         extend_existing=False,) 
    1031          
    1032  
    1033  
    1034  
    1035  
    1036  
    1037  
    1038         multiplicityrange_table = Table('multiplicityrange', metadata, 
    1039         Column('id', Integer, Sequence('multiplicityrange_id_seq'), primary_key=True), 
    1040                                         Column('multiplicity_range', Integer, ForeignKey('multiplicity.id', use_alter=True, name='fk_multiplicity_range')), 
    1041 Column('lower', Integer , nullable=False), 
    1042         extend_existing=False,) 
    1043          
    1044  
    1045  
    1046  
    1047  
    1048  
    1049  
    1050         tm_periodduration_table = Table('tm_periodduration', metadata, 
    1051         Column('id', Integer, Sequence('tm_periodduration_id_seq'), primary_key=True), 
    1052                                         Column('md_maintenanceinformation_userdefinedmaintenancefrequency_id', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_userdefinedmaintenancefrequency')), 
    1053 Column('ns_routerequest__refreshinterval_tm_periodduration_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest__refreshinterval_tm_periodduration')), 
    1054 Column('nt_routesummary__time_tm_periodduration_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__time_tm_periodduration')), 
    1055 Column('minutes', Text , nullable=True), 
    1056 Column('seconds', Text , nullable=True), 
    1057 Column('timeIndicator', Text , nullable=True), 
    1058 Column('months', Text , nullable=True), 
    1059 Column('hours', Text , nullable=True), 
    1060 Column('designator', Text , nullable=False), 
    1061 Column('days', Text , nullable=True), 
    1062 Column('years', Text , nullable=True), 
    1063         extend_existing=False,) 
    1064          
    1065  
    1066  
    1067  
    1068  
    1069  
    1070  
    1071         tm_intervallength_table = Table('tm_intervallength', metadata, 
    1072         Column('id', Integer, Sequence('tm_intervallength_id_seq'), primary_key=True), 
    1073                                         Column('ns_routerequest__refreshinterval_tm_intervallength_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest__refreshinterval_tm_intervallength')), 
    1074 Column('nt_routesummary__time_tm_intervallength_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__time_tm_intervallength')), 
    1075 Column('radix', Integer , nullable=False), 
    1076 Column('factor', Integer , nullable=False), 
    1077 Column('value', Integer , nullable=False), 
    1078 Column('unit', Text , nullable=False), 
    1079         extend_existing=False,) 
    1080          
    1081  
    1082  
    1083  
    1084  
    1085  
    1086  
    1087         mo_onlineresource_table = Table('mo_onlineresource', metadata, 
    1088         Column('id', Integer, Sequence('mo_onlineresource_id_seq'), primary_key=True), 
    1089                                         Column('mo_result_source', Integer, ForeignKey('mo_result.id', use_alter=True, name='fk_mo_result_source')), 
    1090 Column('mo_result_sample', Integer, ForeignKey('mo_result.id', use_alter=True, name='fk_mo_result_sample')), 
    1091 Column('ceda_project_projectresource', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project_projectresource')), 
    1092 Column('serviceFunction', String , nullable=True), 
    1093         extend_existing=False,) 
    1094          
    1095  
    1096  
    1097  
    1098  
    1099  
    1100  
    1101         nt_exitassociation_table = Table('nt_exitassociation', metadata, 
    1102         Column('id', Integer, Sequence('nt_exitassociation_id_seq'), primary_key=True), 
    1103                                         Column('nt_advisory__element_nt_exitassociation', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_exitassociation')), 
    1104 Column('exit2', Integer , nullable=True), 
    1105 Column('exit1', Integer , nullable=False), 
    1106         extend_existing=False,) 
    1107          
    1108  
     1153        extend_existing=False,) 
     1154         
     1155 
     1156 
     1157 
     1158 
     1159 
     1160        nt_advisoryspatialrelation_table = Table('nt_advisoryspatialrelation', metadata, 
     1161        Column('id', Integer, Sequence('nt_advisoryspatialrelation_id_seq'), primary_key=True), 
     1162Column('nt_advisory__element_nt_advisoryspatialrelation', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_advisoryspatialrelation')), 
     1163Column('spatialRelationship', String , nullable=False), 
     1164        extend_existing=False,) 
     1165         
     1166 
     1167 
     1168 
     1169 
     1170 
     1171        cv_gridenvelope_table = Table('cv_gridenvelope', metadata, 
     1172        Column('id', Integer, Sequence('cv_gridenvelope_id_seq'), primary_key=True), 
     1173Column('cv_grid_extent_id', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_extent')), 
     1174        extend_existing=False,) 
     1175         
     1176 
     1177 
     1178 
     1179 
     1180 
     1181        ci_date_table = Table('ci_date', metadata, 
     1182        Column('id', Integer, Sequence('ci_date_id_seq'), primary_key=True), 
     1183Column('ci_citation_date', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_date')), 
     1184Column('dateType', String , nullable=False), 
     1185        extend_existing=False,) 
     1186         
     1187 
     1188 
     1189 
     1190 
     1191 
     1192        mo_result_table = Table('mo_result', metadata, 
     1193        Column('id', Integer, Sequence('mo_result_id_seq'), primary_key=True), 
     1194Column('ceda_result__mo_result_id', Integer, ForeignKey('ceda_result.id', use_alter=True, name='fk_ceda_result__mo_result')), 
     1195        extend_existing=False,) 
     1196         
     1197 
     1198 
     1199 
     1200 
     1201 
     1202        tm_geometricprimitive_table = Table('tm_geometricprimitive', metadata, 
     1203        Column('id', Integer, Sequence('tm_geometricprimitive_id_seq'), primary_key=True), 
     1204Column('tm_period__tm_geometricprimitive_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period__tm_geometricprimitive')), 
     1205Column('ex_temporalextent__extent_tm_geometricprimitive_id', Integer, ForeignKey('ex_temporalextent.id', use_alter=True, name='fk_ex_temporalextent__extent_tm_geometricprimitive')), 
     1206Column('tm_instant__tm_geometricprimitive_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant__tm_geometricprimitive')), 
     1207Column('nt_temporalconstraint__allowedtime_tm_geometricprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__allowedtime_tm_geometricprimitive')), 
     1208Column('nt_constraint__temporalvalidity_tm_geometricprimitive_id', Integer, ForeignKey('nt_constraint.id', use_alter=True, name='fk_nt_constraint__temporalvalidity_tm_geometricprimitive')), 
     1209Column('nt_temporalconstraint__forbiddentime_tm_geometricprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__forbiddentime_tm_geometricprimitive')), 
     1210        extend_existing=False,) 
     1211         
    11091212 
    11101213 
     
    11141217        multiplicity_table = Table('multiplicity', metadata, 
    11151218        Column('id', Integer, Sequence('multiplicity_id_seq'), primary_key=True), 
    1116                                         Column('gf_attributetype_cardinality_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype_cardinality')), 
    11171219Column('gf_associationrole_cardinality_id', Integer, ForeignKey('gf_associationrole.id', use_alter=True, name='fk_gf_associationrole_cardinality')), 
    1118         extend_existing=False,) 
    1119          
    1120  
    1121  
    1122  
    1123  
    1124  
    1125  
    1126         nt_advisorydirection_table = Table('nt_advisorydirection', metadata, 
    1127         Column('id', Integer, Sequence('nt_advisorydirection_id_seq'), primary_key=True), 
    1128                                         Column('nt_advisory__element_nt_advisorydirection', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_advisorydirection')), 
    1129 Column('direction', String , nullable=True), 
    1130         extend_existing=False,) 
    1131          
    1132  
    1133  
    1134  
    1135  
    1136  
    1137  
    1138         nt_advisoryspatialrelation_table = Table('nt_advisoryspatialrelation', metadata, 
    1139         Column('id', Integer, Sequence('nt_advisoryspatialrelation_id_seq'), primary_key=True), 
    1140                                         Column('nt_advisory__element_nt_advisoryspatialrelation', Integer, ForeignKey('nt_advisory.id', use_alter=True, name='fk_nt_advisory__element_nt_advisoryspatialrelation')), 
    1141 Column('spatialRelationship', String , nullable=False), 
    1142         extend_existing=False,) 
    1143          
    1144  
    1145  
    1146  
    1147  
    1148  
    1149  
    1150         date_table = Table('date', metadata, 
    1151         Column('id', Integer, Sequence('date_id_seq'), primary_key=True), 
    1152                                         Column('temporaldatum_realizationepoch_id', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum_realizationepoch')), 
    1153 Column('tm_position_date8601_id', Integer, ForeignKey('tm_position.id', use_alter=True, name='fk_tm_position_date8601')), 
    1154 Column('ci_citation_editiondate_id', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_editiondate')), 
    1155 Column('ci_date_date_id', Integer, ForeignKey('ci_date.id', use_alter=True, name='fk_ci_date_date')), 
    1156 Column('cd_datum_realizationepoch_id', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum_realizationepoch')), 
    1157 Column('datetime_date_id', Integer, ForeignKey('datetime.id', use_alter=True, name='fk_datetime_date')), 
    1158 Column('md_metadata_datestamp_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_datestamp')), 
    1159 Column('md_maintenanceinformation_dateofnextupdate_id', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_dateofnextupdate')), 
    1160 Column('year', Text , nullable=True), 
    1161 Column('day', Text , nullable=True), 
    1162 Column('century', Text , nullable=False), 
    1163 Column('month', Text , nullable=True), 
    1164         extend_existing=False,) 
    1165          
    1166  
    1167  
    1168  
    1169  
    1170  
    1171  
    1172         ci_responsibleparty_table = Table('ci_responsibleparty', metadata, 
    1173         Column('id', Integer, Sequence('ci_responsibleparty_id_seq'), primary_key=True), 
    1174                                         Column('si_locationinstance_administrator_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_administrator')), 
    1175 Column('vouchers_repository_id', Integer, ForeignKey('vouchers.id', use_alter=True, name='fk_vouchers_repository')), 
    1176 Column('si_spatialreferencesystemusinggeographicidentifiers_overallowner_id', Integer, ForeignKey('si_spatialreferencesystemusinggeographicidentifiers.id', use_alter=True, name='fk_si_spatialreferencesystemusinggeographicidentifiers_overallowner')), 
    1177 Column('ci_citation_citedresponsibleparty', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_citedresponsibleparty')), 
    1178 Column('md_usage_usercontactinfo', Integer, ForeignKey('md_usage.id', use_alter=True, name='fk_md_usage_usercontactinfo')), 
    1179 Column('md_metadata_contact', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_contact')), 
    1180 Column('md_distributor_distributorcontact_id', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributorcontact')), 
    1181 Column('si_locationtype_owner_id', Integer, ForeignKey('si_locationtype.id', use_alter=True, name='fk_si_locationtype_owner')), 
    1182 Column('taxonomysystem_observer_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_observer')), 
    1183 Column('li_processstep_processor', Integer, ForeignKey('li_processstep.id', use_alter=True, name='fk_li_processstep_processor')), 
    1184 Column('si_gazetteer_custodian_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer_custodian')), 
    1185 Column('md_identification_pointofcontact', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_pointofcontact')), 
    1186 Column('md_extendedelementinformation_source', Integer, ForeignKey('md_extendedelementinformation.id', use_alter=True, name='fk_md_extendedelementinformation_source')), 
    1187 Column('md_maintenanceinformation_contact', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_contact')), 
    1188 Column('organisationName', Text , nullable=True), 
    1189 Column('role', String , nullable=False), 
    1190 Column('positionName', Text , nullable=True), 
    1191 Column('individualName', Text , nullable=True), 
    1192         extend_existing=False,) 
    1193          
    1194  
    1195  
    1196  
    1197  
    1198  
    1199  
    1200         ex_geographicboundingbox_table = Table('ex_geographicboundingbox', metadata, 
    1201         Column('id', Integer, Sequence('ex_geographicboundingbox_id_seq'), primary_key=True), 
    1202                                         Column('mo_observation__geographicextent_ex_geographicboundingbox', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation__geographicextent_ex_geographicboundingbox')), 
    1203 Column('si_gazetteer__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer__territoryofuse_ex_geographicboundingbox')), 
    1204 Column('nt_routesummary__extent_ex_geographicboundingbox_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary__extent_ex_geographicboundingbox')), 
    1205 Column('si_locationinstance__geographicextent_ex_geographicboundingbox_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance__geographicextent_ex_geographicboundingbox')), 
    1206 Column('si_locationtype__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_locationtype.id', use_alter=True, name='fk_si_locationtype__territoryofuse_ex_geographicboundingbox')), 
    1207 Column('ex_extent__geographicelement_ex_geographicboundingbox', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent__geographicelement_ex_geographicboundingbox')), 
    1208 Column('mo_observationcollection__geographicextent_ex_geographicboundingbox', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection__geographicextent_ex_geographicboundingbox')), 
    1209 Column('si_spatialreferencesystemusinggeographicidentifiers__territoryofuse_ex_geographicboundingbox_id', Integer, ForeignKey('si_spatialreferencesystemusinggeographicidentifiers.id', use_alter=True, name='fk_si_spatialreferencesystemusinggeographicidentifiers__territoryofuse_ex_geographicboundingbox')), 
    1210 Column('westBoundLongitude', NUMERIC , nullable=False), 
    1211 Column('southBoundLatitude', NUMERIC , nullable=False), 
    1212 Column('northBoundLatitude', NUMERIC , nullable=False), 
    1213 Column('eastBoundLongitude', NUMERIC , nullable=False), 
    1214         extend_existing=False,) 
    1215          
    1216  
    1217  
    1218  
    1219  
    1220  
    1221  
    1222         tm_primitive_table = Table('tm_primitive', metadata, 
    1223         Column('id', Integer, Sequence('tm_primitive_id_seq'), primary_key=True), 
    1224                                         Column('mo_observationcollection__phenomenontime_tm_primitive', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection__phenomenontime_tm_primitive')), 
    1225 Column('om_temporalobservation__result_tm_primitive_id', Integer, ForeignKey('om_temporalobservation.id', use_alter=True, name='fk_om_temporalobservation__result_tm_primitive')), 
    1226 Column('sf_specimen__samplingtime_tm_primitive_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__samplingtime_tm_primitive')), 
    1227 Column('tm_topologicalprimitive_tm_primitive_id', Integer, ForeignKey('tm_topologicalprimitive.id', use_alter=True, name='fk_tm_topologicalprimitive_tm_primitive')), 
    1228 Column('tm_geometricprimitive_tm_primitive_id', Integer, ForeignKey('tm_geometricprimitive.id', use_alter=True, name='fk_tm_geometricprimitive_tm_primitive')), 
    1229 Column('mo_operation__operationtime_tm_primitive_id', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation__operationtime_tm_primitive')), 
    1230         extend_existing=False,) 
    1231          
    1232  
    1233  
    1234  
    1235  
    1236  
    1237  
    1238         cv_gridenvelope_table = Table('cv_gridenvelope', metadata, 
    1239         Column('id', Integer, Sequence('cv_gridenvelope_id_seq'), primary_key=True), 
    1240                                         Column('cv_grid_extent_id', Integer, ForeignKey('cv_grid.id', use_alter=True, name='fk_cv_grid_extent')), 
    1241         extend_existing=False,) 
    1242          
    1243  
    1244  
    1245  
    1246  
    1247  
    1248  
    1249         md_extendedelementinformation_table = Table('md_extendedelementinformation', metadata, 
    1250         Column('id', Integer, Sequence('md_extendedelementinformation_id_seq'), primary_key=True), 
    1251                                         Column('md_metadataextensioninformation_extendedelementinformation', Integer, ForeignKey('md_metadataextensioninformation.id', use_alter=True, name='fk_md_metadataextensioninformation_extendedelementinformation')), 
    1252 Column('domainCode', Integer , nullable=True), 
    1253 Column('parentEntity', ARRAY(Text) , nullable=False), 
    1254 Column('domainValue', Text , nullable=True), 
    1255 Column('dataType', String , nullable=False), 
    1256 Column('maximumOccurrence', Text , nullable=True), 
    1257 Column('definition', Text , nullable=False), 
    1258 Column('rule', Text , nullable=False), 
    1259 Column('shortName', Text , nullable=True), 
    1260 Column('obligation', MD_ObligationCode.db_type() , nullable=True), 
    1261 Column('rationale', ARRAY(Text) , nullable=True), 
    1262 Column('name', Text , nullable=False), 
    1263 Column('condition', Text , nullable=True), 
    1264         extend_existing=False,) 
    1265          
    1266  
    1267  
    1268  
    1269  
    1270  
    1271  
    1272         mo_result_table = Table('mo_result', metadata, 
    1273         Column('id', Integer, Sequence('mo_result_id_seq'), primary_key=True), 
    1274                                         Column('ceda_result_mo_result_id', Integer, ForeignKey('ceda_result.id', use_alter=True, name='fk_ceda_result_mo_result')), 
    1275         extend_existing=False,) 
    1276          
    1277  
    1278  
    1279  
    1280  
    1281  
    1282  
    1283         ceda_result_table = Table('ceda_result', metadata, 
    1284         Column('id', Integer, Sequence('ceda_result_id_seq'), primary_key=True), 
    1285                                         Column('mo_observation_result_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_result')), 
    1286 Column('curationCategory', String , nullable=False), 
    1287 Column('volume', Integer , nullable=True), 
    1288 Column('internalPath', Text , nullable=False), 
    1289 Column('numberOfFiles', Integer , nullable=True), 
    1290         extend_existing=False,) 
    1291          
    1292  
     1220Column('gf_attributetype_cardinality_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype_cardinality')), 
     1221        extend_existing=False,) 
     1222         
    12931223 
    12941224 
     
    12981228        mo_party_table = Table('mo_party', metadata, 
    12991229        Column('id', Integer, Sequence('mo_party_id_seq'), primary_key=True), 
    1300                                         Column('mo_individual_mo_party_id', Integer, ForeignKey('mo_individual.id', use_alter=True, name='fk_mo_individual_mo_party')), 
    1301 Column('mo_organisation_mo_party_id', Integer, ForeignKey('mo_organisation.id', use_alter=True, name='fk_mo_organisation_mo_party')), 
     1230Column('mo_individual__mo_party_id', Integer, ForeignKey('mo_individual.id', use_alter=True, name='fk_mo_individual__mo_party')), 
     1231Column('mo_organisation__mo_party_id', Integer, ForeignKey('mo_organisation.id', use_alter=True, name='fk_mo_organisation__mo_party')), 
    13021232Column('name', Text , nullable=True), 
    13031233        extend_existing=False,) 
    13041234         
    1305  
    1306  
    1307  
    1308  
    1309  
    1310  
    1311         vouchers_table = Table('vouchers', metadata, 
    1312         Column('id', Integer, Sequence('vouchers_id_seq'), primary_key=True), 
    1313                                         Column('taxonomysystem_thevouchers', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_thevouchers')), 
    1314 Column('specimen', Text , nullable=False), 
    1315         extend_existing=False,) 
    1316          
    1317  
    1318  
    1319  
    1320  
    1321  
    1322  
    1323         tm_geometricprimitive_table = Table('tm_geometricprimitive', metadata, 
    1324         Column('id', Integer, Sequence('tm_geometricprimitive_id_seq'), primary_key=True), 
    1325                                         Column('tm_period_tm_geometricprimitive_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_tm_geometricprimitive')), 
    1326 Column('tm_instant_tm_geometricprimitive_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_tm_geometricprimitive')), 
    1327 Column('nt_constraint__temporalvalidity_tm_geometricprimitive_id', Integer, ForeignKey('nt_constraint.id', use_alter=True, name='fk_nt_constraint__temporalvalidity_tm_geometricprimitive')), 
    1328 Column('ex_temporalextent__extent_tm_geometricprimitive_id', Integer, ForeignKey('ex_temporalextent.id', use_alter=True, name='fk_ex_temporalextent__extent_tm_geometricprimitive')), 
    1329 Column('nt_temporalconstraint__forbiddentime_tm_geometricprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__forbiddentime_tm_geometricprimitive')), 
    1330 Column('nt_temporalconstraint__allowedtime_tm_geometricprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__allowedtime_tm_geometricprimitive')), 
    1331         extend_existing=False,) 
    1332          
    1333  
    1334  
    1335  
    1336  
    1337  
    1338  
    1339         datetime_table = Table('datetime', metadata, 
    1340         Column('id', Integer, Sequence('datetime_id_seq'), primary_key=True), 
    1341                                         Column('temporaldatum_origin_id', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum_origin')), 
    1342 Column('tm_ordinalera_end_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_end')), 
    1343 Column('li_processstep_datetime_id', Integer, ForeignKey('li_processstep.id', use_alter=True, name='fk_li_processstep_datetime')), 
    1344 Column('md_standardorderprocess_plannedavailabledatetime_id', Integer, ForeignKey('md_standardorderprocess.id', use_alter=True, name='fk_md_standardorderprocess_plannedavailabledatetime')), 
    1345 Column('dq_element_datetime', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element_datetime')), 
    1346 Column('ceda_observation_resultfirstpublicationdate_id', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_resultfirstpublicationdate')), 
    1347 Column('tm_ordinalera_begin_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_begin')), 
    1348 Column('md_usage_usagedatetime_id', Integer, ForeignKey('md_usage.id', use_alter=True, name='fk_md_usage_usagedatetime')), 
    1349 Column('ceda_observation_citationtime_id', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_citationtime')), 
    1350 Column('tm_coordinatesystem_origin_id', Integer, ForeignKey('tm_coordinatesystem.id', use_alter=True, name='fk_tm_coordinatesystem_origin')), 
    1351 Column('ceda_notes_date_id', Integer, ForeignKey('ceda_notes.id', use_alter=True, name='fk_ceda_notes_date')), 
    1352 Column('tm_position_datetime8601_id', Integer, ForeignKey('tm_position.id', use_alter=True, name='fk_tm_position_datetime8601')), 
    1353         extend_existing=False,) 
    1354          
    1355  
    1356  
    1357  
    1358  
    1359  
    1360  
    1361         md_metadataextensioninformation_table = Table('md_metadataextensioninformation', metadata, 
    1362         Column('id', Integer, Sequence('md_metadataextensioninformation_id_seq'), primary_key=True), 
    1363                                         Column('md_metadata_metadataextensioninfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_metadataextensioninfo')), 
    1364         extend_existing=False,) 
    1365          
    1366  
    1367  
    1368  
    1369  
    1370  
    1371  
    1372         ci_date_table = Table('ci_date', metadata, 
    1373         Column('id', Integer, Sequence('ci_date_id_seq'), primary_key=True), 
    1374                                         Column('ci_citation_date', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_date')), 
    1375 Column('dateType', String , nullable=False), 
    1376         extend_existing=False,) 
    1377          
    1378  
    1379  
    1380  
    1381  
    1382  
    1383  
    1384         md_usage_table = Table('md_usage', metadata, 
    1385         Column('id', Integer, Sequence('md_usage_id_seq'), primary_key=True), 
    1386                                         Column('md_identification_resourcespecificusage', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_resourcespecificusage')), 
    1387 Column('specificUsage', Text , nullable=False), 
    1388 Column('userDeterminedLimitations', Text , nullable=True), 
    1389         extend_existing=False,) 
    1390          
    1391  
    13921235 
    13931236 
     
    13971240        md_standardorderprocess_table = Table('md_standardorderprocess', metadata, 
    13981241        Column('id', Integer, Sequence('md_standardorderprocess_id_seq'), primary_key=True), 
    1399                                         Column('md_distributor_distributionorderprocess', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributionorderprocess')), 
     1242Column('md_distributor_distributionorderprocess', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributionorderprocess')), 
    14001243Column('fees', Text , nullable=True), 
    14011244Column('turnaround', Text , nullable=True), 
     
    14081251 
    14091252 
     1253        ceda_result_table = Table('ceda_result', metadata, 
     1254        Column('id', Integer, Sequence('ceda_result_id_seq'), primary_key=True), 
     1255Column('mo_observation_result_id', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_result')), 
     1256Column('internalPath', Text , nullable=False), 
     1257Column('curationCategory', String , nullable=False), 
     1258Column('numberOfFiles', Integer , nullable=True), 
     1259Column('volume', Integer , nullable=True), 
     1260        extend_existing=False,) 
     1261         
     1262 
     1263 
     1264 
     1265 
     1266 
     1267        ci_responsibleparty_table = Table('ci_responsibleparty', metadata, 
     1268        Column('id', Integer, Sequence('ci_responsibleparty_id_seq'), primary_key=True), 
     1269Column('md_maintenanceinformation_contact', Integer, ForeignKey('md_maintenanceinformation.id', use_alter=True, name='fk_md_maintenanceinformation_contact')), 
     1270Column('vouchers_repository_id', Integer, ForeignKey('vouchers.id', use_alter=True, name='fk_vouchers_repository')), 
     1271Column('md_identification_pointofcontact', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_pointofcontact')), 
     1272Column('si_gazetteer_custodian_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer_custodian')), 
     1273Column('md_extendedelementinformation_source', Integer, ForeignKey('md_extendedelementinformation.id', use_alter=True, name='fk_md_extendedelementinformation_source')), 
     1274Column('si_spatialreferencesystemusinggeographicidentifiers_overallowner_id', Integer, ForeignKey('si_spatialreferencesystemusinggeographicidentifiers.id', use_alter=True, name='fk_si_spatialreferencesystemusinggeographicidentifiers_overallowner')), 
     1275Column('md_metadata_contact', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_contact')), 
     1276Column('md_usage_usercontactinfo', Integer, ForeignKey('md_usage.id', use_alter=True, name='fk_md_usage_usercontactinfo')), 
     1277Column('li_processstep_processor', Integer, ForeignKey('li_processstep.id', use_alter=True, name='fk_li_processstep_processor')), 
     1278Column('md_distributor_distributorcontact_id', Integer, ForeignKey('md_distributor.id', use_alter=True, name='fk_md_distributor_distributorcontact')), 
     1279Column('ci_citation_citedresponsibleparty', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_citedresponsibleparty')), 
     1280Column('si_locationinstance_administrator_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_administrator')), 
     1281Column('si_locationtype_owner_id', Integer, ForeignKey('si_locationtype.id', use_alter=True, name='fk_si_locationtype_owner')), 
     1282Column('taxonomysystem_observer_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_observer')), 
     1283Column('organisationName', Text , nullable=True), 
     1284Column('positionName', Text , nullable=True), 
     1285Column('role', String , nullable=False), 
     1286Column('individualName', Text , nullable=True), 
     1287        extend_existing=False,) 
     1288         
     1289 
     1290 
     1291 
     1292 
    14101293 
    14111294        mo_individual_table = Table('mo_individual', metadata, 
    14121295        Column('id', Integer, Sequence('mo_individual_id_seq'), primary_key=True), 
    1413                                         Column('mo_responsiblepartyinfo__party_mo_individual', Integer, ForeignKey('mo_responsiblepartyinfo.id', use_alter=True, name='fk_mo_responsiblepartyinfo__party_mo_individual')), 
     1296Column('mo_responsiblepartyinfo__party_mo_individual', Integer, ForeignKey('mo_responsiblepartyinfo.id', use_alter=True, name='fk_mo_responsiblepartyinfo__party_mo_individual')), 
    14141297Column('mo_organisation_individual', Integer, ForeignKey('mo_organisation.id', use_alter=True, name='fk_mo_organisation_individual')), 
    14151298Column('positionName', Text , nullable=True), 
     
    14211304 
    14221305 
    1423  
    1424         dq_dataquality_table = Table('dq_dataquality', metadata, 
    1425         Column('id', Integer, Sequence('dq_dataquality_id_seq'), primary_key=True), 
    1426                                         Column('md_metadata_dataqualityinfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_dataqualityinfo')), 
    1427         extend_existing=False,) 
    1428          
    1429  
    1430  
    1431  
    1432  
    1433  
    1434  
    1435         tp_face_table = Table('tp_face', metadata, 
    1436         Column('id', Integer, Sequence('tp_face_id_seq'), primary_key=True), 
    1437                                         Column('tp_directedtopo__topo_tp_face_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_tp_face')), 
    1438 Column('tp_primitive__container_tp_face_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_tp_face')), 
    1439 Column('tp_directedface_topo_id', Integer, ForeignKey('tp_directedface.id', use_alter=True, name='fk_tp_directedface_topo')), 
    1440         extend_existing=False,) 
    1441          
    1442  
     1306        vouchers_table = Table('vouchers', metadata, 
     1307        Column('id', Integer, Sequence('vouchers_id_seq'), primary_key=True), 
     1308Column('taxonomysystem_thevouchers', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_thevouchers')), 
     1309Column('specimen', Text , nullable=False), 
     1310        extend_existing=False,) 
     1311         
     1312 
     1313 
     1314 
     1315 
     1316 
     1317        md_usage_table = Table('md_usage', metadata, 
     1318        Column('id', Integer, Sequence('md_usage_id_seq'), primary_key=True), 
     1319Column('md_identification_resourcespecificusage', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_resourcespecificusage')), 
     1320Column('specificUsage', Text , nullable=False), 
     1321Column('userDeterminedLimitations', Text , nullable=True), 
     1322        extend_existing=False,) 
     1323         
     1324 
     1325 
     1326 
     1327 
     1328 
     1329        md_extendedelementinformation_table = Table('md_extendedelementinformation', metadata, 
     1330        Column('id', Integer, Sequence('md_extendedelementinformation_id_seq'), primary_key=True), 
     1331Column('md_metadataextensioninformation_extendedelementinformation', Integer, ForeignKey('md_metadataextensioninformation.id', use_alter=True, name='fk_md_metadataextensioninformation_extendedelementinformation')), 
     1332Column('dataType', String , nullable=False), 
     1333Column('parentEntity', ARRAY(Text) , nullable=False), 
     1334Column('rule', Text , nullable=False), 
     1335Column('condition', Text , nullable=True), 
     1336Column('domainValue', Text , nullable=True), 
     1337Column('rationale', ARRAY(Text) , nullable=True), 
     1338Column('shortName', Text , nullable=True), 
     1339Column('maximumOccurrence', Text , nullable=True), 
     1340Column('name', Text , nullable=False), 
     1341Column('domainCode', Integer , nullable=True), 
     1342Column('obligation', MD_ObligationCode.db_type() , nullable=True), 
     1343Column('definition', Text , nullable=False), 
     1344        extend_existing=False,) 
     1345         
     1346 
     1347 
     1348 
     1349 
     1350 
     1351        md_metadataextensioninformation_table = Table('md_metadataextensioninformation', metadata, 
     1352        Column('id', Integer, Sequence('md_metadataextensioninformation_id_seq'), primary_key=True), 
     1353Column('md_metadata_metadataextensioninfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_metadataextensioninfo')), 
     1354        extend_existing=False,) 
     1355         
     1356 
     1357 
     1358 
     1359 
     1360 
     1361        gm_geodesicstring_table = Table('gm_geodesicstring', metadata, 
     1362        Column('id', Integer, Sequence('gm_geodesicstring_id_seq'), primary_key=True), 
     1363Column('gm_offsetcurve__basecurve_gm_geodesicstring_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve__basecurve_gm_geodesicstring')), 
     1364Column('gm_curve__segment_gm_geodesicstring', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__segment_gm_geodesicstring')), 
     1365        extend_existing=False,) 
     1366         
     1367 
     1368 
     1369 
     1370 
     1371 
     1372        cs_coordinatesystem_table = Table('cs_coordinatesystem', metadata, 
     1373        Column('id', Integer, Sequence('cs_coordinatesystem_id_seq'), primary_key=True), 
     1374Column('cs_sphericalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_sphericalcs.id', use_alter=True, name='fk_cs_sphericalcs__cs_coordinatesystem')), 
     1375Column('cs_cylindricalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_cylindricalcs.id', use_alter=True, name='fk_cs_cylindricalcs__cs_coordinatesystem')), 
     1376Column('cs_cartesiancs__cs_coordinatesystem_id', Integer, ForeignKey('cs_cartesiancs.id', use_alter=True, name='fk_cs_cartesiancs__cs_coordinatesystem')), 
     1377Column('cs_userdefinedcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_userdefinedcs.id', use_alter=True, name='fk_cs_userdefinedcs__cs_coordinatesystem')), 
     1378Column('cs_affinecs__cs_coordinatesystem_id', Integer, ForeignKey('cs_affinecs.id', use_alter=True, name='fk_cs_affinecs__cs_coordinatesystem')), 
     1379Column('timecs__cs_coordinatesystem_id', Integer, ForeignKey('timecs.id', use_alter=True, name='fk_timecs__cs_coordinatesystem')), 
     1380Column('cs_linearcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_linearcs.id', use_alter=True, name='fk_cs_linearcs__cs_coordinatesystem')), 
     1381Column('cs_polarcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_polarcs.id', use_alter=True, name='fk_cs_polarcs__cs_coordinatesystem')), 
     1382Column('cs_ellipsoidalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_ellipsoidalcs.id', use_alter=True, name='fk_cs_ellipsoidalcs__cs_coordinatesystem')), 
     1383Column('cs_verticalcs__cs_coordinatesystem_id', Integer, ForeignKey('cs_verticalcs.id', use_alter=True, name='fk_cs_verticalcs__cs_coordinatesystem')), 
     1384        extend_existing=False,) 
     1385         
     1386 
     1387 
     1388 
     1389 
     1390 
     1391        tp_expression_table = Table('tp_expression', metadata, 
     1392        Column('id', Integer, Sequence('tp_expression_id_seq'), primary_key=True), 
     1393Column('toposurface__tp_expression_id', Integer, ForeignKey('toposurface.id', use_alter=True, name='fk_toposurface__tp_expression')), 
     1394Column('topovolume__tp_expression_id', Integer, ForeignKey('topovolume.id', use_alter=True, name='fk_topovolume__tp_expression')), 
     1395Column('tp_shell__tp_expression_id', Integer, ForeignKey('tp_shell.id', use_alter=True, name='fk_tp_shell__tp_expression')), 
     1396Column('tp_boundary__tp_expression_id', Integer, ForeignKey('tp_boundary.id', use_alter=True, name='fk_tp_boundary__tp_expression')), 
     1397Column('topocurve__tp_expression_id', Integer, ForeignKey('topocurve.id', use_alter=True, name='fk_topocurve__tp_expression')), 
     1398Column('topopoint__tp_expression_id', Integer, ForeignKey('topopoint.id', use_alter=True, name='fk_topopoint__tp_expression')), 
     1399Column('tp_ring__tp_expression_id', Integer, ForeignKey('tp_ring.id', use_alter=True, name='fk_tp_ring__tp_expression')), 
     1400        extend_existing=False,) 
     1401         
     1402 
     1403 
     1404 
     1405 
     1406 
     1407        md_metadata_table = Table('md_metadata', metadata, 
     1408        Column('id', Integer, Sequence('md_metadata_id_seq'), primary_key=True), 
     1409Column('om_observation_metadata_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_metadata')), 
     1410Column('hierarchyLevel', String , nullable=True), 
     1411Column('language', Text , nullable=True), 
     1412Column('parentIdentifier', Text , nullable=True), 
     1413Column('metadataStandardVersion', Text , nullable=True), 
     1414Column('metadataStandardName', Text , nullable=True), 
     1415Column('characterSet', String , nullable=True), 
     1416Column('dataSet', Text , nullable=True), 
     1417Column('hierarchyLevelName', ARRAY(Text) , nullable=True), 
     1418Column('fileIdentifier', Text , nullable=True), 
     1419        extend_existing=False,) 
     1420         
     1421 
     1422 
     1423 
     1424 
     1425 
     1426        polygon_table = Table('polygon', metadata, 
     1427        Column('id', Integer, Sequence('polygon_id_seq'), primary_key=True), 
     1428Column('gm_surfacepatch__surface_polygon_id', Integer, ForeignKey('gm_surfacepatch.id', use_alter=True, name='fk_gm_surfacepatch__surface_polygon')), 
     1429Column('cv_surfacevaluepair__geometry_polygon_id', Integer, ForeignKey('cv_surfacevaluepair.id', use_alter=True, name='fk_cv_surfacevaluepair__geometry_polygon')), 
     1430Column('gm_polygon__spanningsurface_polygon_id', Integer, ForeignKey('gm_polygon.id', use_alter=True, name='fk_gm_polygon__spanningsurface_polygon')), 
     1431Column('cv_thiessenpolygoncoverage__cliparea_polygon_id', Integer, ForeignKey('cv_thiessenpolygoncoverage.id', use_alter=True, name='fk_cv_thiessenpolygoncoverage__cliparea_polygon')), 
     1432        extend_existing=False,) 
     1433         
     1434 
     1435 
     1436 
     1437 
     1438 
     1439        cd_verticaldatum_table = Table('cd_verticaldatum', metadata, 
     1440        Column('id', Integer, Sequence('cd_verticaldatum_id_seq'), primary_key=True), 
     1441Column('sc_verticalcrs_datum_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs_datum')), 
     1442Column('sc_singlecrs__datum_cd_verticaldatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_verticaldatum')), 
     1443        extend_existing=False,) 
     1444         
     1445 
     1446 
     1447 
     1448 
     1449 
     1450        sc_singlecrs_table = Table('sc_singlecrs', metadata, 
     1451        Column('id', Integer, Sequence('sc_singlecrs_id_seq'), primary_key=True), 
     1452Column('cc_coordinateoperation__sourcecrs_sc_singlecrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__sourcecrs_sc_singlecrs')), 
     1453Column('cv_coverage__crs_sc_singlecrs_id', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage__crs_sc_singlecrs')), 
     1454Column('sc_engineeringcrs__sc_singlecrs_id', Integer, ForeignKey('sc_engineeringcrs.id', use_alter=True, name='fk_sc_engineeringcrs__sc_singlecrs')), 
     1455Column('ex_verticalextent__verticalcrs_sc_singlecrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent__verticalcrs_sc_singlecrs')), 
     1456Column('sc_geodeticcrs__sc_singlecrs_id', Integer, ForeignKey('sc_geodeticcrs.id', use_alter=True, name='fk_sc_geodeticcrs__sc_singlecrs')), 
     1457Column('sc_imagecrs__sc_singlecrs_id', Integer, ForeignKey('sc_imagecrs.id', use_alter=True, name='fk_sc_imagecrs__sc_singlecrs')), 
     1458Column('sc_generalderivedcrs__sc_singlecrs_id', Integer, ForeignKey('sc_generalderivedcrs.id', use_alter=True, name='fk_sc_generalderivedcrs__sc_singlecrs')), 
     1459Column('directposition__crs_sc_singlecrs_id', Integer, ForeignKey('directposition.id', use_alter=True, name='fk_directposition__crs_sc_singlecrs')), 
     1460Column('cc_coordinateoperation__targetcrs_sc_singlecrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__targetcrs_sc_singlecrs')), 
     1461Column('tm_temporalcrs__sc_singlecrs_id', Integer, ForeignKey('tm_temporalcrs.id', use_alter=True, name='fk_tm_temporalcrs__sc_singlecrs')), 
     1462Column('gm_object__crs_sc_singlecrs_id', Integer, ForeignKey('gm_object.id', use_alter=True, name='fk_gm_object__crs_sc_singlecrs')), 
     1463Column('sc_verticalcrs__sc_singlecrs_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs__sc_singlecrs')), 
     1464Column('si_gazetteer__coordinate_system_sc_singlecrs_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer__coordinate_system_sc_singlecrs')), 
     1465Column('cv_referenceablegrid__crs_sc_singlecrs', Integer, ForeignKey('cv_referenceablegrid.id', use_alter=True, name='fk_cv_referenceablegrid__crs_sc_singlecrs')), 
     1466Column('temporalcrs__sc_singlecrs_id', Integer, ForeignKey('temporalcrs.id', use_alter=True, name='fk_temporalcrs__sc_singlecrs')), 
     1467        extend_existing=False,) 
     1468         
     1469 
     1470 
     1471 
     1472 
     1473 
     1474        cs_cartesiancs_table = Table('cs_cartesiancs', metadata, 
     1475        Column('id', Integer, Sequence('cs_cartesiancs_id_seq'), primary_key=True), 
     1476Column('cs_imagecs_cartesiancs_id', Integer, ForeignKey('cs_imagecs.id', use_alter=True, name='fk_cs_imagecs_cartesiancs')), 
     1477Column('cs_coordinatesystemaxis__coordinatesystem_cs_cartesiancs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_cartesiancs')), 
     1478Column('sc_singlecrs__coordinatesystem_cs_cartesiancs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_cartesiancs')), 
     1479Column('cs_engineeringcs_cartesiancs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_cartesiancs')), 
     1480Column('cs_geodeticcs_cartesiancs_id', Integer, ForeignKey('cs_geodeticcs.id', use_alter=True, name='fk_cs_geodeticcs_cartesiancs')), 
     1481Column('sc_projectedcrs_coordinatesystem_id', Integer, ForeignKey('sc_projectedcrs.id', use_alter=True, name='fk_sc_projectedcrs_coordinatesystem')), 
     1482        extend_existing=False,) 
     1483         
     1484 
     1485 
     1486 
     1487 
     1488 
     1489        nl_compositecurve_table = Table('nl_compositecurve', metadata, 
     1490        Column('id', Integer, Sequence('nl_compositecurve_id_seq'), primary_key=True), 
     1491Column('nl_ring__nl_compositecurve_id', Integer, ForeignKey('nl_ring.id', use_alter=True, name='fk_nl_ring__nl_compositecurve')), 
     1492Column('nl_map__subcomplex_nl_compositecurve', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__subcomplex_nl_compositecurve')), 
     1493Column('nl_orientablecurve_composite', Integer, ForeignKey('nl_orientablecurve.id', use_alter=True, name='fk_nl_orientablecurve_composite')), 
     1494Column('orientation', Sign.db_type() , nullable=False), 
     1495        extend_existing=False,) 
     1496         
     1497 
     1498 
     1499 
     1500 
     1501 
     1502        md_format_table = Table('md_format', metadata, 
     1503        Column('id', Integer, Sequence('md_format_id_seq'), primary_key=True), 
     1504Column('mx_datafile_fileformat_id', Integer, ForeignKey('mx_datafile.id', use_alter=True, name='fk_mx_datafile_fileformat')), 
     1505Column('qe_coverageresult_resultformat_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult_resultformat')), 
     1506Column('fileDecompressionTechnique', Text , nullable=True), 
     1507Column('amendmentNumber', Text , nullable=True), 
     1508Column('version', Text , nullable=False), 
     1509Column('name', Text , nullable=False), 
     1510Column('specification', Text , nullable=True), 
     1511        extend_existing=False,) 
     1512         
     1513 
     1514 
     1515 
     1516 
     1517 
     1518        md_identifier_table = Table('md_identifier', metadata, 
     1519        Column('id', Integer, Sequence('md_identifier_id_seq'), primary_key=True), 
     1520Column('mo_featureofinterest_identifier', Integer, ForeignKey('mo_featureofinterest.id', use_alter=True, name='fk_mo_featureofinterest_identifier')), 
     1521Column('mo_operation_identifier', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation_identifier')), 
     1522Column('dq_element_measureidentification_id', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element_measureidentification')), 
     1523Column('ex_geographicdescription_geographicidentifier_id', Integer, ForeignKey('ex_geographicdescription.id', use_alter=True, name='fk_ex_geographicdescription_geographicidentifier')), 
     1524Column('le_source_processedlevel_id', Integer, ForeignKey('le_source.id', use_alter=True, name='fk_le_source_processedlevel')), 
     1525Column('md_imagedescription_imagequalitycode_id', Integer, ForeignKey('md_imagedescription.id', use_alter=True, name='fk_md_imagedescription_imagequalitycode')), 
     1526Column('mo_acquisition_identifier', Integer, ForeignKey('mo_acquisition.id', use_alter=True, name='fk_mo_acquisition_identifier')), 
     1527Column('mo_instrument_identifier', Integer, ForeignKey('mo_instrument.id', use_alter=True, name='fk_mo_instrument_identifier')), 
     1528Column('mo_observationcollection_identifier', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection_identifier')), 
     1529Column('md_imagedescription_processinglevelcode_id', Integer, ForeignKey('md_imagedescription.id', use_alter=True, name='fk_md_imagedescription_processinglevelcode')), 
     1530Column('rs_identifier__md_identifier_id', Integer, ForeignKey('rs_identifier.id', use_alter=True, name='fk_rs_identifier__md_identifier')), 
     1531Column('md_aggregateinformation_aggregatedatasetidentifier_id', Integer, ForeignKey('md_aggregateinformation.id', use_alter=True, name='fk_md_aggregateinformation_aggregatedatasetidentifier')), 
     1532Column('mo_processing_identifier', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_identifier')), 
     1533Column('ci_citation_identifier', Integer, ForeignKey('ci_citation.id', use_alter=True, name='fk_ci_citation_identifier')), 
     1534Column('mo_organisation_identifier', Integer, ForeignKey('mo_organisation.id', use_alter=True, name='fk_mo_organisation_identifier')), 
     1535Column('mo_platform_identifier', Integer, ForeignKey('mo_platform.id', use_alter=True, name='fk_mo_platform_identifier')), 
     1536Column('mo_project_identifier', Integer, ForeignKey('mo_project.id', use_alter=True, name='fk_mo_project_identifier')), 
     1537Column('mo_compositeprocess_identifier', Integer, ForeignKey('mo_compositeprocess.id', use_alter=True, name='fk_mo_compositeprocess_identifier')), 
     1538Column('mo_observation_identifier', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_identifier')), 
     1539Column('code', Text , nullable=False), 
     1540        extend_existing=False,) 
     1541         
     1542 
     1543 
     1544 
     1545 
     1546 
     1547        tp_directededge_table = Table('tp_directededge', metadata, 
     1548        Column('id', Integer, Sequence('tp_directededge_id_seq'), primary_key=True), 
     1549Column('tp_primitive__proxy_tp_directededge_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__proxy_tp_directededge')), 
     1550Column('tp_expressionterm__variable_tp_directededge_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__variable_tp_directededge')), 
     1551Column('tp_edge__tp_directededge_id', Integer, ForeignKey('tp_edge.id', use_alter=True, name='fk_tp_edge__tp_directededge')), 
     1552Column('nt_link__tp_directededge_id', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link__tp_directededge')), 
     1553        extend_existing=False,) 
     1554         
     1555 
     1556 
     1557 
     1558 
     1559 
     1560        cv_attributevalues_table = Table('cv_attributevalues', metadata, 
     1561        Column('id', Integer, Sequence('cv_attributevalues_id_seq'), primary_key=True), 
     1562Column('cv_coverage_rangeelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_rangeelement')), 
     1563        extend_existing=False,) 
     1564         
     1565 
     1566 
     1567 
     1568 
     1569 
     1570        md_gridspatialrepresentation_table = Table('md_gridspatialrepresentation', metadata, 
     1571        Column('id', Integer, Sequence('md_gridspatialrepresentation_id_seq'), primary_key=True), 
     1572Column('md_metadata__spatialrepresentationinfo_md_gridspatialrepresentation', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__spatialrepresentationinfo_md_gridspatialrepresentation')), 
     1573Column('qe_coverageresult__resultspatialrepresentation_md_gridspatialrepresentation_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultspatialrepresentation_md_gridspatialrepresentation')), 
     1574Column('cellGeometry', String , nullable=False), 
     1575Column('numberOfDimensions', Integer , nullable=False), 
     1576Column('transformationParameterAvailability', BOOLEAN , nullable=False), 
     1577        extend_existing=False,) 
     1578         
     1579 
     1580 
     1581 
     1582 
     1583 
     1584        nt_combinednetwork_table = Table('nt_combinednetwork', metadata, 
     1585        Column('id', Integer, Sequence('nt_combinednetwork_id_seq'), primary_key=True), 
     1586Column('nt_junction__maximalcomplex_nt_combinednetwork_id', Integer, ForeignKey('nt_junction.id', use_alter=True, name='fk_nt_junction__maximalcomplex_nt_combinednetwork')), 
     1587        extend_existing=False,) 
     1588         
     1589 
     1590 
     1591 
     1592 
     1593 
     1594        nt_transferlink_table = Table('nt_transferlink', metadata, 
     1595        Column('id', Integer, Sequence('nt_transferlink_id_seq'), primary_key=True), 
     1596Column('nt_combinednetwork_transferllink', Integer, ForeignKey('nt_combinednetwork.id', use_alter=True, name='fk_nt_combinednetwork_transferllink')), 
     1597        extend_existing=False,) 
     1598         
     1599 
     1600 
     1601 
     1602 
     1603 
     1604        cc_conversion_table = Table('cc_conversion', metadata, 
     1605        Column('id', Integer, Sequence('cc_conversion_id_seq'), primary_key=True), 
     1606Column('cc_operationmethod__coordoperation_cc_conversion', Integer, ForeignKey('cc_operationmethod.id', use_alter=True, name='fk_cc_operationmethod__coordoperation_cc_conversion')), 
     1607Column('sc_generalderivedcrs_conversion_id', Integer, ForeignKey('sc_generalderivedcrs.id', use_alter=True, name='fk_sc_generalderivedcrs_conversion')), 
     1608Column('cc_generalparametervalue__coordoperation_cc_conversion', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue__coordoperation_cc_conversion')), 
     1609Column('operationVersion', Text , nullable=True), 
     1610        extend_existing=False,) 
     1611         
     1612 
     1613 
     1614 
     1615 
     1616 
     1617        nl_curve_table = Table('nl_curve', metadata, 
     1618        Column('id', Integer, Sequence('nl_curve_id_seq'), primary_key=True), 
     1619Column('nl_compositecurve__generator_nl_curve', Integer, ForeignKey('nl_compositecurve.id', use_alter=True, name='fk_nl_compositecurve__generator_nl_curve')), 
     1620Column('nl_curvesegment_curve_id', Integer, ForeignKey('nl_curvesegment.id', use_alter=True, name='fk_nl_curvesegment_curve')), 
     1621Column('orientation', Sign.db_type() , nullable=False), 
     1622        extend_existing=False,) 
     1623         
     1624 
     1625 
     1626 
     1627 
     1628 
     1629        gfi_feature_table = Table('gfi_feature', metadata, 
     1630        Column('id', Integer, Sequence('gfi_feature_id_seq'), primary_key=True), 
     1631Column('gfi_domainfeature__gfi_feature_id', Integer, ForeignKey('gfi_domainfeature.id', use_alter=True, name='fk_gfi_domainfeature__gfi_feature')), 
     1632Column('mo_featureofinterest__gfi_feature_id', Integer, ForeignKey('mo_featureofinterest.id', use_alter=True, name='fk_mo_featureofinterest__gfi_feature')), 
     1633Column('sf_samplingfeature__gfi_feature_id', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__gfi_feature')), 
     1634        extend_existing=False,) 
     1635         
     1636 
     1637 
     1638 
     1639 
     1640 
     1641        nl_point_table = Table('nl_point', metadata, 
     1642        Column('id', Integer, Sequence('nl_point_id_seq'), primary_key=True), 
     1643Column('nl_compositepoint__nl_point_id', Integer, ForeignKey('nl_compositepoint.id', use_alter=True, name='fk_nl_compositepoint__nl_point')), 
     1644Column('nl_compositepoint_generator_id', Integer, ForeignKey('nl_compositepoint.id', use_alter=True, name='fk_nl_compositepoint_generator')), 
     1645Column('nl_map__element_nl_point', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__element_nl_point')), 
     1646        extend_existing=False,) 
     1647         
     1648 
     1649 
     1650 
     1651 
     1652 
     1653        cs_ellipsoidalcs_table = Table('cs_ellipsoidalcs', metadata, 
     1654        Column('id', Integer, Sequence('cs_ellipsoidalcs_id_seq'), primary_key=True), 
     1655Column('sc_singlecrs__coordinatesystem_cs_ellipsoidalcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_ellipsoidalcs')), 
     1656Column('cs_coordinatesystemaxis__coordinatesystem_cs_ellipsoidalcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_ellipsoidalcs')), 
     1657Column('cs_geodeticcs_ellipsoidalcs_id', Integer, ForeignKey('cs_geodeticcs.id', use_alter=True, name='fk_cs_geodeticcs_ellipsoidalcs')), 
     1658        extend_existing=False,) 
     1659         
     1660 
     1661 
     1662 
     1663 
     1664 
     1665        gf_associationrole_table = Table('gf_associationrole', metadata, 
     1666        Column('id', Integer, Sequence('gf_associationrole_id_seq'), primary_key=True), 
     1667Column('gf_associationtype_rolename', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_rolename')), 
     1668Column('gf_featuretype__carrierofcharacteristics_gf_associationrole', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype__carrierofcharacteristics_gf_associationrole')), 
     1669Column('md_metadata__propertytype_gf_associationrole', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__propertytype_gf_associationrole')), 
     1670Column('om_observation__observedproperty_gf_associationrole_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__observedproperty_gf_associationrole')), 
     1671        extend_existing=False,) 
     1672         
     1673 
     1674 
     1675 
     1676 
     1677 
     1678        cv_segmentedcurvecoverage_table = Table('cv_segmentedcurvecoverage', metadata, 
     1679        Column('id', Integer, Sequence('cv_segmentedcurvecoverage_id_seq'), primary_key=True), 
     1680Column('commonPointRule', String , nullable=False), 
     1681        extend_existing=False,) 
     1682         
     1683 
     1684 
     1685 
     1686 
     1687 
     1688        tp_primitive_table = Table('tp_primitive', metadata, 
     1689        Column('id', Integer, Sequence('tp_primitive_id_seq'), primary_key=True), 
     1690Column('tp_node__tp_primitive_id', Integer, ForeignKey('tp_node.id', use_alter=True, name='fk_tp_node__tp_primitive')), 
     1691Column('cell__tp_primitive_id', Integer, ForeignKey('cell.id', use_alter=True, name='fk_cell__tp_primitive')), 
     1692Column('simplex__tp_primitive_id', Integer, ForeignKey('simplex.id', use_alter=True, name='fk_simplex__tp_primitive')), 
     1693Column('tp_face__tp_primitive_id', Integer, ForeignKey('tp_face.id', use_alter=True, name='fk_tp_face__tp_primitive')), 
     1694Column('tp_solid__tp_primitive_id', Integer, ForeignKey('tp_solid.id', use_alter=True, name='fk_tp_solid__tp_primitive')), 
     1695Column('tp_edge__tp_primitive_id', Integer, ForeignKey('tp_edge.id', use_alter=True, name='fk_tp_edge__tp_primitive')), 
     1696Column('tp_directedtopo__tp_primitive_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__tp_primitive')), 
     1697        extend_existing=False,) 
     1698         
     1699 
     1700 
     1701 
     1702 
     1703 
     1704        ns_costedlink_table = Table('ns_costedlink', metadata, 
     1705        Column('id', Integer, Sequence('ns_costedlink_id_seq'), primary_key=True), 
     1706Column('ns_costfunction_link', Integer, ForeignKey('ns_costfunction.id', use_alter=True, name='fk_ns_costfunction_link')), 
     1707Column('nt_link_costedlink', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link_costedlink')), 
     1708        extend_existing=False,) 
     1709         
     1710 
     1711 
     1712 
     1713 
     1714 
     1715        tp_directedtopo_table = Table('tp_directedtopo', metadata, 
     1716        Column('id', Integer, Sequence('tp_directedtopo_id_seq'), primary_key=True), 
     1717Column('tp_primitive__container_tp_directedtopo_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_tp_directedtopo')), 
     1718Column('tp_directedsolid__tp_directedtopo_id', Integer, ForeignKey('tp_directedsolid.id', use_alter=True, name='fk_tp_directedsolid__tp_directedtopo')), 
     1719Column('tp_complex__element_tp_directedtopo', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__element_tp_directedtopo')), 
     1720Column('tp_directedface__tp_directedtopo_id', Integer, ForeignKey('tp_directedface.id', use_alter=True, name='fk_tp_directedface__tp_directedtopo')), 
     1721Column('tp_directednode__tp_directedtopo_id', Integer, ForeignKey('tp_directednode.id', use_alter=True, name='fk_tp_directednode__tp_directedtopo')), 
     1722Column('gm_primitive__topology_tp_directedtopo', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__topology_tp_directedtopo')), 
     1723Column('tp_primitive__isolated_tp_directedtopo', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__isolated_tp_directedtopo')), 
     1724Column('tp_directededge__tp_directedtopo_id', Integer, ForeignKey('tp_directededge.id', use_alter=True, name='fk_tp_directededge__tp_directedtopo')), 
     1725Column('orientation', Sign.db_type() , nullable=False), 
     1726        extend_existing=False,) 
     1727         
     1728 
     1729 
     1730 
     1731 
     1732 
     1733        uomweight_table = Table('uomweight', metadata, 
     1734        Column('id', Integer, Sequence('uomweight_id_seq'), primary_key=True), 
     1735Column('weight_uom_id', Integer, ForeignKey('weight.id', use_alter=True, name='fk_weight_uom')), 
     1736        extend_existing=False,) 
     1737         
     1738 
     1739 
     1740 
     1741 
     1742 
     1743        dq_positionalaccuracy_table = Table('dq_positionalaccuracy', metadata, 
     1744        Column('id', Integer, Sequence('dq_positionalaccuracy_id_seq'), primary_key=True), 
     1745Column('dq_dataquality__report_dq_positionalaccuracy', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_positionalaccuracy')), 
     1746Column('dq_absoluteexternalpositionalaccuracy__dq_positionalaccuracy_id', Integer, ForeignKey('dq_absoluteexternalpositionalaccuracy.id', use_alter=True, name='fk_dq_absoluteexternalpositionalaccuracy__dq_positionalaccuracy')), 
     1747Column('dq_griddeddatapositionalaccuracy__dq_positionalaccuracy_id', Integer, ForeignKey('dq_griddeddatapositionalaccuracy.id', use_alter=True, name='fk_dq_griddeddatapositionalaccuracy__dq_positionalaccuracy')), 
     1748Column('dq_relativeinternalpositionalaccuracy__dq_positionalaccuracy_id', Integer, ForeignKey('dq_relativeinternalpositionalaccuracy.id', use_alter=True, name='fk_dq_relativeinternalpositionalaccuracy__dq_positionalaccuracy')), 
     1749Column('om_observation__resultquality_dq_positionalaccuracy', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_positionalaccuracy')), 
     1750        extend_existing=False,) 
     1751         
     1752 
     1753 
     1754 
     1755 
     1756 
     1757        cv_hexagonalgridcoverage_table = Table('cv_hexagonalgridcoverage', metadata, 
     1758        Column('id', Integer, Sequence('cv_hexagonalgridcoverage_id_seq'), primary_key=True), 
     1759Column('interpolationType', String , nullable=False), 
     1760        extend_existing=False,) 
     1761         
     1762 
     1763 
     1764 
     1765 
     1766 
     1767        mo_location_table = Table('mo_location', metadata, 
     1768        Column('id', Integer, Sequence('mo_location_id_seq'), primary_key=True), 
     1769Column('mo_platform_location_id', Integer, ForeignKey('mo_platform.id', use_alter=True, name='fk_mo_platform_location')), 
     1770Column('mo_operation_location_id', Integer, ForeignKey('mo_operation.id', use_alter=True, name='fk_mo_operation_location')), 
     1771        extend_existing=False,) 
     1772         
     1773 
     1774 
     1775 
     1776 
     1777 
     1778        mo_inputoutput_table = Table('mo_inputoutput', metadata, 
     1779        Column('id', Integer, Sequence('mo_inputoutput_id_seq'), primary_key=True), 
     1780Column('mo_processing_processinginput', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_processinginput')), 
     1781Column('mo_processing_processingoutput_id', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_processingoutput')), 
     1782Column('mo_acquisition_outputdescription_id', Integer, ForeignKey('mo_acquisition.id', use_alter=True, name='fk_mo_acquisition_outputdescription')), 
     1783Column('name', Text , nullable=True), 
     1784        extend_existing=False,) 
     1785         
     1786 
     1787 
     1788 
     1789 
     1790 
     1791        md_maintenanceinformation_table = Table('md_maintenanceinformation', metadata, 
     1792        Column('id', Integer, Sequence('md_maintenanceinformation_id_seq'), primary_key=True), 
     1793Column('md_metadata_metadatamaintenance_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_metadatamaintenance')), 
     1794Column('updateScope', String , nullable=True), 
     1795Column('maintenanceAndUpdateFrequency', String , nullable=False), 
     1796Column('maintenanceNote', ARRAY(Text) , nullable=True), 
     1797        extend_existing=False,) 
     1798         
     1799 
     1800 
     1801 
     1802 
     1803 
     1804        nl_compositepoint_table = Table('nl_compositepoint', metadata, 
     1805        Column('id', Integer, Sequence('nl_compositepoint_id_seq'), primary_key=True), 
     1806Column('nl_point_composite', Integer, ForeignKey('nl_point.id', use_alter=True, name='fk_nl_point_composite')), 
     1807Column('nl_map__subcomplex_nl_compositepoint', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__subcomplex_nl_compositepoint')), 
     1808        extend_existing=False,) 
     1809         
     1810 
     1811 
     1812 
     1813 
     1814 
     1815        nl_primitve_table = Table('nl_primitve', metadata, 
     1816        Column('id', Integer, Sequence('nl_primitve_id_seq'), primary_key=True), 
     1817Column('nl_orientablesurface__nl_primitve_id', Integer, ForeignKey('nl_orientablesurface.id', use_alter=True, name='fk_nl_orientablesurface__nl_primitve')), 
     1818Column('nl_point__nl_primitve_id', Integer, ForeignKey('nl_point.id', use_alter=True, name='fk_nl_point__nl_primitve')), 
     1819Column('nl_orientablecurve__nl_primitve_id', Integer, ForeignKey('nl_orientablecurve.id', use_alter=True, name='fk_nl_orientablecurve__nl_primitve')), 
     1820        extend_existing=False,) 
     1821         
     1822 
     1823 
     1824 
     1825 
     1826 
     1827        cv_gridcell_table = Table('cv_gridcell', metadata, 
     1828        Column('id', Integer, Sequence('cv_gridcell_id_seq'), primary_key=True), 
     1829Column('cv_gridvaluecell_geometry_id', Integer, ForeignKey('cv_gridvaluecell.id', use_alter=True, name='fk_cv_gridvaluecell_geometry')), 
     1830        extend_existing=False,) 
     1831         
     1832 
     1833 
     1834 
     1835 
     1836 
     1837        nl_map_table = Table('nl_map', metadata, 
     1838        Column('id', Integer, Sequence('nl_map_id_seq'), primary_key=True), 
     1839Column('nl_primitve_complex', Integer, ForeignKey('nl_primitve.id', use_alter=True, name='fk_nl_primitve_complex')), 
     1840Column('nl_composite_supercomplex_id', Integer, ForeignKey('nl_composite.id', use_alter=True, name='fk_nl_composite_supercomplex')), 
     1841Column('orientation', Sign.db_type() , nullable=False), 
     1842        extend_existing=False,) 
     1843         
     1844 
     1845 
     1846 
     1847 
     1848 
     1849        le_nominalresolution_table = Table('le_nominalresolution', metadata, 
     1850        Column('id', Integer, Sequence('le_nominalresolution_id_seq'), primary_key=True), 
     1851Column('le_source_resolution_id', Integer, ForeignKey('le_source.id', use_alter=True, name='fk_le_source_resolution')), 
     1852        extend_existing=False,) 
     1853         
     1854 
     1855 
     1856 
     1857 
     1858 
     1859        mo_compositeprocess_table = Table('mo_compositeprocess', metadata, 
     1860        Column('id', Integer, Sequence('mo_compositeprocess_id_seq'), primary_key=True), 
     1861Column('ceda_compositeprocess__mo_compositeprocess_id', Integer, ForeignKey('ceda_compositeprocess.id', use_alter=True, name='fk_ceda_compositeprocess__mo_compositeprocess')), 
     1862Column('description', Text , nullable=True), 
     1863        extend_existing=False,) 
     1864         
     1865 
     1866 
     1867 
     1868 
     1869 
     1870        ceda_operation_table = Table('ceda_operation', metadata, 
     1871        Column('id', Integer, Sequence('ceda_operation_id_seq'), primary_key=True), 
     1872        extend_existing=False,) 
     1873         
     1874 
     1875 
     1876 
     1877 
     1878 
     1879        lr_element_table = Table('lr_element', metadata, 
     1880        Column('id', Integer, Sequence('lr_element_id_seq'), primary_key=True), 
     1881Column('nt_link__lr_element_id', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link__lr_element')), 
     1882Column('lr_feature__lr_element_id', Integer, ForeignKey('lr_feature.id', use_alter=True, name='fk_lr_feature__lr_element')), 
     1883        extend_existing=False,) 
     1884         
     1885 
     1886 
     1887 
     1888 
     1889 
     1890        ex_temporalextent_table = Table('ex_temporalextent', metadata, 
     1891        Column('id', Integer, Sequence('ex_temporalextent_id_seq'), primary_key=True), 
     1892Column('si_locationinstance_temporalextent_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_temporalextent')), 
     1893Column('ex_extent_temporalelement', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent_temporalelement')), 
     1894        extend_existing=False,) 
     1895         
     1896 
     1897 
     1898 
     1899 
     1900 
     1901        si_locationinstance_table = Table('si_locationinstance', metadata, 
     1902        Column('id', Integer, Sequence('si_locationinstance_id_seq'), primary_key=True), 
     1903Column('tk_position_placename_id', Integer, ForeignKey('tk_position.id', use_alter=True, name='fk_tk_position_placename')), 
     1904Column('alterrnativeGeographicIdentifier', Text , nullable=True), 
     1905Column('geographicIdentifier', Text , nullable=False), 
     1906        extend_existing=False,) 
     1907         
     1908 
     1909 
     1910 
     1911 
     1912 
     1913        le_algorithm_table = Table('le_algorithm', metadata, 
     1914        Column('id', Integer, Sequence('le_algorithm_id_seq'), primary_key=True), 
     1915Column('mo_processing_algorithm', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_algorithm')), 
     1916Column('description', Text , nullable=False), 
     1917        extend_existing=False,) 
     1918         
     1919 
     1920 
     1921 
     1922 
     1923 
     1924        sf_samplingfeature_table = Table('sf_samplingfeature', metadata, 
     1925        Column('id', Integer, Sequence('sf_samplingfeature_id_seq'), primary_key=True), 
     1926Column('sf_spatialsamplingfeature__sf_samplingfeature_id', Integer, ForeignKey('sf_spatialsamplingfeature.id', use_alter=True, name='fk_sf_spatialsamplingfeature__sf_samplingfeature')), 
     1927Column('om_observation__featureofinterest_sf_samplingfeature_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__featureofinterest_sf_samplingfeature')), 
     1928Column('sf_specimen__sf_samplingfeature_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__sf_samplingfeature')), 
     1929        extend_existing=False,) 
     1930         
     1931 
     1932 
     1933 
     1934 
     1935 
     1936        schema_table = Table('schema', metadata, 
     1937        Column('id', Integer, Sequence('schema_id_seq'), primary_key=True), 
     1938Column('type_schema', Integer, ForeignKey('type.id', use_alter=True, name='fk_type_schema')), 
     1939Column('isGlobal', BOOLEAN , nullable=False), 
     1940        extend_existing=False,) 
     1941         
     1942 
     1943 
     1944 
     1945 
     1946 
     1947        cv_valuecurve_table = Table('cv_valuecurve', metadata, 
     1948        Column('id', Integer, Sequence('cv_valuecurve_id_seq'), primary_key=True), 
     1949        extend_existing=False,) 
     1950         
     1951 
     1952 
     1953 
     1954 
     1955 
     1956        md_portrayalcataloguereference_table = Table('md_portrayalcataloguereference', metadata, 
     1957        Column('id', Integer, Sequence('md_portrayalcataloguereference_id_seq'), primary_key=True), 
     1958Column('md_metadata_portrayalcatalogueinfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_portrayalcatalogueinfo')), 
     1959        extend_existing=False,) 
     1960         
     1961 
     1962 
     1963 
     1964 
     1965 
     1966        cv_discretesolidcoverage_table = Table('cv_discretesolidcoverage', metadata, 
     1967        Column('id', Integer, Sequence('cv_discretesolidcoverage_id_seq'), primary_key=True), 
     1968Column('om_discretecoverageobservation__result_cv_discretesolidcoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cv_discretesolidcoverage')), 
     1969        extend_existing=False,) 
     1970         
     1971 
     1972 
     1973 
     1974 
     1975 
     1976        cv_thiessenvaluepolygon_table = Table('cv_thiessenvaluepolygon', metadata, 
     1977        Column('id', Integer, Sequence('cv_thiessenvaluepolygon_id_seq'), primary_key=True), 
     1978        extend_existing=False,) 
     1979         
     1980 
     1981 
     1982 
     1983 
     1984 
     1985        mo_observation_table = Table('mo_observation', metadata, 
     1986        Column('id', Integer, Sequence('mo_observation_id_seq'), primary_key=True), 
     1987Column('sf_samplingfeature__relatedobservation_mo_observation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_mo_observation')), 
     1988Column('gfi_feature__propertyvalueprovider_mo_observation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_mo_observation')), 
     1989Column('ceda_observation__mo_observation_id', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation__mo_observation')), 
     1990Column('description', Text , nullable=True), 
     1991Column('status', String , nullable=True), 
     1992Column('resultAccumulation', String , nullable=True), 
     1993Column('publicationState', String , nullable=True), 
     1994Column('resolution', Text , nullable=True), 
     1995        extend_existing=False,) 
     1996         
     1997 
     1998 
     1999 
     2000 
     2001 
     2002        li_lineage_table = Table('li_lineage', metadata, 
     2003        Column('id', Integer, Sequence('li_lineage_id_seq'), primary_key=True), 
     2004Column('dq_dataquality_lineage_id', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality_lineage')), 
     2005Column('sf_samplingfeature_lineage_id', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature_lineage')), 
     2006Column('statement', Text , nullable=True), 
     2007        extend_existing=False,) 
     2008         
     2009 
     2010 
     2011 
     2012 
     2013 
     2014        cv_rectifiedgrid_table = Table('cv_rectifiedgrid', metadata, 
     2015        Column('id', Integer, Sequence('cv_rectifiedgrid_id_seq'), primary_key=True), 
     2016Column('cv_gridpoint__framework_cv_rectifiedgrid_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__framework_cv_rectifiedgrid')), 
     2017Column('cv_gridcell__framework_cv_rectifiedgrid_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell__framework_cv_rectifiedgrid')), 
     2018Column('offsetVectors', ARRAY(Text) , nullable=False), 
     2019        extend_existing=False,) 
     2020         
     2021 
     2022 
     2023 
     2024 
     2025 
     2026        cv_curvevaluepair_table = Table('cv_curvevaluepair', metadata, 
     2027        Column('id', Integer, Sequence('cv_curvevaluepair_id_seq'), primary_key=True), 
     2028        extend_existing=False,) 
     2029         
     2030 
     2031 
     2032 
     2033 
     2034 
     2035        nl_orientablesurface_table = Table('nl_orientablesurface', metadata, 
     2036        Column('id', Integer, Sequence('nl_orientablesurface_id_seq'), primary_key=True), 
     2037Column('nl_map__element_nl_orientablesurface', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__element_nl_orientablesurface')), 
     2038Column('nl_surface__nl_orientablesurface_id', Integer, ForeignKey('nl_surface.id', use_alter=True, name='fk_nl_surface__nl_orientablesurface')), 
     2039Column('nl_compsitesurface__nl_orientablesurface_id', Integer, ForeignKey('nl_compsitesurface.id', use_alter=True, name='fk_nl_compsitesurface__nl_orientablesurface')), 
     2040Column('orientation', Sign.db_type() , nullable=False), 
     2041        extend_existing=False,) 
     2042         
     2043 
     2044 
     2045 
     2046 
     2047 
     2048        gm_orientablecurve_table = Table('gm_orientablecurve', metadata, 
     2049        Column('id', Integer, Sequence('gm_orientablecurve_id_seq'), primary_key=True), 
     2050Column('gm_compositecurve__gm_orientablecurve_id', Integer, ForeignKey('gm_compositecurve.id', use_alter=True, name='fk_gm_compositecurve__gm_orientablecurve')), 
     2051Column('gm_primitive__proxy_gm_orientablecurve_id', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__proxy_gm_orientablecurve')), 
     2052Column('gm_curve__gm_orientablecurve_id', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__gm_orientablecurve')), 
     2053        extend_existing=False,) 
     2054         
     2055 
     2056 
     2057 
     2058 
     2059 
     2060        gm_conic_table = Table('gm_conic', metadata, 
     2061        Column('id', Integer, Sequence('gm_conic_id_seq'), primary_key=True), 
     2062Column('gm_curve__segment_gm_conic', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__segment_gm_conic')), 
     2063Column('gm_offsetcurve__basecurve_gm_conic_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve__basecurve_gm_conic')), 
     2064Column('semiLatusRectum', REAL , nullable=False), 
     2065Column('endConstrParam', REAL , nullable=False), 
     2066Column('startConstrParam', REAL , nullable=False), 
     2067Column('eccentricity', REAL , nullable=False), 
     2068Column('shifted', BOOLEAN , nullable=False), 
     2069        extend_existing=False,) 
     2070         
     2071 
     2072 
     2073 
     2074 
     2075 
     2076        md_referencesystem_table = Table('md_referencesystem', metadata, 
     2077        Column('id', Integer, Sequence('md_referencesystem_id_seq'), primary_key=True), 
     2078Column('li_source_sourcereferencesystem_id', Integer, ForeignKey('li_source.id', use_alter=True, name='fk_li_source_sourcereferencesystem')), 
     2079Column('md_metadata_referencesysteminfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_referencesysteminfo')), 
     2080        extend_existing=False,) 
     2081         
     2082 
     2083 
     2084 
     2085 
     2086 
     2087        md_aggregateinformation_table = Table('md_aggregateinformation', metadata, 
     2088        Column('id', Integer, Sequence('md_aggregateinformation_id_seq'), primary_key=True), 
     2089Column('md_identification_aggregationinfo', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_aggregationinfo')), 
     2090Column('associationType', String , nullable=False), 
     2091Column('initiativeType', String , nullable=True), 
     2092        extend_existing=False,) 
     2093         
     2094 
     2095 
     2096 
     2097 
     2098 
     2099        nt_maneuver_table = Table('nt_maneuver', metadata, 
     2100        Column('id', Integer, Sequence('nt_maneuver_id_seq'), primary_key=True), 
     2101Column('isTraversable', BOOLEAN , nullable=False), 
     2102        extend_existing=False,) 
     2103         
     2104 
     2105 
     2106 
     2107 
     2108 
     2109        nt_link_table = Table('nt_link', metadata, 
     2110        Column('id', Integer, Sequence('nt_link_id_seq'), primary_key=True), 
     2111Column('tp_edge__proxy_nt_link_id', Integer, ForeignKey('tp_edge.id', use_alter=True, name='fk_tp_edge__proxy_nt_link')), 
     2112Column('nt_turn_fromlink_id', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn_fromlink')), 
     2113Column('lr_positionexpression__referencedomain_nt_link_id', Integer, ForeignKey('lr_positionexpression.id', use_alter=True, name='fk_lr_positionexpression__referencedomain_nt_link')), 
     2114Column('nt_linkposition_link_id', Integer, ForeignKey('nt_linkposition.id', use_alter=True, name='fk_nt_linkposition_link')), 
     2115Column('nt_transferlink__nt_link_id', Integer, ForeignKey('nt_transferlink.id', use_alter=True, name='fk_nt_transferlink__nt_link')), 
     2116Column('ns_costedlink_link_id', Integer, ForeignKey('ns_costedlink.id', use_alter=True, name='fk_ns_costedlink_link')), 
     2117Column('nt_turn_tolink_id', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn_tolink')), 
     2118Column('isTraversable', BOOLEAN , nullable=False), 
     2119Column('routeSegmentCategory', String , nullable=True), 
     2120Column('isUturnPossible', BOOLEAN , nullable=False), 
     2121        extend_existing=False,) 
     2122         
     2123 
     2124 
     2125 
     2126 
     2127 
     2128        mx_datafile_table = Table('mx_datafile', metadata, 
     2129        Column('id', Integer, Sequence('mx_datafile_id_seq'), primary_key=True), 
     2130Column('qe_coverageresult_resultfile_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult_resultfile')), 
     2131        extend_existing=False,) 
     2132         
     2133 
     2134 
     2135 
     2136 
     2137 
     2138        nt_waypoint_table = Table('nt_waypoint', metadata, 
     2139        Column('id', Integer, Sequence('nt_waypoint_id_seq'), primary_key=True), 
     2140Column('nt_waypointlist_startpoint_id', Integer, ForeignKey('nt_waypointlist.id', use_alter=True, name='fk_nt_waypointlist_startpoint')), 
     2141Column('nt_waypointlist_endpoint_id', Integer, ForeignKey('nt_waypointlist.id', use_alter=True, name='fk_nt_waypointlist_endpoint')), 
     2142Column('nt_waypointlist_viapoint', Integer, ForeignKey('nt_waypointlist.id', use_alter=True, name='fk_nt_waypointlist_viapoint')), 
     2143Column('ns_avoidlist_pointelement', Integer, ForeignKey('ns_avoidlist.id', use_alter=True, name='fk_ns_avoidlist_pointelement')), 
     2144Column('avoid', BOOLEAN , nullable=False), 
     2145        extend_existing=False,) 
     2146         
     2147 
     2148 
     2149 
     2150 
     2151 
     2152        membername_table = Table('membername', metadata, 
     2153        Column('id', Integer, Sequence('membername_id_seq'), primary_key=True), 
     2154Column('nt_linkposition_linkmeasure_id', Integer, ForeignKey('nt_linkposition.id', use_alter=True, name='fk_nt_linkposition_linkmeasure')), 
     2155Column('md_rangedimension_sequenceidentifier_id', Integer, ForeignKey('md_rangedimension.id', use_alter=True, name='fk_md_rangedimension_sequenceidentifier')), 
     2156Column('aName', Text , nullable=False), 
     2157        extend_existing=False,) 
     2158         
     2159 
     2160 
     2161 
     2162 
     2163 
     2164        li_processstep_table = Table('li_processstep', metadata, 
     2165        Column('id', Integer, Sequence('li_processstep_id_seq'), primary_key=True), 
     2166Column('li_lineage_processstep', Integer, ForeignKey('li_lineage.id', use_alter=True, name='fk_li_lineage_processstep')), 
     2167Column('description', Text , nullable=False), 
     2168Column('rationale', Text , nullable=True), 
     2169        extend_existing=False,) 
     2170         
     2171 
     2172 
     2173 
     2174 
     2175 
     2176        gm_splinecurve_table = Table('gm_splinecurve', metadata, 
     2177        Column('id', Integer, Sequence('gm_splinecurve_id_seq'), primary_key=True), 
     2178Column('gm_offsetcurve__basecurve_gm_splinecurve_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve__basecurve_gm_splinecurve')), 
     2179Column('gm_curve__segment_gm_splinecurve', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__segment_gm_splinecurve')), 
     2180Column('degree', Integer , nullable=False), 
     2181        extend_existing=False,) 
     2182         
     2183 
     2184 
     2185 
     2186 
     2187 
     2188        tp_directednode_table = Table('tp_directednode', metadata, 
     2189        Column('id', Integer, Sequence('tp_directednode_id_seq'), primary_key=True), 
     2190Column('tp_node_proxy_id', Integer, ForeignKey('tp_node.id', use_alter=True, name='fk_tp_node_proxy')), 
     2191Column('tp_edge_boundary_id', Integer, ForeignKey('tp_edge.id', use_alter=True, name='fk_tp_edge_boundary')), 
     2192Column('tp_primitive__proxy_tp_directednode_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__proxy_tp_directednode')), 
     2193Column('tp_node__tp_directednode_id', Integer, ForeignKey('tp_node.id', use_alter=True, name='fk_tp_node__tp_directednode')), 
     2194Column('tp_expressionterm__variable_tp_directednode_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__variable_tp_directednode')), 
     2195        extend_existing=False,) 
     2196         
     2197 
     2198 
     2199 
     2200 
     2201 
     2202        tm_ordinalreferencesystem_table = Table('tm_ordinalreferencesystem', metadata, 
     2203        Column('id', Integer, Sequence('tm_ordinalreferencesystem_id_seq'), primary_key=True), 
     2204Column('tm_ordinalera_system_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_system')), 
     2205Column('tm_temporalposition__frame_tm_ordinalreferencesystem_id', Integer, ForeignKey('tm_temporalposition.id', use_alter=True, name='fk_tm_temporalposition__frame_tm_ordinalreferencesystem')), 
     2206        extend_existing=False,) 
     2207         
     2208 
     2209 
     2210 
     2211 
     2212 
     2213        cv_discretepointcoverage_table = Table('cv_discretepointcoverage', metadata, 
     2214        Column('id', Integer, Sequence('cv_discretepointcoverage_id_seq'), primary_key=True), 
     2215Column('om_discretecoverageobservation__result_cv_discretepointcoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cv_discretepointcoverage')), 
     2216        extend_existing=False,) 
     2217         
     2218 
     2219 
     2220 
     2221 
     2222 
     2223        cc_generalparametervalue_table = Table('cc_generalparametervalue', metadata, 
     2224        Column('id', Integer, Sequence('cc_generalparametervalue_id_seq'), primary_key=True), 
     2225Column('cc_parametervaluegroup__cc_generalparametervalue_id', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup__cc_generalparametervalue')), 
     2226Column('cc_operationparametervalue__cc_generalparametervalue_id', Integer, ForeignKey('cc_operationparametervalue.id', use_alter=True, name='fk_cc_operationparametervalue__cc_generalparametervalue')), 
     2227        extend_existing=False,) 
     2228         
     2229 
     2230 
     2231 
     2232 
     2233 
     2234        measure_table = Table('measure', metadata, 
     2235        Column('id', Integer, Sequence('measure_id_seq'), primary_key=True), 
     2236Column('lr_offsetexpression_offset_id', Integer, ForeignKey('lr_offsetexpression.id', use_alter=True, name='fk_lr_offsetexpression_offset')), 
     2237Column('unitofmeasure_measure', Integer, ForeignKey('unitofmeasure.id', use_alter=True, name='fk_unitofmeasure_measure')), 
     2238Column('md_dimension_resolution_id', Integer, ForeignKey('md_dimension.id', use_alter=True, name='fk_md_dimension_resolution')), 
     2239Column('cc_parametervalue_valuelist', Integer, ForeignKey('cc_parametervalue.id', use_alter=True, name='fk_cc_parametervalue_valuelist')), 
     2240Column('ns_costedturn_cost_id', Integer, ForeignKey('ns_costedturn.id', use_alter=True, name='fk_ns_costedturn_cost')), 
     2241Column('cc_parametervalue_value_id', Integer, ForeignKey('cc_parametervalue.id', use_alter=True, name='fk_cc_parametervalue_value')), 
     2242Column('time__measure_id', Integer, ForeignKey('time.id', use_alter=True, name='fk_time__measure')), 
     2243Column('scale__measure_id', Integer, ForeignKey('scale.id', use_alter=True, name='fk_scale__measure')), 
     2244Column('nt_linkposition_marker_id', Integer, ForeignKey('nt_linkposition.id', use_alter=True, name='fk_nt_linkposition_marker')), 
     2245Column('sf_specimen_size_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen_size')), 
     2246Column('ns_costedlink_totalcost_id', Integer, ForeignKey('ns_costedlink.id', use_alter=True, name='fk_ns_costedlink_totalcost')), 
     2247Column('angle__measure_id', Integer, ForeignKey('angle.id', use_alter=True, name='fk_angle__measure')), 
     2248Column('length__measure_id', Integer, ForeignKey('length.id', use_alter=True, name='fk_length__measure')), 
     2249Column('lr_positionexpression_measure_id', Integer, ForeignKey('lr_positionexpression.id', use_alter=True, name='fk_lr_positionexpression_measure')), 
     2250Column('om_measurement_result_id', Integer, ForeignKey('om_measurement.id', use_alter=True, name='fk_om_measurement_result')), 
     2251Column('weight__measure_id', Integer, ForeignKey('weight.id', use_alter=True, name='fk_weight__measure')), 
     2252Column('value', NUMERIC , nullable=False), 
     2253        extend_existing=False,) 
     2254         
     2255 
     2256 
     2257 
     2258 
     2259 
     2260        cv_coverage_table = Table('cv_coverage', metadata, 
     2261        Column('id', Integer, Sequence('cv_coverage_id_seq'), primary_key=True), 
     2262Column('cv_continuouscoverage__cv_coverage_id', Integer, ForeignKey('cv_continuouscoverage.id', use_alter=True, name='fk_cv_continuouscoverage__cv_coverage')), 
     2263Column('cv_discretecoverage__cv_coverage_id', Integer, ForeignKey('cv_discretecoverage.id', use_alter=True, name='fk_cv_discretecoverage__cv_coverage')), 
     2264Column('commonPointRule', String , nullable=False), 
     2265        extend_existing=False,) 
     2266         
     2267 
     2268 
     2269 
     2270 
     2271 
     2272        cd_datum_table = Table('cd_datum', metadata, 
     2273        Column('id', Integer, Sequence('cd_datum_id_seq'), primary_key=True), 
     2274Column('temporaldatum__cd_datum_id', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum__cd_datum')), 
     2275Column('cd_imagedatum__cd_datum_id', Integer, ForeignKey('cd_imagedatum.id', use_alter=True, name='fk_cd_imagedatum__cd_datum')), 
     2276Column('cd_engineeringdatum__cd_datum_id', Integer, ForeignKey('cd_engineeringdatum.id', use_alter=True, name='fk_cd_engineeringdatum__cd_datum')), 
     2277Column('cd_verticaldatum__cd_datum_id', Integer, ForeignKey('cd_verticaldatum.id', use_alter=True, name='fk_cd_verticaldatum__cd_datum')), 
     2278Column('cd_geodeticdatum__cd_datum_id', Integer, ForeignKey('cd_geodeticdatum.id', use_alter=True, name='fk_cd_geodeticdatum__cd_datum')), 
     2279Column('anchorDefinition', Text , nullable=True), 
     2280Column('scope', ARRAY(Text) , nullable=False), 
     2281        extend_existing=False,) 
     2282         
     2283 
     2284 
     2285 
     2286 
     2287 
     2288        dq_relativeinternalpositionalaccuracy_table = Table('dq_relativeinternalpositionalaccuracy', metadata, 
     2289        Column('id', Integer, Sequence('dq_relativeinternalpositionalaccuracy_id_seq'), primary_key=True), 
     2290Column('cc_coordinateoperation__coordinateoperationaccuracy_dq_relativeinternalpositionalaccuracy', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__coordinateoperationaccuracy_dq_relativeinternalpositionalaccuracy')), 
     2291Column('sf_spatialsamplingfeature__positionalaccuracy_dq_relativeinternalpositionalaccuracy', Integer, ForeignKey('sf_spatialsamplingfeature.id', use_alter=True, name='fk_sf_spatialsamplingfeature__positionalaccuracy_dq_relativeinternalpositionalaccuracy')), 
     2292        extend_existing=False,) 
     2293         
     2294 
     2295 
     2296 
     2297 
     2298 
     2299        tm_ordinalposition_table = Table('tm_ordinalposition', metadata, 
     2300        Column('id', Integer, Sequence('tm_ordinalposition_id_seq'), primary_key=True), 
     2301Column('tm_referencesystem__position_tm_ordinalposition', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem__position_tm_ordinalposition')), 
     2302Column('tm_ordinalera_position_id', Integer, ForeignKey('tm_ordinalera.id', use_alter=True, name='fk_tm_ordinalera_position')), 
     2303        extend_existing=False,) 
     2304         
     2305 
     2306 
     2307 
     2308 
     2309 
     2310        qe_usability_table = Table('qe_usability', metadata, 
     2311        Column('id', Integer, Sequence('qe_usability_id_seq'), primary_key=True), 
     2312Column('dq_dataquality__report_qe_usability', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_qe_usability')), 
     2313Column('om_observation__resultquality_qe_usability', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_qe_usability')), 
     2314        extend_existing=False,) 
     2315         
     2316 
     2317 
     2318 
     2319 
     2320 
     2321        dq_quantitativeresult_table = Table('dq_quantitativeresult', metadata, 
     2322        Column('id', Integer, Sequence('dq_quantitativeresult_id_seq'), primary_key=True), 
     2323Column('dq_element__result_dq_quantitativeresult', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element__result_dq_quantitativeresult')), 
     2324Column('errorStatistic', Text , nullable=True), 
     2325        extend_existing=False,) 
     2326         
     2327 
     2328 
     2329 
     2330 
     2331 
     2332        cv_valueobject_table = Table('cv_valueobject', metadata, 
     2333        Column('id', Integer, Sequence('cv_valueobject_id_seq'), primary_key=True), 
     2334Column('cv_valuehexagon__cv_valueobject_id', Integer, ForeignKey('cv_valuehexagon.id', use_alter=True, name='fk_cv_valuehexagon__cv_valueobject')), 
     2335Column('cv_thiessenvaluepolygon__cv_valueobject_id', Integer, ForeignKey('cv_thiessenvaluepolygon.id', use_alter=True, name='fk_cv_thiessenvaluepolygon__cv_valueobject')), 
     2336Column('cv_valuecurve__cv_valueobject_id', Integer, ForeignKey('cv_valuecurve.id', use_alter=True, name='fk_cv_valuecurve__cv_valueobject')), 
     2337Column('cv_valuetriangle__cv_valueobject_id', Integer, ForeignKey('cv_valuetriangle.id', use_alter=True, name='fk_cv_valuetriangle__cv_valueobject')), 
     2338Column('cv_gridvaluecell__cv_valueobject_id', Integer, ForeignKey('cv_gridvaluecell.id', use_alter=True, name='fk_cv_gridvaluecell__cv_valueobject')), 
     2339        extend_existing=False,) 
     2340         
     2341 
     2342 
     2343 
     2344 
     2345 
     2346        dq_thematicaccuracy_table = Table('dq_thematicaccuracy', metadata, 
     2347        Column('id', Integer, Sequence('dq_thematicaccuracy_id_seq'), primary_key=True), 
     2348Column('om_observation__resultquality_dq_thematicaccuracy', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_thematicaccuracy')), 
     2349Column('dq_dataquality__report_dq_thematicaccuracy', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_thematicaccuracy')), 
     2350        extend_existing=False,) 
     2351         
     2352 
     2353 
     2354 
     2355 
     2356 
     2357        tm_calendarera_table = Table('tm_calendarera', metadata, 
     2358        Column('id', Integer, Sequence('tm_calendarera_id_seq'), primary_key=True), 
     2359Column('referenceEvent', Text , nullable=False), 
     2360Column('name', Text , nullable=False), 
     2361        extend_existing=False,) 
     2362         
     2363 
     2364 
     2365 
     2366 
     2367 
     2368        om_geometryobservation_table = Table('om_geometryobservation', metadata, 
     2369        Column('id', Integer, Sequence('om_geometryobservation_id_seq'), primary_key=True), 
     2370Column('gfi_feature__propertyvalueprovider_om_geometryobservation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_om_geometryobservation')), 
     2371Column('om_observation__relatedobservation_om_geometryobservation', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__relatedobservation_om_geometryobservation')), 
     2372Column('om_process__generatedobservation_om_geometryobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process__generatedobservation_om_geometryobservation')), 
     2373Column('sf_samplingfeature__relatedobservation_om_geometryobservation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_om_geometryobservation')), 
     2374        extend_existing=False,) 
     2375         
     2376 
     2377 
     2378 
     2379 
     2380 
     2381        cs_polarcs_table = Table('cs_polarcs', metadata, 
     2382        Column('id', Integer, Sequence('cs_polarcs_id_seq'), primary_key=True), 
     2383Column('sc_singlecrs__coordinatesystem_cs_polarcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_polarcs')), 
     2384Column('cs_coordinatesystemaxis__coordinatesystem_cs_polarcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_polarcs')), 
     2385Column('cs_engineeringcs_polarcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_polarcs')), 
     2386        extend_existing=False,) 
     2387         
     2388 
     2389 
     2390 
     2391 
     2392 
     2393        cs_affinecs_table = Table('cs_affinecs', metadata, 
     2394        Column('id', Integer, Sequence('cs_affinecs_id_seq'), primary_key=True), 
     2395Column('sc_singlecrs__coordinatesystem_cs_affinecs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_affinecs')), 
     2396Column('cs_engineeringcs_affinecs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_affinecs')), 
     2397Column('cs_coordinatesystemaxis__coordinatesystem_cs_affinecs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_affinecs')), 
     2398Column('cs_imagecs_affinecs_id', Integer, ForeignKey('cs_imagecs.id', use_alter=True, name='fk_cs_imagecs_affinecs')), 
     2399        extend_existing=False,) 
     2400         
     2401 
     2402 
     2403 
     2404 
     2405 
     2406        ceda_notes_table = Table('ceda_notes', metadata, 
     2407        Column('id', Integer, Sequence('ceda_notes_id_seq'), primary_key=True), 
     2408Column('ceda_review_notes', Integer, ForeignKey('ceda_review.id', use_alter=True, name='fk_ceda_review_notes')), 
     2409Column('comments', Text , nullable=False), 
     2410        extend_existing=False,) 
     2411         
     2412 
     2413 
     2414 
     2415 
     2416 
     2417        dq_scope_table = Table('dq_scope', metadata, 
     2418        Column('id', Integer, Sequence('dq_scope_id_seq'), primary_key=True), 
     2419Column('dq_dataquality_scope_id', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality_scope')), 
     2420Column('level', String , nullable=False), 
     2421        extend_existing=False,) 
     2422         
     2423 
     2424 
     2425 
     2426 
     2427 
     2428        nl_compsitesurface_table = Table('nl_compsitesurface', metadata, 
     2429        Column('id', Integer, Sequence('nl_compsitesurface_id_seq'), primary_key=True), 
     2430Column('nl_map__subcomplex_nl_compsitesurface', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__subcomplex_nl_compsitesurface')), 
     2431Column('nl_orientablesurface_composite', Integer, ForeignKey('nl_orientablesurface.id', use_alter=True, name='fk_nl_orientablesurface_composite')), 
     2432Column('orientation', Sign.db_type() , nullable=False), 
     2433        extend_existing=False,) 
     2434         
     2435 
     2436 
     2437 
     2438 
     2439 
     2440        tm_coordinate_table = Table('tm_coordinate', metadata, 
     2441        Column('id', Integer, Sequence('tm_coordinate_id_seq'), primary_key=True), 
     2442Column('juliandate__tm_coordinate_id', Integer, ForeignKey('juliandate.id', use_alter=True, name='fk_juliandate__tm_coordinate')), 
     2443Column('tm_referencesystem__position_tm_coordinate', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem__position_tm_coordinate')), 
     2444Column('coordinateValue', NUMERIC , nullable=False), 
     2445        extend_existing=False,) 
     2446         
     2447 
     2448 
     2449 
     2450 
     2451 
     2452        cs_engineeringcs_table = Table('cs_engineeringcs', metadata, 
     2453        Column('id', Integer, Sequence('cs_engineeringcs_id_seq'), primary_key=True), 
     2454Column('sc_engineeringcrs_coordinatesystem_id', Integer, ForeignKey('sc_engineeringcrs.id', use_alter=True, name='fk_sc_engineeringcrs_coordinatesystem')), 
     2455        extend_existing=False,) 
     2456         
     2457 
     2458 
     2459 
     2460 
     2461 
     2462        cl_dataset_table = Table('cl_dataset', metadata, 
     2463        Column('id', Integer, Sequence('cl_dataset_id_seq'), primary_key=True), 
     2464Column('md_metadata_describes', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_describes')), 
     2465        extend_existing=False,) 
     2466         
     2467 
     2468 
     2469 
     2470 
     2471 
     2472        tm_topologicalcomplex_table = Table('tm_topologicalcomplex', metadata, 
     2473        Column('id', Integer, Sequence('tm_topologicalcomplex_id_seq'), primary_key=True), 
     2474Column('tm_topologicalprimitive_complex_id', Integer, ForeignKey('tm_topologicalprimitive.id', use_alter=True, name='fk_tm_topologicalprimitive_complex')), 
     2475        extend_existing=False,) 
     2476         
     2477 
     2478 
     2479 
     2480 
     2481 
     2482        nt_laneconstraint_table = Table('nt_laneconstraint', metadata, 
     2483        Column('id', Integer, Sequence('nt_laneconstraint_id_seq'), primary_key=True), 
     2484Column('nt_waypoint__restriction_nt_laneconstraint', Integer, ForeignKey('nt_waypoint.id', use_alter=True, name='fk_nt_waypoint__restriction_nt_laneconstraint')), 
     2485Column('nt_maneuver__constraint_nt_laneconstraint', Integer, ForeignKey('nt_maneuver.id', use_alter=True, name='fk_nt_maneuver__constraint_nt_laneconstraint')), 
     2486Column('nt_turn__constraint_nt_laneconstraint', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn__constraint_nt_laneconstraint')), 
     2487Column('nt_link__constraint_nt_laneconstraint', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link__constraint_nt_laneconstraint')), 
     2488Column('nt_constraint__coconstraint_nt_laneconstraint', Integer, ForeignKey('nt_constraint.id', use_alter=True, name='fk_nt_constraint__coconstraint_nt_laneconstraint')), 
     2489Column('applicableVehicleTypes', String , nullable=True), 
     2490Column('allowedLanes', ARRAY(Integer) , nullable=True), 
     2491Column('disallowedLanes', ARRAY(Integer) , nullable=True), 
     2492        extend_existing=False,) 
     2493         
     2494 
     2495 
     2496 
     2497 
     2498 
     2499        tp_shell_table = Table('tp_shell', metadata, 
     2500        Column('id', Integer, Sequence('tp_shell_id_seq'), primary_key=True), 
     2501Column('tp_expressionterm__expression_tp_shell_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_tp_shell')), 
     2502        extend_existing=False,) 
     2503         
     2504 
     2505 
     2506 
     2507 
     2508 
     2509        gm_curve_table = Table('gm_curve', metadata, 
     2510        Column('id', Integer, Sequence('gm_curve_id_seq'), primary_key=True), 
     2511Column('gm_compositecurve__generator_gm_curve', Integer, ForeignKey('gm_compositecurve.id', use_alter=True, name='fk_gm_compositecurve__generator_gm_curve')), 
     2512Column('gm_curvesegment_curve_id', Integer, ForeignKey('gm_curvesegment.id', use_alter=True, name='fk_gm_curvesegment_curve')), 
     2513Column('cv_valuecurve_geometry_id', Integer, ForeignKey('cv_valuecurve.id', use_alter=True, name='fk_cv_valuecurve_geometry')), 
     2514Column('cv_curvevaluepair_geometry_id', Integer, ForeignKey('cv_curvevaluepair.id', use_alter=True, name='fk_cv_curvevaluepair_geometry')), 
     2515        extend_existing=False,) 
     2516         
     2517 
     2518 
     2519 
     2520 
     2521 
     2522        cd_primemeridian_table = Table('cd_primemeridian', metadata, 
     2523        Column('id', Integer, Sequence('cd_primemeridian_id_seq'), primary_key=True), 
     2524Column('cd_geodeticdatum_primemeridian_id', Integer, ForeignKey('cd_geodeticdatum.id', use_alter=True, name='fk_cd_geodeticdatum_primemeridian')), 
     2525        extend_existing=False,) 
     2526         
     2527 
     2528 
     2529 
     2530 
     2531 
     2532        mo_featureofinterest_table = Table('mo_featureofinterest', metadata, 
     2533        Column('id', Integer, Sequence('mo_featureofinterest_id_seq'), primary_key=True), 
     2534Column('sf_samplingfeature__sampledfeature_mo_featureofinterest', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__sampledfeature_mo_featureofinterest')), 
     2535Column('om_observation__featureofinterest_mo_featureofinterest_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__featureofinterest_mo_featureofinterest')), 
     2536Column('description', Text , nullable=True), 
     2537Column('type', String , nullable=True), 
     2538        extend_existing=False,) 
     2539         
     2540 
     2541 
     2542 
     2543 
     2544 
     2545        gfi_domainfeature_table = Table('gfi_domainfeature', metadata, 
     2546        Column('id', Integer, Sequence('gfi_domainfeature_id_seq'), primary_key=True), 
     2547Column('sf_samplingfeature__sampledfeature_gfi_domainfeature', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__sampledfeature_gfi_domainfeature')), 
     2548Column('om_observation__featureofinterest_gfi_domainfeature_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__featureofinterest_gfi_domainfeature')), 
     2549Column('sf_samplingfeature_sampledfeature', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature_sampledfeature')), 
     2550        extend_existing=False,) 
     2551         
     2552 
     2553 
     2554 
     2555 
     2556 
     2557        gm_object_table = Table('gm_object', metadata, 
     2558        Column('id', Integer, Sequence('gm_object_id_seq'), primary_key=True), 
     2559Column('location_geometrylocation_id', Integer, ForeignKey('location.id', use_alter=True, name='fk_location_geometrylocation')), 
     2560Column('gm_aggregate__gm_object_id', Integer, ForeignKey('gm_aggregate.id', use_alter=True, name='fk_gm_aggregate__gm_object')), 
     2561Column('gm_complex__gm_object_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex__gm_object')), 
     2562Column('gm_primitive__gm_object_id', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__gm_object')), 
     2563        extend_existing=False,) 
     2564         
     2565 
     2566 
     2567 
     2568 
     2569 
     2570        gf_attributetype_table = Table('gf_attributetype', metadata, 
     2571        Column('id', Integer, Sequence('gf_attributetype_id_seq'), primary_key=True), 
     2572Column('gf_spatialattributetype__gf_attributetype_id', Integer, ForeignKey('gf_spatialattributetype.id', use_alter=True, name='fk_gf_spatialattributetype__gf_attributetype')), 
     2573Column('om_observation__observedproperty_gf_attributetype_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__observedproperty_gf_attributetype')), 
     2574Column('if_classificationattributetype__gf_attributetype_id', Integer, ForeignKey('if_classificationattributetype.id', use_alter=True, name='fk_if_classificationattributetype__gf_attributetype')), 
     2575Column('gf_locationalattributetype__gf_attributetype_id', Integer, ForeignKey('gf_locationalattributetype.id', use_alter=True, name='fk_gf_locationalattributetype__gf_attributetype')), 
     2576Column('gf_thematicattributetype__gf_attributetype_id', Integer, ForeignKey('gf_thematicattributetype.id', use_alter=True, name='fk_gf_thematicattributetype__gf_attributetype')), 
     2577Column('gf_temporalattributetype__gf_attributetype_id', Integer, ForeignKey('gf_temporalattributetype.id', use_alter=True, name='fk_gf_temporalattributetype__gf_attributetype')), 
     2578Column('gf_metadataattributetype__gf_attributetype_id', Integer, ForeignKey('gf_metadataattributetype.id', use_alter=True, name='fk_gf_metadataattributetype__gf_attributetype')), 
     2579Column('valueDomain', Text , nullable=False), 
     2580        extend_existing=False,) 
     2581         
     2582 
     2583 
     2584 
     2585 
     2586 
     2587        om_temporalobservation_table = Table('om_temporalobservation', metadata, 
     2588        Column('id', Integer, Sequence('om_temporalobservation_id_seq'), primary_key=True), 
     2589Column('om_process__generatedobservation_om_temporalobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process__generatedobservation_om_temporalobservation')), 
     2590Column('gfi_feature__propertyvalueprovider_om_temporalobservation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_om_temporalobservation')), 
     2591Column('om_observation__relatedobservation_om_temporalobservation', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__relatedobservation_om_temporalobservation')), 
     2592Column('sf_samplingfeature__relatedobservation_om_temporalobservation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_om_temporalobservation')), 
     2593        extend_existing=False,) 
     2594         
     2595 
     2596 
     2597 
     2598 
     2599 
     2600        cvt_timeinstantvaluepair_table = Table('cvt_timeinstantvaluepair', metadata, 
     2601        Column('id', Integer, Sequence('cvt_timeinstantvaluepair_id_seq'), primary_key=True), 
     2602Column('cv_valueobject__controlvalue_cvt_timeinstantvaluepair', Integer, ForeignKey('cv_valueobject.id', use_alter=True, name='fk_cv_valueobject__controlvalue_cvt_timeinstantvaluepair')), 
     2603        extend_existing=False,) 
     2604         
     2605 
     2606 
     2607 
     2608 
     2609 
     2610        md_distribution_table = Table('md_distribution', metadata, 
     2611        Column('id', Integer, Sequence('md_distribution_id_seq'), primary_key=True), 
     2612Column('md_metadata_distributioninfo_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_distributioninfo')), 
     2613        extend_existing=False,) 
     2614         
     2615 
     2616 
     2617 
     2618 
     2619 
     2620        cs_linearcs_table = Table('cs_linearcs', metadata, 
     2621        Column('id', Integer, Sequence('cs_linearcs_id_seq'), primary_key=True), 
     2622Column('cs_engineeringcs_linearcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_linearcs')), 
     2623Column('cs_coordinatesystemaxis__coordinatesystem_cs_linearcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_linearcs')), 
     2624Column('sc_singlecrs__coordinatesystem_cs_linearcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_linearcs')), 
     2625        extend_existing=False,) 
     2626         
     2627 
     2628 
     2629 
     2630 
     2631 
     2632        dq_griddeddatapositionalaccuracy_table = Table('dq_griddeddatapositionalaccuracy', metadata, 
     2633        Column('id', Integer, Sequence('dq_griddeddatapositionalaccuracy_id_seq'), primary_key=True), 
     2634Column('sf_spatialsamplingfeature__positionalaccuracy_dq_griddeddatapositionalaccuracy', Integer, ForeignKey('sf_spatialsamplingfeature.id', use_alter=True, name='fk_sf_spatialsamplingfeature__positionalaccuracy_dq_griddeddatapositionalaccuracy')), 
     2635Column('cc_coordinateoperation__coordinateoperationaccuracy_dq_griddeddatapositionalaccuracy', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__coordinateoperationaccuracy_dq_griddeddatapositionalaccuracy')), 
     2636        extend_existing=False,) 
     2637         
     2638 
     2639 
     2640 
     2641 
     2642 
     2643        arcbycenterpoint_table = Table('arcbycenterpoint', metadata, 
     2644        Column('id', Integer, Sequence('arcbycenterpoint_id_seq'), primary_key=True), 
     2645Column('gm_curve__segment_arcbycenterpoint', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__segment_arcbycenterpoint')), 
     2646Column('gm_offsetcurve__basecurve_arcbycenterpoint_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve__basecurve_arcbycenterpoint')), 
     2647        extend_existing=False,) 
     2648         
     2649 
     2650 
     2651 
     2652 
     2653 
     2654        cs_verticalcs_table = Table('cs_verticalcs', metadata, 
     2655        Column('id', Integer, Sequence('cs_verticalcs_id_seq'), primary_key=True), 
     2656Column('sc_verticalcrs_coordinatesystem_id', Integer, ForeignKey('sc_verticalcrs.id', use_alter=True, name='fk_sc_verticalcrs_coordinatesystem')), 
     2657Column('sc_singlecrs__coordinatesystem_cs_verticalcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_verticalcs')), 
     2658Column('cs_coordinatesystemaxis__coordinatesystem_cs_verticalcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_verticalcs')), 
     2659        extend_existing=False,) 
     2660         
     2661 
     2662 
     2663 
     2664 
     2665 
     2666        cv_domainobject_table = Table('cv_domainobject', metadata, 
     2667        Column('id', Integer, Sequence('cv_domainobject_id_seq'), primary_key=True), 
     2668Column('cv_coverage_domainelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_domainelement')), 
     2669Column('cv_valueobject_geometry_id', Integer, ForeignKey('cv_valueobject.id', use_alter=True, name='fk_cv_valueobject_geometry')), 
     2670Column('cv_geometryvaluepair_geometry_id', Integer, ForeignKey('cv_geometryvaluepair.id', use_alter=True, name='fk_cv_geometryvaluepair_geometry')), 
     2671Column('cv_gridpoint__cv_domainobject_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__cv_domainobject')), 
     2672        extend_existing=False,) 
     2673         
     2674 
     2675 
     2676 
     2677 
     2678 
     2679        md_applicationschemainformation_table = Table('md_applicationschemainformation', metadata, 
     2680        Column('id', Integer, Sequence('md_applicationschemainformation_id_seq'), primary_key=True), 
     2681Column('md_metadata_applicationschemainfo', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_applicationschemainfo')), 
     2682Column('constraintLanguage', Text , nullable=False), 
     2683Column('schemaAscii', Text , nullable=True), 
     2684Column('softwareDevelopmentFileFormat', Text , nullable=True), 
     2685Column('schemaLanguage', Text , nullable=False), 
     2686        extend_existing=False,) 
     2687         
     2688 
     2689 
     2690 
     2691 
     2692 
     2693        om_complexobservation_table = Table('om_complexobservation', metadata, 
     2694        Column('id', Integer, Sequence('om_complexobservation_id_seq'), primary_key=True), 
     2695Column('om_process__generatedobservation_om_complexobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process__generatedobservation_om_complexobservation')), 
     2696Column('om_observation__relatedobservation_om_complexobservation', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__relatedobservation_om_complexobservation')), 
     2697Column('gfi_feature__propertyvalueprovider_om_complexobservation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_om_complexobservation')), 
     2698Column('sf_samplingfeature__relatedobservation_om_complexobservation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_om_complexobservation')), 
     2699        extend_existing=False,) 
     2700         
     2701 
     2702 
     2703 
     2704 
     2705 
     2706        gf_locationalattributetype_table = Table('gf_locationalattributetype', metadata, 
     2707        Column('id', Integer, Sequence('gf_locationalattributetype_id_seq'), primary_key=True), 
     2708Column('gf_operation__affectsvaluesof_gf_locationalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__affectsvaluesof_gf_locationalattributetype')), 
     2709Column('gf_operation__observesvaluesof_gf_locationalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__observesvaluesof_gf_locationalattributetype')), 
     2710Column('gf_attributetype__characterize_gf_locationalattributetype_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterize_gf_locationalattributetype')), 
     2711Column('md_metadata__featureattribute_gf_locationalattributetype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__featureattribute_gf_locationalattributetype')), 
     2712Column('gf_attributetype__characterizeby_gf_locationalattributetype', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterizeby_gf_locationalattributetype')), 
     2713Column('gf_operation__triggeredbyvaluesof_gf_locationalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__triggeredbyvaluesof_gf_locationalattributetype')), 
     2714        extend_existing=False,) 
     2715         
     2716 
     2717 
     2718 
     2719 
     2720 
     2721        tm_period_table = Table('tm_period', metadata, 
     2722        Column('id', Integer, Sequence('tm_period_id_seq'), primary_key=True), 
     2723Column('tm_calendarera_epochofuse_id', Integer, ForeignKey('tm_calendarera.id', use_alter=True, name='fk_tm_calendarera_epochofuse')), 
     2724Column('tm_instant_begunby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_begunby')), 
     2725Column('tm_edge_geometry_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_geometry')), 
     2726Column('ns_routerequest_arrivaltime_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest_arrivaltime')), 
     2727Column('om_observation__phenomenontime_tm_period_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__phenomenontime_tm_period')), 
     2728Column('om_observation_validtime_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation_validtime')), 
     2729Column('tm_instant_endedby', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_endedby')), 
     2730Column('cv_domainobject__temporalelement_tm_period', Integer, ForeignKey('cv_domainobject.id', use_alter=True, name='fk_cv_domainobject__temporalelement_tm_period')), 
     2731Column('ns_routerequest_departuretime_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest_departuretime')), 
     2732        extend_existing=False,) 
     2733         
     2734 
     2735 
     2736 
     2737 
     2738 
     2739        cv_valuehexagon_table = Table('cv_valuehexagon', metadata, 
     2740        Column('id', Integer, Sequence('cv_valuehexagon_id_seq'), primary_key=True), 
     2741        extend_existing=False,) 
     2742         
     2743 
     2744 
     2745 
     2746 
     2747 
     2748        cv_geometryvaluepair_table = Table('cv_geometryvaluepair', metadata, 
     2749        Column('id', Integer, Sequence('cv_geometryvaluepair_id_seq'), primary_key=True), 
     2750Column('cv_surfacevaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cv_surfacevaluepair.id', use_alter=True, name='fk_cv_surfacevaluepair__cv_geometryvaluepair')), 
     2751Column('cv_gridpointvaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cv_gridpointvaluepair.id', use_alter=True, name='fk_cv_gridpointvaluepair__cv_geometryvaluepair')), 
     2752Column('cvt_timeinstantvaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cvt_timeinstantvaluepair.id', use_alter=True, name='fk_cvt_timeinstantvaluepair__cv_geometryvaluepair')), 
     2753Column('cv_solidvaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cv_solidvaluepair.id', use_alter=True, name='fk_cv_solidvaluepair__cv_geometryvaluepair')), 
     2754Column('cv_pointvaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cv_pointvaluepair.id', use_alter=True, name='fk_cv_pointvaluepair__cv_geometryvaluepair')), 
     2755Column('cv_curvevaluepair__cv_geometryvaluepair_id', Integer, ForeignKey('cv_curvevaluepair.id', use_alter=True, name='fk_cv_curvevaluepair__cv_geometryvaluepair')), 
     2756        extend_existing=False,) 
     2757         
     2758 
     2759 
     2760 
     2761 
     2762 
     2763        eg_pointestimate_table = Table('eg_pointestimate', metadata, 
     2764        Column('id', Integer, Sequence('eg_pointestimate_id_seq'), primary_key=True), 
     2765Column('gm_compositepoint__generator_eg_pointestimate_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint__generator_eg_pointestimate')), 
     2766Column('gm_pointref__point_eg_pointestimate_id', Integer, ForeignKey('gm_pointref.id', use_alter=True, name='fk_gm_pointref__point_eg_pointestimate')), 
     2767Column('cv_gridpoint__groundpoint_eg_pointestimate', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__groundpoint_eg_pointestimate')), 
     2768Column('cv_pointvaluepair__geometry_eg_pointestimate_id', Integer, ForeignKey('cv_pointvaluepair.id', use_alter=True, name='fk_cv_pointvaluepair__geometry_eg_pointestimate')), 
     2769Column('simplex__vertices_eg_pointestimate_id', Integer, ForeignKey('simplex.id', use_alter=True, name='fk_simplex__vertices_eg_pointestimate')), 
     2770Column('lr_referencemarker__position_eg_pointestimate_id', Integer, ForeignKey('lr_referencemarker.id', use_alter=True, name='fk_lr_referencemarker__position_eg_pointestimate')), 
     2771Column('si_locationinstance__position_eg_pointestimate_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance__position_eg_pointestimate')), 
     2772        extend_existing=False,) 
     2773         
     2774 
     2775 
     2776 
     2777 
     2778 
     2779        gm_compositesolid_table = Table('gm_compositesolid', metadata, 
     2780        Column('id', Integer, Sequence('gm_compositesolid_id_seq'), primary_key=True), 
     2781        extend_existing=False,) 
     2782         
     2783 
     2784 
     2785 
     2786 
     2787 
     2788        tm_caldate_table = Table('tm_caldate', metadata, 
     2789        Column('id', Integer, Sequence('tm_caldate_id_seq'), primary_key=True), 
     2790Column('tm_calendarera_referencedate_id', Integer, ForeignKey('tm_calendarera.id', use_alter=True, name='fk_tm_calendarera_referencedate')), 
     2791Column('tm_referencesystem__position_tm_caldate', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem__position_tm_caldate')), 
     2792Column('calDate', ARRAY(Integer) , nullable=False), 
     2793Column('calendarEraName', Text , nullable=False), 
     2794        extend_existing=False,) 
     2795         
     2796 
     2797 
     2798 
     2799 
     2800 
     2801        io_identifiedobject_table = Table('io_identifiedobject', metadata, 
     2802        Column('id', Integer, Sequence('io_identifiedobject_id_seq'), primary_key=True), 
     2803Column('cs_coordinatesystemaxis__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__io_identifiedobject')), 
     2804Column('cd_ellipsoid__io_identifiedobject_id', Integer, ForeignKey('cd_ellipsoid.id', use_alter=True, name='fk_cd_ellipsoid__io_identifiedobject')), 
     2805Column('cd_datum__io_identifiedobject_id', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum__io_identifiedobject')), 
     2806Column('cc_generaloperationparameter__io_identifiedobject_id', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter__io_identifiedobject')), 
     2807Column('cs_coordinatesystem__io_identifiedobject_id', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem__io_identifiedobject')), 
     2808Column('cd_primemeridian__io_identifiedobject_id', Integer, ForeignKey('cd_primemeridian.id', use_alter=True, name='fk_cd_primemeridian__io_identifiedobject')), 
     2809Column('cc_coordinateoperation__io_identifiedobject_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__io_identifiedobject')), 
     2810Column('cc_operationmethod__io_identifiedobject_id', Integer, ForeignKey('cc_operationmethod.id', use_alter=True, name='fk_cc_operationmethod__io_identifiedobject')), 
     2811        extend_existing=False,) 
     2812         
     2813 
     2814 
     2815 
     2816 
     2817 
     2818        nt_temporalconstraint_table = Table('nt_temporalconstraint', metadata, 
     2819        Column('id', Integer, Sequence('nt_temporalconstraint_id_seq'), primary_key=True), 
     2820Column('nt_constraint__coconstraint_nt_temporalconstraint', Integer, ForeignKey('nt_constraint.id', use_alter=True, name='fk_nt_constraint__coconstraint_nt_temporalconstraint')), 
     2821Column('nt_waypoint__restriction_nt_temporalconstraint', Integer, ForeignKey('nt_waypoint.id', use_alter=True, name='fk_nt_waypoint__restriction_nt_temporalconstraint')), 
     2822Column('nt_turn__constraint_nt_temporalconstraint', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn__constraint_nt_temporalconstraint')), 
     2823Column('nt_maneuver__constraint_nt_temporalconstraint', Integer, ForeignKey('nt_maneuver.id', use_alter=True, name='fk_nt_maneuver__constraint_nt_temporalconstraint')), 
     2824Column('nt_link__constraint_nt_temporalconstraint', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link__constraint_nt_temporalconstraint')), 
     2825        extend_existing=False,) 
     2826         
     2827 
     2828 
     2829 
     2830 
     2831 
     2832        om_process_table = Table('om_process', metadata, 
     2833        Column('id', Integer, Sequence('om_process_id_seq'), primary_key=True), 
     2834Column('mo_process__om_process_id', Integer, ForeignKey('mo_process.id', use_alter=True, name='fk_mo_process__om_process')), 
     2835        extend_existing=False,) 
     2836         
     2837 
     2838 
     2839 
     2840 
     2841 
     2842        ns_costedturn_table = Table('ns_costedturn', metadata, 
     2843        Column('id', Integer, Sequence('ns_costedturn_id_seq'), primary_key=True), 
     2844Column('ns_costfunction_turn', Integer, ForeignKey('ns_costfunction.id', use_alter=True, name='fk_ns_costfunction_turn')), 
     2845Column('nt_turn_costedturn', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn_costedturn')), 
     2846        extend_existing=False,) 
     2847         
     2848 
     2849 
     2850 
     2851 
     2852 
     2853        tm_position_table = Table('tm_position', metadata, 
     2854        Column('id', Integer, Sequence('tm_position_id_seq'), primary_key=True), 
     2855Column('tm_instant_position_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_position')), 
     2856        extend_existing=False,) 
     2857         
     2858 
     2859 
     2860 
     2861 
     2862 
     2863        tp_ring_table = Table('tp_ring', metadata, 
     2864        Column('id', Integer, Sequence('tp_ring_id_seq'), primary_key=True), 
     2865Column('tp_expressionterm__expression_tp_ring_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_tp_ring')), 
     2866        extend_existing=False,) 
     2867         
     2868 
     2869 
     2870 
     2871 
     2872 
     2873        gf_thematicattributetype_table = Table('gf_thematicattributetype', metadata, 
     2874        Column('id', Integer, Sequence('gf_thematicattributetype_id_seq'), primary_key=True), 
     2875Column('gf_attributetype__characterize_gf_thematicattributetype_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterize_gf_thematicattributetype')), 
     2876Column('gf_operation__affectsvaluesof_gf_thematicattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__affectsvaluesof_gf_thematicattributetype')), 
     2877Column('gf_operation__triggeredbyvaluesof_gf_thematicattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__triggeredbyvaluesof_gf_thematicattributetype')), 
     2878Column('md_metadata__featureattribute_gf_thematicattributetype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__featureattribute_gf_thematicattributetype')), 
     2879Column('gf_operation__observesvaluesof_gf_thematicattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__observesvaluesof_gf_thematicattributetype')), 
     2880Column('gf_attributetype__characterizeby_gf_thematicattributetype', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterizeby_gf_thematicattributetype')), 
     2881        extend_existing=False,) 
     2882         
     2883 
     2884 
     2885 
     2886 
     2887 
     2888        gf_temporalattributetype_table = Table('gf_temporalattributetype', metadata, 
     2889        Column('id', Integer, Sequence('gf_temporalattributetype_id_seq'), primary_key=True), 
     2890Column('gf_operation__triggeredbyvaluesof_gf_temporalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__triggeredbyvaluesof_gf_temporalattributetype')), 
     2891Column('gf_operation__affectsvaluesof_gf_temporalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__affectsvaluesof_gf_temporalattributetype')), 
     2892Column('md_metadata__featureattribute_gf_temporalattributetype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__featureattribute_gf_temporalattributetype')), 
     2893Column('gf_attributetype__characterize_gf_temporalattributetype_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterize_gf_temporalattributetype')), 
     2894Column('gf_attributetype__characterizeby_gf_temporalattributetype', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterizeby_gf_temporalattributetype')), 
     2895Column('gf_operation__observesvaluesof_gf_temporalattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__observesvaluesof_gf_temporalattributetype')), 
     2896        extend_existing=False,) 
     2897         
     2898 
     2899 
     2900 
     2901 
     2902 
     2903        dq_completeness_table = Table('dq_completeness', metadata, 
     2904        Column('id', Integer, Sequence('dq_completeness_id_seq'), primary_key=True), 
     2905Column('om_observation__resultquality_dq_completeness', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_completeness')), 
     2906Column('dq_dataquality__report_dq_completeness', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_completeness')), 
     2907        extend_existing=False,) 
     2908         
     2909 
     2910 
     2911 
     2912 
     2913 
     2914        ci_citation_table = Table('ci_citation', metadata, 
     2915        Column('id', Integer, Sequence('ci_citation_id_seq'), primary_key=True), 
     2916Column('mo_citation__ci_citation_id', Integer, ForeignKey('mo_citation.id', use_alter=True, name='fk_mo_citation__ci_citation')), 
     2917Column('taxonomysystem_identificationreference_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_identificationreference')), 
     2918Column('md_identification_citation_id', Integer, ForeignKey('md_identification.id', use_alter=True, name='fk_md_identification_citation')), 
     2919Column('li_source_sourcecitation_id', Integer, ForeignKey('li_source.id', use_alter=True, name='fk_li_source_sourcecitation')), 
     2920Column('md_featurecataloguedescription_featurecataloguecitation', Integer, ForeignKey('md_featurecataloguedescription.id', use_alter=True, name='fk_md_featurecataloguedescription_featurecataloguecitation')), 
     2921Column('dq_element_evaluationprocedure_id', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element_evaluationprocedure')), 
     2922Column('md_identifier_authority_id', Integer, ForeignKey('md_identifier.id', use_alter=True, name='fk_md_identifier_authority')), 
     2923Column('cc_parametervalue_valuefilecitation_id', Integer, ForeignKey('cc_parametervalue.id', use_alter=True, name='fk_cc_parametervalue_valuefilecitation')), 
     2924Column('md_keywords_thesaurusname_id', Integer, ForeignKey('md_keywords.id', use_alter=True, name='fk_md_keywords_thesaurusname')), 
     2925Column('md_portrayalcataloguereference_portrayalcataloguecitation', Integer, ForeignKey('md_portrayalcataloguereference.id', use_alter=True, name='fk_md_portrayalcataloguereference_portrayalcataloguecitation')), 
     2926Column('dq_conformanceresult_specification_id', Integer, ForeignKey('dq_conformanceresult.id', use_alter=True, name='fk_dq_conformanceresult_specification')), 
     2927Column('taxonomysystem_classificationsystemauthority_id', Integer, ForeignKey('taxonomysystem.id', use_alter=True, name='fk_taxonomysystem_classificationsystemauthority')), 
     2928Column('md_aggregateinformation_aggregatedatasetname_id', Integer, ForeignKey('md_aggregateinformation.id', use_alter=True, name='fk_md_aggregateinformation_aggregatedatasetname')), 
     2929Column('md_applicationschemainformation_name_id', Integer, ForeignKey('md_applicationschemainformation.id', use_alter=True, name='fk_md_applicationschemainformation_name')), 
     2930Column('cc_formula_formulacitation_id', Integer, ForeignKey('cc_formula.id', use_alter=True, name='fk_cc_formula_formulacitation')), 
     2931Column('le_algorithm_citation_id', Integer, ForeignKey('le_algorithm.id', use_alter=True, name='fk_le_algorithm_citation')), 
     2932Column('alternateTitle', ARRAY(Text) , nullable=True), 
     2933Column('ISBN', Text , nullable=True), 
     2934Column('edition', Text , nullable=True), 
     2935Column('collectiveTitle', Text , nullable=True), 
     2936Column('presentationForm', String , nullable=True), 
     2937Column('ISSN', Text , nullable=True), 
     2938Column('otherCitationDetails', Text , nullable=True), 
     2939Column('title', Text , nullable=False), 
     2940        extend_existing=False,) 
     2941         
     2942 
     2943 
     2944 
     2945 
     2946 
     2947        gm_pointarray_table = Table('gm_pointarray', metadata, 
     2948        Column('id', Integer, Sequence('gm_pointarray_id_seq'), primary_key=True), 
     2949Column('gm_splinecurve_controlpoints_id', Integer, ForeignKey('gm_splinecurve.id', use_alter=True, name='fk_gm_splinecurve_controlpoints')), 
     2950Column('gm_arcstring_controlpoints_id', Integer, ForeignKey('gm_arcstring.id', use_alter=True, name='fk_gm_arcstring_controlpoints')), 
     2951Column('arcbycenterpoint_controlpoint_id', Integer, ForeignKey('arcbycenterpoint.id', use_alter=True, name='fk_arcbycenterpoint_controlpoint')), 
     2952Column('gm_geodesicstring_controlpoint_id', Integer, ForeignKey('gm_geodesicstring.id', use_alter=True, name='fk_gm_geodesicstring_controlpoint')), 
     2953Column('gm_linestring_controlpoint_id', Integer, ForeignKey('gm_linestring.id', use_alter=True, name='fk_gm_linestring_controlpoint')), 
     2954        extend_existing=False,) 
     2955         
     2956 
     2957 
     2958 
     2959 
     2960 
     2961        cv_pointvaluepair_table = Table('cv_pointvaluepair', metadata, 
     2962        Column('id', Integer, Sequence('cv_pointvaluepair_id_seq'), primary_key=True), 
     2963Column('cv_valuesegment_ends_id', Integer, ForeignKey('cv_valuesegment.id', use_alter=True, name='fk_cv_valuesegment_ends')), 
     2964Column('cv_valuetriangle_controlvalue_id', Integer, ForeignKey('cv_valuetriangle.id', use_alter=True, name='fk_cv_valuetriangle_controlvalue')), 
     2965        extend_existing=False,) 
     2966         
    14432967 
    14442968 
     
    14482972        mo_computation_table = Table('mo_computation', metadata, 
    14492973        Column('id', Integer, Sequence('mo_computation_id_seq'), primary_key=True), 
    1450                                         Column('mo_processing_mo_computation_id', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_mo_computation')), 
    14512974Column('mo_compositeprocess_computationcomponent', Integer, ForeignKey('mo_compositeprocess.id', use_alter=True, name='fk_mo_compositeprocess_computationcomponent')), 
    1452         extend_existing=False,) 
    1453          
    1454  
     2975Column('mo_processing__mo_computation_id', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing__mo_computation')), 
     2976        extend_existing=False,) 
     2977         
     2978 
     2979 
     2980 
     2981 
     2982 
     2983        md_scopedescription_table = Table('md_scopedescription', metadata, 
     2984        Column('id', Integer, Sequence('md_scopedescription_id_seq'), primary_key=True), 
     2985Column('other', Text , nullable=False), 
     2986Column('dataset', Text , nullable=False), 
     2987        extend_existing=False,) 
     2988         
     2989 
     2990 
     2991 
     2992 
     2993 
     2994        sc_crs_table = Table('sc_crs', metadata, 
     2995        Column('id', Integer, Sequence('sc_crs_id_seq'), primary_key=True), 
     2996Column('sc_singlecrs__sc_crs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__sc_crs')), 
     2997Column('sc_compoundcrs__sc_crs_id', Integer, ForeignKey('sc_compoundcrs.id', use_alter=True, name='fk_sc_compoundcrs__sc_crs')), 
     2998Column('scope', ARRAY(Text) , nullable=False), 
     2999        extend_existing=False,) 
     3000         
     3001 
     3002 
     3003 
     3004 
     3005 
     3006        nl_surfacepatch_table = Table('nl_surfacepatch', metadata, 
     3007        Column('id', Integer, Sequence('nl_surfacepatch_id_seq'), primary_key=True), 
     3008Column('nl_surface_patch', Integer, ForeignKey('nl_surface.id', use_alter=True, name='fk_nl_surface_patch')), 
     3009Column('gm_surface__patch_nl_surfacepatch', Integer, ForeignKey('gm_surface.id', use_alter=True, name='fk_gm_surface__patch_nl_surfacepatch')), 
     3010Column('numDerivativesOnBoundary', Integer , nullable=False), 
     3011Column('interpolation', String , nullable=False), 
     3012        extend_existing=False,) 
     3013         
     3014 
     3015 
     3016 
     3017 
     3018 
     3019        gm_triangle_table = Table('gm_triangle', metadata, 
     3020        Column('id', Integer, Sequence('gm_triangle_id_seq'), primary_key=True), 
     3021Column('gm_triangulatedsurface_patch', Integer, ForeignKey('gm_triangulatedsurface.id', use_alter=True, name='fk_gm_triangulatedsurface_patch')), 
     3022Column('cv_valuetriangle_geometry_id', Integer, ForeignKey('cv_valuetriangle.id', use_alter=True, name='fk_cv_valuetriangle_geometry')), 
     3023        extend_existing=False,) 
     3024         
     3025 
     3026 
     3027 
     3028 
     3029 
     3030        ceda_platform_table = Table('ceda_platform', metadata, 
     3031        Column('id', Integer, Sequence('ceda_platform_id_seq'), primary_key=True), 
     3032        extend_existing=False,) 
     3033         
     3034 
     3035 
     3036 
     3037 
     3038 
     3039        md_representativefraction_table = Table('md_representativefraction', metadata, 
     3040        Column('id', Integer, Sequence('md_representativefraction_id_seq'), primary_key=True), 
     3041Column('li_source_scaledenominator_id', Integer, ForeignKey('li_source.id', use_alter=True, name='fk_li_source_scaledenominator')), 
     3042Column('denominator', Integer , nullable=False), 
     3043        extend_existing=False,) 
     3044         
     3045 
     3046 
     3047 
     3048 
     3049 
     3050        cd_seconddefiningparameter_table = Table('cd_seconddefiningparameter', metadata, 
     3051        Column('id', Integer, Sequence('cd_seconddefiningparameter_id_seq'), primary_key=True), 
     3052Column('cd_ellipsoid_seconddefiningparameter_id', Integer, ForeignKey('cd_ellipsoid.id', use_alter=True, name='fk_cd_ellipsoid_seconddefiningparameter')), 
     3053Column('isSphere', BOOLEAN , nullable=False), 
     3054        extend_existing=False,) 
     3055         
     3056 
     3057 
     3058 
     3059 
     3060 
     3061        cell_table = Table('cell', metadata, 
     3062        Column('id', Integer, Sequence('cell_id_seq'), primary_key=True), 
     3063Column('tp_primitive__container_cell_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_cell')), 
     3064Column('tp_directedtopo__topo_cell_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_cell')), 
     3065Column('gm_orientableprimitive__primitive_cell_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive__primitive_cell')), 
     3066Column('tp_primitive__geometry_cell_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__geometry_cell')), 
     3067Column('dimension', Integer , nullable=False), 
     3068        extend_existing=False,) 
     3069         
     3070 
     3071 
     3072 
     3073 
     3074 
     3075        sc_compoundcrs_table = Table('sc_compoundcrs', metadata, 
     3076        Column('id', Integer, Sequence('sc_compoundcrs_id_seq'), primary_key=True), 
     3077Column('sc_singlecrs_compoundcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_compoundcrs')), 
     3078Column('si_gazetteer__coordinate_system_sc_compoundcrs_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer__coordinate_system_sc_compoundcrs')), 
     3079Column('cv_coverage__crs_sc_compoundcrs_id', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage__crs_sc_compoundcrs')), 
     3080Column('gm_object__crs_sc_compoundcrs_id', Integer, ForeignKey('gm_object.id', use_alter=True, name='fk_gm_object__crs_sc_compoundcrs')), 
     3081Column('cc_coordinateoperation__sourcecrs_sc_compoundcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__sourcecrs_sc_compoundcrs')), 
     3082Column('cc_coordinateoperation__targetcrs_sc_compoundcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__targetcrs_sc_compoundcrs')), 
     3083Column('ex_verticalextent__verticalcrs_sc_compoundcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent__verticalcrs_sc_compoundcrs')), 
     3084Column('cv_referenceablegrid__crs_sc_compoundcrs', Integer, ForeignKey('cv_referenceablegrid.id', use_alter=True, name='fk_cv_referenceablegrid__crs_sc_compoundcrs')), 
     3085Column('directposition__crs_sc_compoundcrs_id', Integer, ForeignKey('directposition.id', use_alter=True, name='fk_directposition__crs_sc_compoundcrs')), 
     3086        extend_existing=False,) 
     3087         
     3088 
     3089 
     3090 
     3091 
     3092 
     3093        simplex_table = Table('simplex', metadata, 
     3094        Column('id', Integer, Sequence('simplex_id_seq'), primary_key=True), 
     3095Column('tp_directedtopo__topo_simplex_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_simplex')), 
     3096Column('tp_primitive__geometry_simplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__geometry_simplex')), 
     3097Column('gm_orientableprimitive__primitive_simplex_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive__primitive_simplex')), 
     3098Column('tp_primitive__container_simplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_simplex')), 
     3099Column('dimension', Integer , nullable=False), 
     3100        extend_existing=False,) 
     3101         
     3102 
     3103 
     3104 
     3105 
     3106 
     3107        cd_geodeticdatum_table = Table('cd_geodeticdatum', metadata, 
     3108        Column('id', Integer, Sequence('cd_geodeticdatum_id_seq'), primary_key=True), 
     3109Column('sc_singlecrs__datum_cd_geodeticdatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_geodeticdatum')), 
     3110Column('cd_primemeridian_datum', Integer, ForeignKey('cd_primemeridian.id', use_alter=True, name='fk_cd_primemeridian_datum')), 
     3111Column('sc_geodeticcrs_datum_id', Integer, ForeignKey('sc_geodeticcrs.id', use_alter=True, name='fk_sc_geodeticcrs_datum')), 
     3112Column('cd_ellipsoid_datum', Integer, ForeignKey('cd_ellipsoid.id', use_alter=True, name='fk_cd_ellipsoid_datum')), 
     3113        extend_existing=False,) 
     3114         
     3115 
     3116 
     3117 
     3118 
     3119 
     3120        dq_logicalconsistency_table = Table('dq_logicalconsistency', metadata, 
     3121        Column('id', Integer, Sequence('dq_logicalconsistency_id_seq'), primary_key=True), 
     3122Column('dq_dataquality__report_dq_logicalconsistency', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_logicalconsistency')), 
     3123Column('om_observation__resultquality_dq_logicalconsistency', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_logicalconsistency')), 
     3124        extend_existing=False,) 
     3125         
     3126 
     3127 
     3128 
     3129 
     3130 
     3131        cd_imagedatum_table = Table('cd_imagedatum', metadata, 
     3132        Column('id', Integer, Sequence('cd_imagedatum_id_seq'), primary_key=True), 
     3133Column('sc_imagecrs_datum_id', Integer, ForeignKey('sc_imagecrs.id', use_alter=True, name='fk_sc_imagecrs_datum')), 
     3134Column('sc_singlecrs__datum_cd_imagedatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_imagedatum')), 
     3135Column('pixelinCell', String , nullable=False), 
     3136        extend_existing=False,) 
     3137         
     3138 
     3139 
     3140 
     3141 
     3142 
     3143        ceda_acquisition_table = Table('ceda_acquisition', metadata, 
     3144        Column('id', Integer, Sequence('ceda_acquisition_id_seq'), primary_key=True), 
     3145Column('om_observation__procedure_ceda_acquisition_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__procedure_ceda_acquisition')), 
     3146        extend_existing=False,) 
     3147         
     3148 
     3149 
     3150 
     3151 
     3152 
     3153        gf_aggregationtype_table = Table('gf_aggregationtype', metadata, 
     3154        Column('id', Integer, Sequence('gf_aggregationtype_id_seq'), primary_key=True), 
     3155Column('gf_featuretype__linkbetween_gf_aggregationtype', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype__linkbetween_gf_aggregationtype')), 
     3156Column('gf_operation__dependson_gf_aggregationtype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__dependson_gf_aggregationtype')), 
     3157        extend_existing=False,) 
     3158         
     3159 
     3160 
     3161 
     3162 
     3163 
     3164        cv_solidvaluepair_table = Table('cv_solidvaluepair', metadata, 
     3165        Column('id', Integer, Sequence('cv_solidvaluepair_id_seq'), primary_key=True), 
     3166        extend_existing=False,) 
     3167         
     3168 
     3169 
     3170 
     3171 
     3172 
     3173        cc_parametervaluegroup_table = Table('cc_parametervaluegroup', metadata, 
     3174        Column('id', Integer, Sequence('cc_parametervaluegroup_id_seq'), primary_key=True), 
     3175Column('cc_generaloperationparameter__value_cc_parametervaluegroup', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter__value_cc_parametervaluegroup')), 
     3176Column('cc_singleoperation__parametervalue_cc_parametervaluegroup', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation__parametervalue_cc_parametervaluegroup')), 
     3177Column('cc_generalparametervalue_group_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue_group')), 
     3178Column('cc_operationparametergroup_value', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup_value')), 
     3179        extend_existing=False,) 
     3180         
     3181 
     3182 
     3183 
     3184 
     3185 
     3186        cv_gridvaluecell_table = Table('cv_gridvaluecell', metadata, 
     3187        Column('id', Integer, Sequence('cv_gridvaluecell_id_seq'), primary_key=True), 
     3188        extend_existing=False,) 
     3189         
     3190 
     3191 
     3192 
     3193 
     3194 
     3195        nt_junction_table = Table('nt_junction', metadata, 
     3196        Column('id', Integer, Sequence('nt_junction_id_seq'), primary_key=True), 
     3197Column('nt_networkposition_node_id', Integer, ForeignKey('nt_networkposition.id', use_alter=True, name='fk_nt_networkposition_node')), 
     3198Column('nt_turn_junction_id', Integer, ForeignKey('nt_turn.id', use_alter=True, name='fk_nt_turn_junction')), 
     3199Column('nt_transfernode__nt_junction_id', Integer, ForeignKey('nt_transfernode.id', use_alter=True, name='fk_nt_transfernode__nt_junction')), 
     3200Column('nt_link_hub_id', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link_hub')), 
     3201Column('junctionType', String , nullable=True), 
     3202        extend_existing=False,) 
     3203         
     3204 
     3205 
     3206 
     3207 
     3208 
     3209        ceda_processing_table = Table('ceda_processing', metadata, 
     3210        Column('id', Integer, Sequence('ceda_processing_id_seq'), primary_key=True), 
     3211Column('om_observation__procedure_ceda_processing_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__procedure_ceda_processing')), 
     3212        extend_existing=False,) 
     3213         
     3214 
     3215 
     3216 
     3217 
     3218 
     3219        cl_classificationcollection_table = Table('cl_classificationcollection', metadata, 
     3220        Column('id', Integer, Sequence('cl_classificationcollection_id_seq'), primary_key=True), 
     3221        extend_existing=False,) 
     3222         
     3223 
     3224 
     3225 
     3226 
     3227 
     3228        tp_edge_table = Table('tp_edge', metadata, 
     3229        Column('id', Integer, Sequence('tp_edge_id_seq'), primary_key=True), 
     3230Column('tp_directededge_topo_id', Integer, ForeignKey('tp_directededge.id', use_alter=True, name='fk_tp_directededge_topo')), 
     3231Column('tp_primitive__container_tp_edge_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_tp_edge')), 
     3232Column('tp_directedtopo__topo_tp_edge_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_tp_edge')), 
     3233        extend_existing=False,) 
     3234         
     3235 
     3236 
     3237 
     3238 
     3239 
     3240        cv_valuesegment_table = Table('cv_valuesegment', metadata, 
     3241        Column('id', Integer, Sequence('cv_valuesegment_id_seq'), primary_key=True), 
     3242        extend_existing=False,) 
     3243         
     3244 
     3245 
     3246 
     3247 
     3248 
     3249        ceda_observation_table = Table('ceda_observation', metadata, 
     3250        Column('id', Integer, Sequence('ceda_observation_id_seq'), primary_key=True), 
     3251Column('mo_observationcollection_member', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection_member')), 
     3252Column('dataLineage', Text , nullable=False), 
     3253        extend_existing=False,) 
     3254         
     3255 
     3256 
     3257 
     3258 
     3259 
     3260        cd_ellipsoid_table = Table('cd_ellipsoid', metadata, 
     3261        Column('id', Integer, Sequence('cd_ellipsoid_id_seq'), primary_key=True), 
     3262Column('cd_geodeticdatum_ellipsoid_id', Integer, ForeignKey('cd_geodeticdatum.id', use_alter=True, name='fk_cd_geodeticdatum_ellipsoid')), 
     3263        extend_existing=False,) 
     3264         
     3265 
     3266 
     3267 
     3268 
     3269 
     3270        dq_absoluteexternalpositionalaccuracy_table = Table('dq_absoluteexternalpositionalaccuracy', metadata, 
     3271        Column('id', Integer, Sequence('dq_absoluteexternalpositionalaccuracy_id_seq'), primary_key=True), 
     3272Column('cc_coordinateoperation__coordinateoperationaccuracy_dq_absoluteexternalpositionalaccuracy', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__coordinateoperationaccuracy_dq_absoluteexternalpositionalaccuracy')), 
     3273Column('sf_spatialsamplingfeature__positionalaccuracy_dq_absoluteexternalpositionalaccuracy', Integer, ForeignKey('sf_spatialsamplingfeature.id', use_alter=True, name='fk_sf_spatialsamplingfeature__positionalaccuracy_dq_absoluteexternalpositionalaccuracy')), 
     3274        extend_existing=False,) 
     3275         
     3276 
     3277 
     3278 
     3279 
     3280 
     3281        gf_propertytype_table = Table('gf_propertytype', metadata, 
     3282        Column('id', Integer, Sequence('gf_propertytype_id_seq'), primary_key=True), 
     3283Column('gf_attributetype__gf_propertytype_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__gf_propertytype')), 
     3284Column('gf_associationrole__gf_propertytype_id', Integer, ForeignKey('gf_associationrole.id', use_alter=True, name='fk_gf_associationrole__gf_propertytype')), 
     3285Column('gf_operation__gf_propertytype_id', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__gf_propertytype')), 
     3286Column('definition', Text , nullable=False), 
     3287        extend_existing=False,) 
     3288         
     3289 
     3290 
     3291 
     3292 
     3293 
     3294        mo_instrument_table = Table('mo_instrument', metadata, 
     3295        Column('id', Integer, Sequence('mo_instrument_id_seq'), primary_key=True), 
     3296Column('ceda_instrument__mo_instrument_id', Integer, ForeignKey('ceda_instrument.id', use_alter=True, name='fk_ceda_instrument__mo_instrument')), 
     3297Column('mo_instrumentplatformpair_instrument_id', Integer, ForeignKey('mo_instrumentplatformpair.id', use_alter=True, name='fk_mo_instrumentplatformpair_instrument')), 
     3298Column('description', Text , nullable=True), 
     3299Column('type', String , nullable=True), 
     3300        extend_existing=False,) 
     3301         
     3302 
     3303 
     3304 
     3305 
     3306 
     3307        gm_surface_table = Table('gm_surface', metadata, 
     3308        Column('id', Integer, Sequence('gm_surface_id_seq'), primary_key=True), 
     3309Column('gm_compositesurface__generator_gm_surface', Integer, ForeignKey('gm_compositesurface.id', use_alter=True, name='fk_gm_compositesurface__generator_gm_surface')), 
     3310Column('gm_polyhedralsurface__gm_surface_id', Integer, ForeignKey('gm_polyhedralsurface.id', use_alter=True, name='fk_gm_polyhedralsurface__gm_surface')), 
     3311Column('polygon__gm_surface_id', Integer, ForeignKey('polygon.id', use_alter=True, name='fk_polygon__gm_surface')), 
     3312        extend_existing=False,) 
     3313         
     3314 
     3315 
     3316 
     3317 
     3318 
     3319        cs_sphericalcs_table = Table('cs_sphericalcs', metadata, 
     3320        Column('id', Integer, Sequence('cs_sphericalcs_id_seq'), primary_key=True), 
     3321Column('cs_geodeticcs_sphericalcs_id', Integer, ForeignKey('cs_geodeticcs.id', use_alter=True, name='fk_cs_geodeticcs_sphericalcs')), 
     3322Column('sc_singlecrs__coordinatesystem_cs_sphericalcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_sphericalcs')), 
     3323Column('cs_coordinatesystemaxis__coordinatesystem_cs_sphericalcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_sphericalcs')), 
     3324Column('cs_engineeringcs_sphericalcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_sphericalcs')), 
     3325        extend_existing=False,) 
     3326         
     3327 
     3328 
     3329 
     3330 
     3331 
     3332        cc_operationmethod_table = Table('cc_operationmethod', metadata, 
     3333        Column('id', Integer, Sequence('cc_operationmethod_id_seq'), primary_key=True), 
     3334Column('cc_singleoperation_method_id', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_method')), 
     3335Column('targetDimensions', Integer , nullable=True), 
     3336Column('sourceDimensions', Integer , nullable=True), 
     3337        extend_existing=False,) 
     3338         
     3339 
     3340 
     3341 
     3342 
     3343 
     3344        fd_featurename_table = Table('fd_featurename', metadata, 
     3345        Column('id', Integer, Sequence('fd_featurename_id_seq'), primary_key=True), 
     3346Column('fd_feature_id_id', Integer, ForeignKey('fd_feature.id', use_alter=True, name='fk_fd_feature_id')), 
     3347Column('tk_position_featureid_id', Integer, ForeignKey('tk_position.id', use_alter=True, name='fk_tk_position_featureid')), 
     3348        extend_existing=False,) 
     3349         
     3350 
     3351 
     3352 
     3353 
     3354 
     3355        cc_formula_table = Table('cc_formula', metadata, 
     3356        Column('id', Integer, Sequence('cc_formula_id_seq'), primary_key=True), 
     3357Column('cc_operationmethod_formulareference_id', Integer, ForeignKey('cc_operationmethod.id', use_alter=True, name='fk_cc_operationmethod_formulareference')), 
     3358Column('formula', Text , nullable=False), 
     3359        extend_existing=False,) 
     3360         
     3361 
     3362 
     3363 
     3364 
     3365 
     3366        ns_avoidlist_table = Table('ns_avoidlist', metadata, 
     3367        Column('id', Integer, Sequence('ns_avoidlist_id_seq'), primary_key=True), 
     3368Column('ns_routerequest_avoidlist_id', Integer, ForeignKey('ns_routerequest.id', use_alter=True, name='fk_ns_routerequest_avoidlist')), 
     3369Column('mode', ARRAY(Text) , nullable=True), 
     3370        extend_existing=False,) 
     3371         
     3372 
     3373 
     3374 
     3375 
     3376 
     3377        tm_node_table = Table('tm_node', metadata, 
     3378        Column('id', Integer, Sequence('tm_node_id_seq'), primary_key=True), 
     3379Column('tm_edge_end_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_end')), 
     3380Column('tm_instant_topology_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_topology')), 
     3381Column('tm_edge_start_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_start')), 
     3382Column('tm_topologicalcomplex__primitive_tm_node', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex__primitive_tm_node')), 
     3383        extend_existing=False,) 
     3384         
     3385 
     3386 
     3387 
     3388 
     3389 
     3390        fd_featurecollection_table = Table('fd_featurecollection', metadata, 
     3391        Column('id', Integer, Sequence('fd_featurecollection_id_seq'), primary_key=True), 
     3392Column('isOrdered', BOOLEAN , nullable=False), 
     3393        extend_existing=False,) 
     3394         
     3395 
     3396 
     3397 
     3398 
     3399 
     3400        topocurve_table = Table('topocurve', metadata, 
     3401        Column('id', Integer, Sequence('topocurve_id_seq'), primary_key=True), 
     3402Column('tp_expressionterm__expression_topocurve_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_topocurve')), 
     3403        extend_existing=False,) 
     3404         
     3405 
     3406 
     3407 
     3408 
     3409 
     3410        gf_temporalassociationtype_table = Table('gf_temporalassociationtype', metadata, 
     3411        Column('id', Integer, Sequence('gf_temporalassociationtype_id_seq'), primary_key=True), 
     3412Column('gf_featuretype__linkbetween_gf_temporalassociationtype', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype__linkbetween_gf_temporalassociationtype')), 
     3413Column('gf_operation__dependson_gf_temporalassociationtype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__dependson_gf_temporalassociationtype')), 
     3414        extend_existing=False,) 
     3415         
     3416 
     3417 
     3418 
     3419 
     3420 
     3421        topovolume_table = Table('topovolume', metadata, 
     3422        Column('id', Integer, Sequence('topovolume_id_seq'), primary_key=True), 
     3423Column('tp_expressionterm__expression_topovolume_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_topovolume')), 
     3424        extend_existing=False,) 
     3425         
     3426 
     3427 
     3428 
     3429 
     3430 
     3431        tk_position_table = Table('tk_position', metadata, 
     3432        Column('id', Integer, Sequence('tk_position_id_seq'), primary_key=True), 
     3433Column('nt_waypoint_position_id', Integer, ForeignKey('nt_waypoint.id', use_alter=True, name='fk_nt_waypoint_position')), 
     3434Column('phone', Text , nullable=False), 
     3435        extend_existing=False,) 
     3436         
     3437 
     3438 
     3439 
     3440 
     3441 
     3442        cv_surfacevaluepair_table = Table('cv_surfacevaluepair', metadata, 
     3443        Column('id', Integer, Sequence('cv_surfacevaluepair_id_seq'), primary_key=True), 
     3444Column('cv_valueobject__controlvalue_cv_surfacevaluepair', Integer, ForeignKey('cv_valueobject.id', use_alter=True, name='fk_cv_valueobject__controlvalue_cv_surfacevaluepair')), 
     3445        extend_existing=False,) 
     3446         
     3447 
     3448 
     3449 
     3450 
     3451 
     3452        weight_table = Table('weight', metadata, 
     3453        Column('id', Integer, Sequence('weight_id_seq'), primary_key=True), 
     3454Column('nt_vehicleconstraint_maxweight_id', Integer, ForeignKey('nt_vehicleconstraint.id', use_alter=True, name='fk_nt_vehicleconstraint_maxweight')), 
     3455        extend_existing=False,) 
     3456         
     3457 
     3458 
     3459 
     3460 
     3461 
     3462        md_coveragedescription_table = Table('md_coveragedescription', metadata, 
     3463        Column('id', Integer, Sequence('md_coveragedescription_id_seq'), primary_key=True), 
     3464Column('mi_coveragedescription__md_coveragedescription_id', Integer, ForeignKey('mi_coveragedescription.id', use_alter=True, name='fk_mi_coveragedescription__md_coveragedescription')), 
     3465Column('md_metadata__contentinfo_md_coveragedescription', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__contentinfo_md_coveragedescription')), 
     3466Column('md_imagedescription__md_coveragedescription_id', Integer, ForeignKey('md_imagedescription.id', use_alter=True, name='fk_md_imagedescription__md_coveragedescription')), 
     3467Column('contentType', String , nullable=False), 
     3468        extend_existing=False,) 
     3469         
     3470 
     3471 
     3472 
     3473 
     3474 
     3475        lr_linearreferencemethod_table = Table('lr_linearreferencemethod', metadata, 
     3476        Column('id', Integer, Sequence('lr_linearreferencemethod_id_seq'), primary_key=True), 
     3477Column('lr_positionexpression_lrm_id', Integer, ForeignKey('lr_positionexpression.id', use_alter=True, name='fk_lr_positionexpression_lrm')), 
     3478Column('positiveOffsetDirection', LR_OffsetDirection.db_type() , nullable=False), 
     3479Column('type', Text , nullable=False), 
     3480Column('name', Text , nullable=False), 
     3481        extend_existing=False,) 
     3482         
     3483 
     3484 
     3485 
     3486 
     3487 
     3488        rectangle_table = Table('rectangle', metadata, 
     3489        Column('id', Integer, Sequence('rectangle_id_seq'), primary_key=True), 
     3490Column('gm_surface__patch_rectangle', Integer, ForeignKey('gm_surface.id', use_alter=True, name='fk_gm_surface__patch_rectangle')), 
     3491        extend_existing=False,) 
     3492         
     3493 
     3494 
     3495 
     3496 
     3497 
     3498        om_discretecoverageobservation_table = Table('om_discretecoverageobservation', metadata, 
     3499        Column('id', Integer, Sequence('om_discretecoverageobservation_id_seq'), primary_key=True), 
     3500Column('om_process__generatedobservation_om_discretecoverageobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process__generatedobservation_om_discretecoverageobservation')), 
     3501Column('gfi_feature__propertyvalueprovider_om_discretecoverageobservation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_om_discretecoverageobservation')), 
     3502Column('sf_samplingfeature__relatedobservation_om_discretecoverageobservation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_om_discretecoverageobservation')), 
     3503Column('om_observation__relatedobservation_om_discretecoverageobservation', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__relatedobservation_om_discretecoverageobservation')), 
     3504        extend_existing=False,) 
     3505         
     3506 
     3507 
     3508 
     3509 
     3510 
     3511        cvt_discretetimeinstantcoverage_table = Table('cvt_discretetimeinstantcoverage', metadata, 
     3512        Column('id', Integer, Sequence('cvt_discretetimeinstantcoverage_id_seq'), primary_key=True), 
     3513Column('om_discretecoverageobservation__result_cvt_discretetimeinstantcoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cvt_discretetimeinstantcoverage')), 
     3514        extend_existing=False,) 
     3515         
     3516 
     3517 
     3518 
     3519 
     3520 
     3521        type_table = Table('type', metadata, 
     3522        Column('id', Integer, Sequence('type_id_seq'), primary_key=True), 
     3523Column('schema_description_id', Integer, ForeignKey('schema.id', use_alter=True, name='fk_schema_description')), 
     3524Column('recordtype__type_id', Integer, ForeignKey('recordtype.id', use_alter=True, name='fk_recordtype__type')), 
     3525Column('recordtype_membertype_id', Integer, ForeignKey('recordtype.id', use_alter=True, name='fk_recordtype_membertype')), 
     3526        extend_existing=False,) 
     3527         
     3528 
     3529 
     3530 
     3531 
     3532 
     3533        ds_dataset_table = Table('ds_dataset', metadata, 
     3534        Column('id', Integer, Sequence('ds_dataset_id_seq'), primary_key=True), 
     3535Column('md_metadata_describes', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_describes')), 
     3536Column('cl_dataset__ds_dataset_id', Integer, ForeignKey('cl_dataset.id', use_alter=True, name='fk_cl_dataset__ds_dataset')), 
     3537        extend_existing=False,) 
     3538         
    14553539 
    14563540 
     
    14603544        tm_topologicalprimitive_table = Table('tm_topologicalprimitive', metadata, 
    14613545        Column('id', Integer, Sequence('tm_topologicalprimitive_id_seq'), primary_key=True), 
    1462                                         Column('ex_temporalextent__extent_tm_topologicalprimitive_id', Integer, ForeignKey('ex_temporalextent.id', use_alter=True, name='fk_ex_temporalextent__extent_tm_topologicalprimitive')), 
    1463 Column('tm_edge_tm_topologicalprimitive_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge_tm_topologicalprimitive')), 
    1464 Column('tm_node_tm_topologicalprimitive_id', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_tm_topologicalprimitive')), 
     3546Column('nt_temporalconstraint__forbiddentime_tm_topologicalprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__forbiddentime_tm_topologicalprimitive')), 
     3547Column('tm_node__tm_topologicalprimitive_id', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node__tm_topologicalprimitive')), 
    14653548Column('nt_temporalconstraint__allowedtime_tm_topologicalprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__allowedtime_tm_topologicalprimitive')), 
     3549Column('tm_edge__tm_topologicalprimitive_id', Integer, ForeignKey('tm_edge.id', use_alter=True, name='fk_tm_edge__tm_topologicalprimitive')), 
    14663550Column('nt_constraint__temporalvalidity_tm_topologicalprimitive_id', Integer, ForeignKey('nt_constraint.id', use_alter=True, name='fk_nt_constraint__temporalvalidity_tm_topologicalprimitive')), 
    1467 Column('nt_temporalconstraint__forbiddentime_tm_topologicalprimitive_id', Integer, ForeignKey('nt_temporalconstraint.id', use_alter=True, name='fk_nt_temporalconstraint__forbiddentime_tm_topologicalprimitive')), 
    1468         extend_existing=False,) 
    1469          
    1470  
    1471  
    1472  
    1473  
    1474  
    1475  
    1476         nl_compsitesurface_table = Table('nl_compsitesurface', metadata, 
    1477         Column('id', Integer, Sequence('nl_compsitesurface_id_seq'), primary_key=True), 
    1478                                         Column('nl_map__subcomplex_nl_compsitesurface', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__subcomplex_nl_compsitesurface')), 
    1479 Column('nl_orientablesurface_composite', Integer, ForeignKey('nl_orientablesurface.id', use_alter=True, name='fk_nl_orientablesurface_composite')), 
    1480 Column('orientation', Sign.db_type() , nullable=False), 
    1481         extend_existing=False,) 
    1482          
    1483  
    1484  
    1485  
    1486  
    1487  
    1488  
    1489         ns_costedlink_table = Table('ns_costedlink', metadata, 
    1490         Column('id', Integer, Sequence('ns_costedlink_id_seq'), primary_key=True), 
    1491                                         Column('ns_costfunction_link', Integer, ForeignKey('ns_costfunction.id', use_alter=True, name='fk_ns_costfunction_link')), 
    1492 Column('nt_link_costedlink', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link_costedlink')), 
    1493         extend_existing=False,) 
    1494          
    1495  
    1496  
    1497  
    1498  
    1499  
    1500  
    1501         nl_curve_table = Table('nl_curve', metadata, 
    1502         Column('id', Integer, Sequence('nl_curve_id_seq'), primary_key=True), 
    1503                                         Column('nl_compositecurve__generator_nl_curve', Integer, ForeignKey('nl_compositecurve.id', use_alter=True, name='fk_nl_compositecurve__generator_nl_curve')), 
    1504 Column('nl_curvesegment_curve_id', Integer, ForeignKey('nl_curvesegment.id', use_alter=True, name='fk_nl_curvesegment_curve')), 
    1505 Column('orientation', Sign.db_type() , nullable=False), 
    1506         extend_existing=False,) 
    1507          
    1508  
    1509  
    1510  
    1511  
    1512  
    1513  
    1514         mo_responsiblepartyinfo_table = Table('mo_responsiblepartyinfo', metadata, 
    1515         Column('id', Integer, Sequence('mo_responsiblepartyinfo_id_seq'), primary_key=True), 
    1516                                         Column('ceda_review_reviewer_id', Integer, ForeignKey('ceda_review.id', use_alter=True, name='fk_ceda_review_reviewer')), 
    1517 Column('ceda_notes_commentator_id', Integer, ForeignKey('ceda_notes.id', use_alter=True, name='fk_ceda_notes_commentator')), 
    1518 Column('ceda_observationcollection_cedaofficer_id', Integer, ForeignKey('ceda_observationcollection.id', use_alter=True, name='fk_ceda_observationcollection_cedaofficer')), 
    1519 Column('role', String , nullable=False), 
    1520         extend_existing=False,) 
    1521          
    1522  
    1523  
    1524  
    1525  
    1526  
    1527  
    1528         if_classificationattributetype_table = Table('if_classificationattributetype', metadata, 
    1529         Column('id', Integer, Sequence('if_classificationattributetype_id_seq'), primary_key=True), 
    1530                                         Column('gf_attributetype__characterizeby_if_classificationattributetype', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterizeby_if_classificationattributetype')), 
    1531 Column('md_metadata__featureattribute_if_classificationattributetype', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__featureattribute_if_classificationattributetype')), 
    1532 Column('gf_attributetype__characterize_if_classificationattributetype_id', Integer, ForeignKey('gf_attributetype.id', use_alter=True, name='fk_gf_attributetype__characterize_if_classificationattributetype')), 
    1533 Column('gf_operation__affectsvaluesof_if_classificationattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__affectsvaluesof_if_classificationattributetype')), 
    1534 Column('gf_operation__observesvaluesof_if_classificationattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__observesvaluesof_if_classificationattributetype')), 
    1535 Column('gf_operation__triggeredbyvaluesof_if_classificationattributetype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__triggeredbyvaluesof_if_classificationattributetype')), 
    1536         extend_existing=False,) 
    1537          
    1538  
    1539  
    1540  
    1541  
    1542  
    1543  
    1544         cs_linearcs_table = Table('cs_linearcs', metadata, 
    1545         Column('id', Integer, Sequence('cs_linearcs_id_seq'), primary_key=True), 
    1546                                         Column('cs_coordinatesystemaxis__coordinatesystem_cs_linearcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_linearcs')), 
    1547 Column('cs_engineeringcs_linearcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_linearcs')), 
    1548 Column('sc_singlecrs__coordinatesystem_cs_linearcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_linearcs')), 
    1549         extend_existing=False,) 
    1550          
    1551  
    1552  
    1553  
    1554  
    1555  
    1556  
    1557         mo_platform_table = Table('mo_platform', metadata, 
    1558         Column('id', Integer, Sequence('mo_platform_id_seq'), primary_key=True), 
    1559                                         Column('ceda_platform_mo_platform_id', Integer, ForeignKey('ceda_platform.id', use_alter=True, name='fk_ceda_platform_mo_platform')), 
    1560 Column('mo_instrumentplatformpair_platform_id', Integer, ForeignKey('mo_instrumentplatformpair.id', use_alter=True, name='fk_mo_instrumentplatformpair_platform')), 
     3551Column('ex_temporalextent__extent_tm_topologicalprimitive_id', Integer, ForeignKey('ex_temporalextent.id', use_alter=True, name='fk_ex_temporalextent__extent_tm_topologicalprimitive')), 
     3552        extend_existing=False,) 
     3553         
     3554 
     3555 
     3556 
     3557 
     3558 
     3559        cs_imagecs_table = Table('cs_imagecs', metadata, 
     3560        Column('id', Integer, Sequence('cs_imagecs_id_seq'), primary_key=True), 
     3561Column('sc_imagecrs_coordinatesystem_id', Integer, ForeignKey('sc_imagecrs.id', use_alter=True, name='fk_sc_imagecrs_coordinatesystem')), 
     3562        extend_existing=False,) 
     3563         
     3564 
     3565 
     3566 
     3567 
     3568 
     3569        li_source_table = Table('li_source', metadata, 
     3570        Column('id', Integer, Sequence('li_source_id_seq'), primary_key=True), 
     3571Column('le_source__li_source_id', Integer, ForeignKey('le_source.id', use_alter=True, name='fk_le_source__li_source')), 
    15613572Column('description', Text , nullable=True), 
    1562 Column('type', String , nullable=True), 
    1563         extend_existing=False,) 
    1564          
    1565  
    1566  
    1567  
    1568  
    1569  
    1570  
    1571         sc_engineeringcrs_table = Table('sc_engineeringcrs', metadata, 
    1572         Column('id', Integer, Sequence('sc_engineeringcrs_id_seq'), primary_key=True), 
    1573                                         Column('cs_coordinatesystem__referencesystem_sc_engineeringcrs', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem__referencesystem_sc_engineeringcrs')), 
    1574 Column('cd_datum__referencesystem_sc_engineeringcrs', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum__referencesystem_sc_engineeringcrs')), 
    1575 Column('cd_engineeringdatum_referencesystem', Integer, ForeignKey('cd_engineeringdatum.id', use_alter=True, name='fk_cd_engineeringdatum_referencesystem')), 
    1576 Column('cs_engineeringcs_referencesystem', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_referencesystem')), 
    1577 Column('sc_derivedcrs__basecrs_sc_engineeringcrs_id', Integer, ForeignKey('sc_derivedcrs.id', use_alter=True, name='fk_sc_derivedcrs__basecrs_sc_engineeringcrs')), 
    1578 Column('sc_compoundcrs__componentreferencesystem_sc_engineeringcrs', Integer, ForeignKey('sc_compoundcrs.id', use_alter=True, name='fk_sc_compoundcrs__componentreferencesystem_sc_engineeringcrs')), 
    1579         extend_existing=False,) 
    1580          
    1581  
    1582  
    1583  
    1584  
    1585  
    1586  
    1587         cv_referenceablegrid_table = Table('cv_referenceablegrid', metadata, 
    1588         Column('id', Integer, Sequence('cv_referenceablegrid_id_seq'), primary_key=True), 
    1589                                         Column('cv_gridcell__framework_cv_referenceablegrid_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell__framework_cv_referenceablegrid')), 
    1590 Column('cv_gridpoint__framework_cv_referenceablegrid_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__framework_cv_referenceablegrid')), 
    1591 Column('sc_crs_grid', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_grid')), 
    1592         extend_existing=False,) 
    1593          
    1594  
    1595  
    1596  
    1597  
    1598  
    1599  
    1600         gm_compositesolid_table = Table('gm_compositesolid', metadata, 
    1601         Column('id', Integer, Sequence('gm_compositesolid_id_seq'), primary_key=True), 
    1602                                                 extend_existing=False,) 
    1603          
    1604  
    1605  
    1606  
    1607  
    1608  
    1609  
    1610         tm_position_table = Table('tm_position', metadata, 
    1611         Column('id', Integer, Sequence('tm_position_id_seq'), primary_key=True), 
    1612                                         Column('tm_instant_position_id', Integer, ForeignKey('tm_instant.id', use_alter=True, name='fk_tm_instant_position')), 
    1613         extend_existing=False,) 
    1614          
    1615  
    1616  
    1617  
    1618  
    1619  
    1620  
    1621         nt_network_table = Table('nt_network', metadata, 
    1622         Column('id', Integer, Sequence('nt_network_id_seq'), primary_key=True), 
    1623                                         Column('nt_combinednetwork_nt_network_id', Integer, ForeignKey('nt_combinednetwork.id', use_alter=True, name='fk_nt_combinednetwork_nt_network')), 
    1624 Column('tp_complex__maximalcomplex_nt_network_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__maximalcomplex_nt_network')), 
    1625 Column('tp_primitive__maximalcomplex_nt_network_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__maximalcomplex_nt_network')), 
    1626 Column('gm_complex__topology_nt_network_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex__topology_nt_network')), 
    1627 Column('nt_route_nt_network_id', Integer, ForeignKey('nt_route.id', use_alter=True, name='fk_nt_route_nt_network')), 
    1628         extend_existing=False,) 
    1629          
    1630  
    1631  
    1632  
    1633  
    1634  
    1635  
    1636         cc_operationparameter_table = Table('cc_operationparameter', metadata, 
    1637         Column('id', Integer, Sequence('cc_operationparameter_id_seq'), primary_key=True), 
    1638                                         Column('cc_operationparametervalue_parameter_id', Integer, ForeignKey('cc_operationparametervalue.id', use_alter=True, name='fk_cc_operationparametervalue_parameter')), 
    1639 Column('cc_operationparametergroup__parameter_cc_operationparameter', Integer, ForeignKey('cc_operationparametergroup.id', use_alter=True, name='fk_cc_operationparametergroup__parameter_cc_operationparameter')), 
    1640 Column('cc_generalparametervalue__parameter_cc_operationparameter_id', Integer, ForeignKey('cc_generalparametervalue.id', use_alter=True, name='fk_cc_generalparametervalue__parameter_cc_operationparameter')), 
    1641         extend_existing=False,) 
    1642          
    1643  
    1644  
    1645  
    1646  
    1647  
    1648  
    1649         sc_compoundcrs_table = Table('sc_compoundcrs', metadata, 
    1650         Column('id', Integer, Sequence('sc_compoundcrs_id_seq'), primary_key=True), 
    1651                                         Column('ex_verticalextent__verticalcrs_sc_compoundcrs_id', Integer, ForeignKey('ex_verticalextent.id', use_alter=True, name='fk_ex_verticalextent__verticalcrs_sc_compoundcrs')), 
    1652 Column('cc_coordinateoperation__targetcrs_sc_compoundcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__targetcrs_sc_compoundcrs')), 
    1653 Column('gm_object__crs_sc_compoundcrs_id', Integer, ForeignKey('gm_object.id', use_alter=True, name='fk_gm_object__crs_sc_compoundcrs')), 
    1654 Column('cv_referenceablegrid__crs_sc_compoundcrs', Integer, ForeignKey('cv_referenceablegrid.id', use_alter=True, name='fk_cv_referenceablegrid__crs_sc_compoundcrs')), 
    1655 Column('cv_coverage__crs_sc_compoundcrs_id', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage__crs_sc_compoundcrs')), 
    1656 Column('directposition__crs_sc_compoundcrs_id', Integer, ForeignKey('directposition.id', use_alter=True, name='fk_directposition__crs_sc_compoundcrs')), 
    1657 Column('cc_coordinateoperation__sourcecrs_sc_compoundcrs_id', Integer, ForeignKey('cc_coordinateoperation.id', use_alter=True, name='fk_cc_coordinateoperation__sourcecrs_sc_compoundcrs')), 
    1658 Column('si_gazetteer__coordinate_system_sc_compoundcrs_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer__coordinate_system_sc_compoundcrs')), 
    1659 Column('sc_singlecrs_compoundcrs', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs_compoundcrs')), 
    1660         extend_existing=False,) 
    1661          
    1662  
    1663  
    1664  
    1665  
    1666  
    1667  
    1668         tm_edge_table = Table('tm_edge', metadata, 
    1669         Column('id', Integer, Sequence('tm_edge_id_seq'), primary_key=True), 
    1670                                         Column('tm_node_previousedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_previousedge')), 
    1671 Column('tm_node_nextedge', Integer, ForeignKey('tm_node.id', use_alter=True, name='fk_tm_node_nextedge')), 
    1672 Column('tm_period_topology_id', Integer, ForeignKey('tm_period.id', use_alter=True, name='fk_tm_period_topology')), 
    1673 Column('tm_topologicalcomplex__primitive_tm_edge', Integer, ForeignKey('tm_topologicalcomplex.id', use_alter=True, name='fk_tm_topologicalcomplex__primitive_tm_edge')), 
    1674         extend_existing=False,) 
    1675          
    1676  
    1677  
    1678  
    1679  
    1680  
    1681  
    1682         nl_orientablesurface_table = Table('nl_orientablesurface', metadata, 
    1683         Column('id', Integer, Sequence('nl_orientablesurface_id_seq'), primary_key=True), 
    1684                                         Column('nl_surface_nl_orientablesurface_id', Integer, ForeignKey('nl_surface.id', use_alter=True, name='fk_nl_surface_nl_orientablesurface')), 
    1685 Column('nl_map__element_nl_orientablesurface', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__element_nl_orientablesurface')), 
    1686 Column('nl_compsitesurface_nl_orientablesurface_id', Integer, ForeignKey('nl_compsitesurface.id', use_alter=True, name='fk_nl_compsitesurface_nl_orientablesurface')), 
    1687 Column('orientation', Sign.db_type() , nullable=False), 
    1688         extend_existing=False,) 
    1689          
    1690  
    1691  
    1692  
    1693  
    1694  
    1695  
    1696         dq_quantitativeresult_table = Table('dq_quantitativeresult', metadata, 
    1697         Column('id', Integer, Sequence('dq_quantitativeresult_id_seq'), primary_key=True), 
    1698                                         Column('dq_element__result_dq_quantitativeresult', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element__result_dq_quantitativeresult')), 
    1699 Column('errorStatistic', Text , nullable=True), 
    1700         extend_existing=False,) 
    1701          
    1702  
    1703  
    1704  
    1705  
    1706  
    1707  
    1708         gm_pointarray_table = Table('gm_pointarray', metadata, 
    1709         Column('id', Integer, Sequence('gm_pointarray_id_seq'), primary_key=True), 
    1710                                         Column('gm_linestring_controlpoint_id', Integer, ForeignKey('gm_linestring.id', use_alter=True, name='fk_gm_linestring_controlpoint')), 
    1711 Column('arcbycenterpoint_controlpoint_id', Integer, ForeignKey('arcbycenterpoint.id', use_alter=True, name='fk_arcbycenterpoint_controlpoint')), 
    1712 Column('gm_splinecurve_controlpoints_id', Integer, ForeignKey('gm_splinecurve.id', use_alter=True, name='fk_gm_splinecurve_controlpoints')), 
    1713 Column('gm_geodesicstring_controlpoint_id', Integer, ForeignKey('gm_geodesicstring.id', use_alter=True, name='fk_gm_geodesicstring_controlpoint')), 
    1714 Column('gm_arcstring_controlpoints_id', Integer, ForeignKey('gm_arcstring.id', use_alter=True, name='fk_gm_arcstring_controlpoints')), 
    1715         extend_existing=False,) 
    1716          
    1717  
    1718  
    1719  
    1720  
    1721  
    1722  
    1723         mo_compositeprocess_table = Table('mo_compositeprocess', metadata, 
    1724         Column('id', Integer, Sequence('mo_compositeprocess_id_seq'), primary_key=True), 
    1725                                         Column('ceda_compositeprocess_mo_compositeprocess_id', Integer, ForeignKey('ceda_compositeprocess.id', use_alter=True, name='fk_ceda_compositeprocess_mo_compositeprocess')), 
     3573        extend_existing=False,) 
     3574         
     3575 
     3576 
     3577 
     3578 
     3579 
     3580        mo_processing_table = Table('mo_processing', metadata, 
     3581        Column('id', Integer, Sequence('mo_processing_id_seq'), primary_key=True), 
     3582Column('ceda_processing__mo_processing_id', Integer, ForeignKey('ceda_processing.id', use_alter=True, name='fk_ceda_processing__mo_processing')), 
    17263583Column('description', Text , nullable=True), 
    17273584        extend_existing=False,) 
     
    17323589 
    17333590 
    1734  
    1735         mo_inputoutput_table = Table('mo_inputoutput', metadata, 
    1736         Column('id', Integer, Sequence('mo_inputoutput_id_seq'), primary_key=True), 
    1737                                         Column('mo_processing_processingoutput_id', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_processingoutput')), 
    1738 Column('mo_processing_processinginput', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_processinginput')), 
    1739 Column('mo_acquisition_outputdescription_id', Integer, ForeignKey('mo_acquisition.id', use_alter=True, name='fk_mo_acquisition_outputdescription')), 
    1740 Column('name', Text , nullable=True), 
    1741         extend_existing=False,) 
    1742          
    1743  
    1744  
    1745  
    1746  
    1747  
    1748  
    1749         cv_attributevalues_table = Table('cv_attributevalues', metadata, 
    1750         Column('id', Integer, Sequence('cv_attributevalues_id_seq'), primary_key=True), 
    1751                                         Column('cv_coverage_rangeelement', Integer, ForeignKey('cv_coverage.id', use_alter=True, name='fk_cv_coverage_rangeelement')), 
    1752         extend_existing=False,) 
    1753          
    1754  
    1755  
    1756  
    1757  
    1758  
    1759  
    1760         cd_imagedatum_table = Table('cd_imagedatum', metadata, 
    1761         Column('id', Integer, Sequence('cd_imagedatum_id_seq'), primary_key=True), 
    1762                                         Column('sc_singlecrs__datum_cd_imagedatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_imagedatum')), 
    1763 Column('sc_imagecrs_datum_id', Integer, ForeignKey('sc_imagecrs.id', use_alter=True, name='fk_sc_imagecrs_datum')), 
    1764 Column('pixelinCell', String , nullable=False), 
    1765         extend_existing=False,) 
    1766          
    1767  
    1768  
    1769  
    1770  
    1771  
    1772  
    1773         cs_coordinatesystem_table = Table('cs_coordinatesystem', metadata, 
    1774         Column('id', Integer, Sequence('cs_coordinatesystem_id_seq'), primary_key=True), 
    1775                                         Column('cs_verticalcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_verticalcs.id', use_alter=True, name='fk_cs_verticalcs_cs_coordinatesystem')), 
    1776 Column('cs_linearcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_linearcs.id', use_alter=True, name='fk_cs_linearcs_cs_coordinatesystem')), 
    1777 Column('cs_cylindricalcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_cylindricalcs.id', use_alter=True, name='fk_cs_cylindricalcs_cs_coordinatesystem')), 
    1778 Column('cs_cartesiancs_cs_coordinatesystem_id', Integer, ForeignKey('cs_cartesiancs.id', use_alter=True, name='fk_cs_cartesiancs_cs_coordinatesystem')), 
    1779 Column('cs_affinecs_cs_coordinatesystem_id', Integer, ForeignKey('cs_affinecs.id', use_alter=True, name='fk_cs_affinecs_cs_coordinatesystem')), 
    1780 Column('cs_polarcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_polarcs.id', use_alter=True, name='fk_cs_polarcs_cs_coordinatesystem')), 
    1781 Column('cs_sphericalcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_sphericalcs.id', use_alter=True, name='fk_cs_sphericalcs_cs_coordinatesystem')), 
    1782 Column('cs_userdefinedcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_userdefinedcs.id', use_alter=True, name='fk_cs_userdefinedcs_cs_coordinatesystem')), 
    1783 Column('cs_ellipsoidalcs_cs_coordinatesystem_id', Integer, ForeignKey('cs_ellipsoidalcs.id', use_alter=True, name='fk_cs_ellipsoidalcs_cs_coordinatesystem')), 
    1784 Column('timecs_cs_coordinatesystem_id', Integer, ForeignKey('timecs.id', use_alter=True, name='fk_timecs_cs_coordinatesystem')), 
    1785         extend_existing=False,) 
    1786          
    1787  
    1788  
    1789  
    1790  
    1791  
    1792  
    1793         gm_curve_table = Table('gm_curve', metadata, 
    1794         Column('id', Integer, Sequence('gm_curve_id_seq'), primary_key=True), 
    1795                                         Column('cv_valuecurve_geometry_id', Integer, ForeignKey('cv_valuecurve.id', use_alter=True, name='fk_cv_valuecurve_geometry')), 
    1796 Column('gm_compositecurve__generator_gm_curve', Integer, ForeignKey('gm_compositecurve.id', use_alter=True, name='fk_gm_compositecurve__generator_gm_curve')), 
    1797 Column('cv_curvevaluepair_geometry_id', Integer, ForeignKey('cv_curvevaluepair.id', use_alter=True, name='fk_cv_curvevaluepair_geometry')), 
    1798 Column('gm_curvesegment_curve_id', Integer, ForeignKey('gm_curvesegment.id', use_alter=True, name='fk_gm_curvesegment_curve')), 
    1799         extend_existing=False,) 
    1800          
    1801  
    1802  
    1803  
    1804  
    1805  
    1806  
    1807         ceda_compositeprocess_table = Table('ceda_compositeprocess', metadata, 
    1808         Column('id', Integer, Sequence('ceda_compositeprocess_id_seq'), primary_key=True), 
    1809                                         Column('om_observation__procedure_ceda_compositeprocess_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__procedure_ceda_compositeprocess')), 
    1810         extend_existing=False,) 
    1811          
    1812  
    1813  
    1814  
    1815  
    1816  
    1817  
    1818         ceda_review_table = Table('ceda_review', metadata, 
    1819         Column('id', Integer, Sequence('ceda_review_id_seq'), primary_key=True), 
    1820                                         Column('ceda_platform_metadatamanagement', Integer, ForeignKey('ceda_platform.id', use_alter=True, name='fk_ceda_platform_metadatamanagement')), 
    1821 Column('ceda_operation_metadatamanagement', Integer, ForeignKey('ceda_operation.id', use_alter=True, name='fk_ceda_operation_metadatamanagement')), 
    1822 Column('ceda_processing_metadatamanagement', Integer, ForeignKey('ceda_processing.id', use_alter=True, name='fk_ceda_processing_metadatamanagement')), 
    1823 Column('ceda_acquisition_metadatamanagement', Integer, ForeignKey('ceda_acquisition.id', use_alter=True, name='fk_ceda_acquisition_metadatamanagement')), 
    1824 Column('ceda_compositeprocess_metadatamanagement', Integer, ForeignKey('ceda_compositeprocess.id', use_alter=True, name='fk_ceda_compositeprocess_metadatamanagement')), 
    1825 Column('ceda_observation_metadatamanagement', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_metadatamanagement')), 
    1826 Column('ceda_observationcollection_metadatamanagement', Integer, ForeignKey('ceda_observationcollection.id', use_alter=True, name='fk_ceda_observationcollection_metadatamanagement')), 
    1827 Column('ceda_instrument_metadatamanagement', Integer, ForeignKey('ceda_instrument.id', use_alter=True, name='fk_ceda_instrument_metadatamanagement')), 
    1828 Column('ceda_project_metadatamanagement', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project_metadatamanagement')), 
    1829 Column('reviewFrequency', String , nullable=False), 
    1830 Column('reviewStatus', String , nullable=False), 
    1831         extend_existing=False,) 
    1832          
    1833  
    1834  
    1835  
    1836  
    1837  
    1838  
    1839         cc_operationparametervalue_table = Table('cc_operationparametervalue', metadata, 
    1840         Column('id', Integer, Sequence('cc_operationparametervalue_id_seq'), primary_key=True), 
    1841                                         Column('cc_operationparameter_value', Integer, ForeignKey('cc_operationparameter.id', use_alter=True, name='fk_cc_operationparameter_value')), 
    1842 Column('cc_generaloperationparameter__value_cc_operationparametervalue', Integer, ForeignKey('cc_generaloperationparameter.id', use_alter=True, name='fk_cc_generaloperationparameter__value_cc_operationparametervalue')), 
    1843 Column('cc_parametervaluegroup__parametervalue_cc_operationparametervalue', Integer, ForeignKey('cc_parametervaluegroup.id', use_alter=True, name='fk_cc_parametervaluegroup__parametervalue_cc_operationparametervalue')), 
    1844 Column('cc_singleoperation__parametervalue_cc_operationparametervalue', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation__parametervalue_cc_operationparametervalue')), 
    1845         extend_existing=False,) 
    1846          
    1847  
    1848  
    1849  
    1850  
    1851  
    1852  
    1853         si_locationtype_table = Table('si_locationtype', metadata, 
    1854         Column('id', Integer, Sequence('si_locationtype_id_seq'), primary_key=True), 
    1855                                         Column('si_locationinstance_locationtype_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_locationtype')), 
    1856 Column('theme', Text , nullable=False), 
    1857 Column('definition', Text , nullable=False), 
    1858 Column('identifier', Text , nullable=False), 
    1859         extend_existing=False,) 
    1860          
    1861  
    1862  
    1863  
    1864  
    1865  
    1866  
    1867         tm_coordinatesystem_table = Table('tm_coordinatesystem', metadata, 
    1868         Column('id', Integer, Sequence('tm_coordinatesystem_id_seq'), primary_key=True), 
    1869                                         Column('tm_temporalposition__frame_tm_coordinatesystem_id', Integer, ForeignKey('tm_temporalposition.id', use_alter=True, name='fk_tm_temporalposition__frame_tm_coordinatesystem')), 
    1870 Column('interval', Text , nullable=False), 
    1871         extend_existing=False,) 
    1872          
    1873  
    1874  
    1875  
    1876  
    1877  
    1878  
    1879         cv_thiessenvaluepolygon_table = Table('cv_thiessenvaluepolygon', metadata, 
    1880         Column('id', Integer, Sequence('cv_thiessenvaluepolygon_id_seq'), primary_key=True), 
    1881                                                 extend_existing=False,) 
    1882          
    1883  
    1884  
    1885  
    1886  
    1887  
    1888  
    1889         simplex_table = Table('simplex', metadata, 
    1890         Column('id', Integer, Sequence('simplex_id_seq'), primary_key=True), 
    1891                                         Column('tp_primitive__container_simplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_simplex')), 
    1892 Column('tp_primitive__geometry_simplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__geometry_simplex')), 
    1893 Column('gm_orientableprimitive__primitive_simplex_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive__primitive_simplex')), 
    1894 Column('tp_directedtopo__topo_simplex_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_simplex')), 
    1895 Column('dimension', Integer , nullable=False), 
    1896         extend_existing=False,) 
    1897          
    1898  
    1899  
    1900  
    1901  
    1902  
    1903  
    1904         eg_pointestimate_table = Table('eg_pointestimate', metadata, 
    1905         Column('id', Integer, Sequence('eg_pointestimate_id_seq'), primary_key=True), 
    1906                                         Column('si_locationinstance__position_eg_pointestimate_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance__position_eg_pointestimate')), 
    1907 Column('simplex__vertices_eg_pointestimate_id', Integer, ForeignKey('simplex.id', use_alter=True, name='fk_simplex__vertices_eg_pointestimate')), 
    1908 Column('cv_gridpoint__groundpoint_eg_pointestimate', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__groundpoint_eg_pointestimate')), 
    1909 Column('lr_referencemarker__position_eg_pointestimate_id', Integer, ForeignKey('lr_referencemarker.id', use_alter=True, name='fk_lr_referencemarker__position_eg_pointestimate')), 
    1910 Column('cv_pointvaluepair__geometry_eg_pointestimate_id', Integer, ForeignKey('cv_pointvaluepair.id', use_alter=True, name='fk_cv_pointvaluepair__geometry_eg_pointestimate')), 
    1911 Column('gm_pointref__point_eg_pointestimate_id', Integer, ForeignKey('gm_pointref.id', use_alter=True, name='fk_gm_pointref__point_eg_pointestimate')), 
    1912 Column('gm_compositepoint__generator_eg_pointestimate_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint__generator_eg_pointestimate')), 
    1913         extend_existing=False,) 
    1914          
    1915  
    1916  
    1917  
    1918  
    1919  
    1920  
    1921         cs_geodeticcs_table = Table('cs_geodeticcs', metadata, 
    1922         Column('id', Integer, Sequence('cs_geodeticcs_id_seq'), primary_key=True), 
    1923                                         Column('sc_geodeticcrs_coordinatesystem_id', Integer, ForeignKey('sc_geodeticcrs.id', use_alter=True, name='fk_sc_geodeticcrs_coordinatesystem')), 
    1924         extend_existing=False,) 
    1925          
    1926  
    1927  
    1928  
    1929  
    1930  
    1931  
    1932         le_nominalresolution_table = Table('le_nominalresolution', metadata, 
    1933         Column('id', Integer, Sequence('le_nominalresolution_id_seq'), primary_key=True), 
    1934                                         Column('le_source_resolution_id', Integer, ForeignKey('le_source.id', use_alter=True, name='fk_le_source_resolution')), 
    1935         extend_existing=False,) 
    1936          
    1937  
    1938  
    1939  
    1940  
    1941  
    1942  
    1943         cc_coordinateoperation_table = Table('cc_coordinateoperation', metadata, 
    1944         Column('id', Integer, Sequence('cc_coordinateoperation_id_seq'), primary_key=True), 
    1945                                         Column('cc_concatenatedoperation_cc_coordinateoperation_id', Integer, ForeignKey('cc_concatenatedoperation.id', use_alter=True, name='fk_cc_concatenatedoperation_cc_coordinateoperation')), 
    1946 Column('cc_singleoperation_cc_coordinateoperation_id', Integer, ForeignKey('cc_singleoperation.id', use_alter=True, name='fk_cc_singleoperation_cc_coordinateoperation')), 
    1947 Column('cc_passthroughoperation_cc_coordinateoperation_id', Integer, ForeignKey('cc_passthroughoperation.id', use_alter=True, name='fk_cc_passthroughoperation_cc_coordinateoperation')), 
    1948 Column('scope', ARRAY(Text) , nullable=False), 
    1949 Column('operationVersion', Text , nullable=True), 
    1950         extend_existing=False,) 
    1951          
    1952  
    1953  
    1954  
    1955  
    1956  
    1957  
    1958         topocurve_table = Table('topocurve', metadata, 
    1959         Column('id', Integer, Sequence('topocurve_id_seq'), primary_key=True), 
    1960                                         Column('tp_expressionterm__expression_topocurve_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_topocurve')), 
    1961         extend_existing=False,) 
    1962          
    1963  
    1964  
    1965  
    1966  
    1967  
    1968  
    1969         cv_gridpointvaluepair_table = Table('cv_gridpointvaluepair', metadata, 
    1970         Column('id', Integer, Sequence('cv_gridpointvaluepair_id_seq'), primary_key=True), 
    1971                                                 extend_existing=False,) 
    1972          
    1973  
    1974  
    1975  
    1976  
    1977  
    1978  
    1979         dq_positionalaccuracy_table = Table('dq_positionalaccuracy', metadata, 
    1980         Column('id', Integer, Sequence('dq_positionalaccuracy_id_seq'), primary_key=True), 
    1981                                         Column('dq_absoluteexternalpositionalaccuracy_dq_positionalaccuracy_id', Integer, ForeignKey('dq_absoluteexternalpositionalaccuracy.id', use_alter=True, name='fk_dq_absoluteexternalpositionalaccuracy_dq_positionalaccuracy')), 
    1982 Column('dq_relativeinternalpositionalaccuracy_dq_positionalaccuracy_id', Integer, ForeignKey('dq_relativeinternalpositionalaccuracy.id', use_alter=True, name='fk_dq_relativeinternalpositionalaccuracy_dq_positionalaccuracy')), 
    1983 Column('dq_griddeddatapositionalaccuracy_dq_positionalaccuracy_id', Integer, ForeignKey('dq_griddeddatapositionalaccuracy.id', use_alter=True, name='fk_dq_griddeddatapositionalaccuracy_dq_positionalaccuracy')), 
    1984 Column('om_observation__resultquality_dq_positionalaccuracy', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_positionalaccuracy')), 
    1985 Column('dq_dataquality__report_dq_positionalaccuracy', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_positionalaccuracy')), 
    1986         extend_existing=False,) 
    1987          
    1988  
    1989  
    1990  
    1991  
    1992  
    1993  
    1994         le_algorithm_table = Table('le_algorithm', metadata, 
    1995         Column('id', Integer, Sequence('le_algorithm_id_seq'), primary_key=True), 
    1996                                         Column('mo_processing_algorithm', Integer, ForeignKey('mo_processing.id', use_alter=True, name='fk_mo_processing_algorithm')), 
     3591        cc_singleoperation_table = Table('cc_singleoperation', metadata, 
     3592        Column('id', Integer, Sequence('cc_singleoperation_id_seq'), primary_key=True), 
     3593Column('cc_passthroughoperation__coordoperation_cc_singleoperation_id', Integer, ForeignKey('cc_passthroughoperation.id', use_alter=True, name='fk_cc_passthroughoperation__coordoperation_cc_singleoperation')), 
     3594Column('cc_concatenatedoperation__coordoperation_cc_singleoperation', Integer, ForeignKey('cc_concatenatedoperation.id', use_alter=True, name='fk_cc_concatenatedoperation__coordoperation_cc_singleoperation')), 
     3595Column('sc_crs__coordoperationto_cc_singleoperation', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs__coordoperationto_cc_singleoperation')), 
     3596Column('cc_conversion__cc_singleoperation_id', Integer, ForeignKey('cc_conversion.id', use_alter=True, name='fk_cc_conversion__cc_singleoperation')), 
     3597Column('cc_transformation__cc_singleoperation_id', Integer, ForeignKey('cc_transformation.id', use_alter=True, name='fk_cc_transformation__cc_singleoperation')), 
     3598Column('sc_crs__coordoperationfrom_cc_singleoperation', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs__coordoperationfrom_cc_singleoperation')), 
     3599        extend_existing=False,) 
     3600         
     3601 
     3602 
     3603 
     3604 
     3605 
     3606        gm_parametriccurvesurface_table = Table('gm_parametriccurvesurface', metadata, 
     3607        Column('id', Integer, Sequence('gm_parametriccurvesurface_id_seq'), primary_key=True), 
     3608Column('gm_surface__patch_gm_parametriccurvesurface', Integer, ForeignKey('gm_surface.id', use_alter=True, name='fk_gm_surface__patch_gm_parametriccurvesurface')), 
     3609Column('verticalCurveType', String , nullable=False), 
     3610Column('horizontalCurveType', String , nullable=False), 
     3611        extend_existing=False,) 
     3612         
     3613 
     3614 
     3615 
     3616 
     3617 
     3618        ex_verticalextent_table = Table('ex_verticalextent', metadata, 
     3619        Column('id', Integer, Sequence('ex_verticalextent_id_seq'), primary_key=True), 
     3620Column('mo_observationcollection_verticalextent', Integer, ForeignKey('mo_observationcollection.id', use_alter=True, name='fk_mo_observationcollection_verticalextent')), 
     3621Column('ex_extent_verticalelement', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent_verticalelement')), 
     3622Column('mo_observation_verticalextent', Integer, ForeignKey('mo_observation.id', use_alter=True, name='fk_mo_observation_verticalextent')), 
     3623Column('minimumValue', REAL , nullable=False), 
     3624Column('maximumValue', REAL , nullable=False), 
     3625        extend_existing=False,) 
     3626         
     3627 
     3628 
     3629 
     3630 
     3631 
     3632        mo_process_table = Table('mo_process', metadata, 
     3633        Column('id', Integer, Sequence('mo_process_id_seq'), primary_key=True), 
     3634Column('mo_acquisition__mo_process_id', Integer, ForeignKey('mo_acquisition.id', use_alter=True, name='fk_mo_acquisition__mo_process')), 
     3635Column('mo_computation__mo_process_id', Integer, ForeignKey('mo_computation.id', use_alter=True, name='fk_mo_computation__mo_process')), 
     3636Column('ceda_process__mo_process_id', Integer, ForeignKey('ceda_process.id', use_alter=True, name='fk_ceda_process__mo_process')), 
     3637Column('mo_compositeprocess__mo_process_id', Integer, ForeignKey('mo_compositeprocess.id', use_alter=True, name='fk_mo_compositeprocess__mo_process')), 
     3638        extend_existing=False,) 
     3639         
     3640 
     3641 
     3642 
     3643 
     3644 
     3645        ns_costfunction_table = Table('ns_costfunction', metadata, 
     3646        Column('id', Integer, Sequence('ns_costfunction_id_seq'), primary_key=True), 
     3647Column('ns_costedlink_costfunction_id', Integer, ForeignKey('ns_costedlink.id', use_alter=True, name='fk_ns_costedlink_costfunction')), 
     3648Column('ns_costedturn_costfunction_id', Integer, ForeignKey('ns_costedturn.id', use_alter=True, name='fk_ns_costedturn_costfunction')), 
    19973649Column('description', Text , nullable=False), 
    1998         extend_existing=False,) 
    1999          
    2000  
    2001  
    2002  
    2003  
    2004  
    2005  
    2006         cvt_discretetimeinstantcoverage_table = Table('cvt_discretetimeinstantcoverage', metadata, 
    2007         Column('id', Integer, Sequence('cvt_discretetimeinstantcoverage_id_seq'), primary_key=True), 
    2008                                         Column('om_discretecoverageobservation__result_cvt_discretetimeinstantcoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cvt_discretetimeinstantcoverage')), 
    2009         extend_existing=False,) 
    2010          
    2011  
    2012  
    2013  
    2014  
    2015  
    2016  
    2017         md_maintenanceinformation_table = Table('md_maintenanceinformation', metadata, 
    2018         Column('id', Integer, Sequence('md_maintenanceinformation_id_seq'), primary_key=True), 
    2019                                         Column('md_metadata_metadatamaintenance_id', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata_metadatamaintenance')), 
    2020 Column('maintenanceNote', ARRAY(Text) , nullable=True), 
    2021 Column('maintenanceAndUpdateFrequency', String , nullable=False), 
    2022 Column('updateScope', String , nullable=True), 
    2023         extend_existing=False,) 
    2024          
    2025  
    2026  
    2027  
    2028  
    2029  
    2030  
    2031         om_temporalobservation_table = Table('om_temporalobservation', metadata, 
    2032         Column('id', Integer, Sequence('om_temporalobservation_id_seq'), primary_key=True), 
    2033                                         Column('om_observation__relatedobservation_om_temporalobservation', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__relatedobservation_om_temporalobservation')), 
    2034 Column('gfi_feature__propertyvalueprovider_om_temporalobservation', Integer, ForeignKey('gfi_feature.id', use_alter=True, name='fk_gfi_feature__propertyvalueprovider_om_temporalobservation')), 
    2035 Column('om_process__generatedobservation_om_temporalobservation', Integer, ForeignKey('om_process.id', use_alter=True, name='fk_om_process__generatedobservation_om_temporalobservation')), 
    2036 Column('sf_samplingfeature__relatedobservation_om_temporalobservation', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature__relatedobservation_om_temporalobservation')), 
    2037         extend_existing=False,) 
    2038          
    2039  
    2040  
    2041  
    2042  
    2043  
    2044  
    2045         cv_valuecurve_table = Table('cv_valuecurve', metadata, 
    2046         Column('id', Integer, Sequence('cv_valuecurve_id_seq'), primary_key=True), 
    2047                                                 extend_existing=False,) 
    2048          
    2049  
    2050  
    2051  
    2052  
    2053  
    2054  
    2055         gm_affineplacement_table = Table('gm_affineplacement', metadata, 
    2056         Column('id', Integer, Sequence('gm_affineplacement_id_seq'), primary_key=True), 
    2057                                         Column('gm_clothoid_reflocation_id', Integer, ForeignKey('gm_clothoid.id', use_alter=True, name='fk_gm_clothoid_reflocation')), 
    2058 Column('gm_conic_position_id', Integer, ForeignKey('gm_conic.id', use_alter=True, name='fk_gm_conic_position')), 
    2059 Column('refDirection', ARRAY(Text) , nullable=False), 
    2060         extend_existing=False,) 
    2061          
    2062  
    2063  
    2064  
    2065  
    2066  
    2067  
    2068         li_lineage_table = Table('li_lineage', metadata, 
    2069         Column('id', Integer, Sequence('li_lineage_id_seq'), primary_key=True), 
    2070                                         Column('sf_samplingfeature_lineage_id', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature_lineage')), 
    2071 Column('dq_dataquality_lineage_id', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality_lineage')), 
    2072 Column('statement', Text , nullable=True), 
    2073         extend_existing=False,) 
    2074          
    2075  
     3650Column('formula', Text , nullable=True), 
     3651        extend_existing=False,) 
     3652         
     3653 
     3654 
     3655 
     3656 
     3657 
     3658        gm_polygon_table = Table('gm_polygon', metadata, 
     3659        Column('id', Integer, Sequence('gm_polygon_id_seq'), primary_key=True), 
     3660Column('cv_thiessenvaluepolygon_geometry_id', Integer, ForeignKey('cv_thiessenvaluepolygon.id', use_alter=True, name='fk_cv_thiessenvaluepolygon_geometry')), 
     3661Column('cv_valuehexagon_geometry_id', Integer, ForeignKey('cv_valuehexagon.id', use_alter=True, name='fk_cv_valuehexagon_geometry')), 
     3662Column('gm_surface__patch_gm_polygon', Integer, ForeignKey('gm_surface.id', use_alter=True, name='fk_gm_surface__patch_gm_polygon')), 
     3663Column('gm_triangle__gm_polygon_id', Integer, ForeignKey('gm_triangle.id', use_alter=True, name='fk_gm_triangle__gm_polygon')), 
     3664Column('gm_polyhedralsurface_patch', Integer, ForeignKey('gm_polyhedralsurface.id', use_alter=True, name='fk_gm_polyhedralsurface_patch')), 
     3665        extend_existing=False,) 
     3666         
     3667 
     3668 
     3669 
     3670 
     3671 
     3672        topopoint_table = Table('topopoint', metadata, 
     3673        Column('id', Integer, Sequence('topopoint_id_seq'), primary_key=True), 
     3674Column('tp_expressionterm__expression_topopoint_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_topopoint')), 
     3675        extend_existing=False,) 
     3676         
     3677 
     3678 
     3679 
     3680 
     3681 
     3682        simplicialcomplex_table = Table('simplicialcomplex', metadata, 
     3683        Column('id', Integer, Sequence('simplicialcomplex_id_seq'), primary_key=True), 
     3684        extend_existing=False,) 
     3685         
     3686 
     3687 
     3688 
     3689 
     3690 
     3691        gm_compositecurve_table = Table('gm_compositecurve', metadata, 
     3692        Column('id', Integer, Sequence('gm_compositecurve_id_seq'), primary_key=True), 
     3693Column('gm_orientablecurve_composite', Integer, ForeignKey('gm_orientablecurve.id', use_alter=True, name='fk_gm_orientablecurve_composite')), 
     3694Column('nt_route_geometry_id', Integer, ForeignKey('nt_route.id', use_alter=True, name='fk_nt_route_geometry')), 
     3695Column('gm_ring__gm_compositecurve_id', Integer, ForeignKey('gm_ring.id', use_alter=True, name='fk_gm_ring__gm_compositecurve')), 
     3696Column('gm_primitive__composite_gm_compositecurve', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__composite_gm_compositecurve')), 
     3697        extend_existing=False,) 
     3698         
     3699 
     3700 
     3701 
     3702 
     3703 
     3704        dq_conformanceresult_table = Table('dq_conformanceresult', metadata, 
     3705        Column('id', Integer, Sequence('dq_conformanceresult_id_seq'), primary_key=True), 
     3706Column('dq_element__result_dq_conformanceresult', Integer, ForeignKey('dq_element.id', use_alter=True, name='fk_dq_element__result_dq_conformanceresult')), 
     3707Column('pass', BOOLEAN , nullable=False), 
     3708Column('explanation', Text , nullable=False), 
     3709        extend_existing=False,) 
     3710         
     3711 
     3712 
     3713 
     3714 
     3715 
     3716        rs_identifier_table = Table('rs_identifier', metadata, 
     3717        Column('id', Integer, Sequence('rs_identifier_id_seq'), primary_key=True), 
     3718Column('md_referencesystem_referencesystemidentifier_id', Integer, ForeignKey('md_referencesystem.id', use_alter=True, name='fk_md_referencesystem_referencesystemidentifier')), 
     3719Column('io_identifiedobject_name_id', Integer, ForeignKey('io_identifiedobject.id', use_alter=True, name='fk_io_identifiedobject_name')), 
     3720Column('si_gazetteer_name_id', Integer, ForeignKey('si_gazetteer.id', use_alter=True, name='fk_si_gazetteer_name')), 
     3721Column('si_locationtype_name_id', Integer, ForeignKey('si_locationtype.id', use_alter=True, name='fk_si_locationtype_name')), 
     3722Column('tm_referencesystem_name_id', Integer, ForeignKey('tm_referencesystem.id', use_alter=True, name='fk_tm_referencesystem_name')), 
     3723Column('io_identifiedobjectbase_identifier', Integer, ForeignKey('io_identifiedobjectbase.id', use_alter=True, name='fk_io_identifiedobjectbase_identifier')), 
     3724Column('rs_referencesystem_name_id', Integer, ForeignKey('rs_referencesystem.id', use_alter=True, name='fk_rs_referencesystem_name')), 
     3725Column('codeSpace', Text , nullable=True), 
     3726Column('version', Text , nullable=True), 
     3727        extend_existing=False,) 
     3728         
     3729 
     3730 
     3731 
     3732 
     3733 
     3734        cellularcomplex_table = Table('cellularcomplex', metadata, 
     3735        Column('id', Integer, Sequence('cellularcomplex_id_seq'), primary_key=True), 
     3736Column('gm_complex__topology_cellularcomplex_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex__topology_cellularcomplex')), 
     3737Column('tp_primitive__maximalcomplex_cellularcomplex_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__maximalcomplex_cellularcomplex')), 
     3738Column('tp_complex__geometry_cellularcomplex_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__geometry_cellularcomplex')), 
     3739Column('tp_complex__maximalcomplex_cellularcomplex_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__maximalcomplex_cellularcomplex')), 
     3740        extend_existing=False,) 
     3741         
     3742 
     3743 
     3744 
     3745 
     3746 
     3747        gm_arcstring_table = Table('gm_arcstring', metadata, 
     3748        Column('id', Integer, Sequence('gm_arcstring_id_seq'), primary_key=True), 
     3749Column('gm_curve__segment_gm_arcstring', Integer, ForeignKey('gm_curve.id', use_alter=True, name='fk_gm_curve__segment_gm_arcstring')), 
     3750Column('gm_offsetcurve__basecurve_gm_arcstring_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve__basecurve_gm_arcstring')), 
     3751Column('numArc', Integer , nullable=False), 
     3752        extend_existing=False,) 
     3753         
     3754 
     3755 
     3756 
     3757 
     3758 
     3759        tm_calendar_table = Table('tm_calendar', metadata, 
     3760        Column('id', Integer, Sequence('tm_calendar_id_seq'), primary_key=True), 
     3761Column('tm_temporalposition__frame_tm_calendar_id', Integer, ForeignKey('tm_temporalposition.id', use_alter=True, name='fk_tm_temporalposition__frame_tm_calendar')), 
     3762        extend_existing=False,) 
     3763         
     3764 
     3765 
     3766 
     3767 
     3768 
     3769        cv_discretesurfacecoverage_table = Table('cv_discretesurfacecoverage', metadata, 
     3770        Column('id', Integer, Sequence('cv_discretesurfacecoverage_id_seq'), primary_key=True), 
     3771Column('cv_tincoverage_discretetin_id', Integer, ForeignKey('cv_tincoverage.id', use_alter=True, name='fk_cv_tincoverage_discretetin')), 
     3772Column('om_discretecoverageobservation__result_cv_discretesurfacecoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cv_discretesurfacecoverage')), 
     3773Column('cv_thiessenpolygoncoverage_discretethiessen_id', Integer, ForeignKey('cv_thiessenpolygoncoverage.id', use_alter=True, name='fk_cv_thiessenpolygoncoverage_discretethiessen')), 
     3774        extend_existing=False,) 
     3775         
     3776 
     3777 
     3778 
     3779 
     3780 
     3781        nl_surfaceboundary_table = Table('nl_surfaceboundary', metadata, 
     3782        Column('id', Integer, Sequence('nl_surfaceboundary_id_seq'), primary_key=True), 
     3783Column('nl_orientablesurface_boundary', Integer, ForeignKey('nl_orientablesurface.id', use_alter=True, name='fk_nl_orientablesurface_boundary')), 
     3784        extend_existing=False,) 
     3785         
     3786 
     3787 
     3788 
     3789 
     3790 
     3791        temporaldatum_table = Table('temporaldatum', metadata, 
     3792        Column('id', Integer, Sequence('temporaldatum_id_seq'), primary_key=True), 
     3793Column('temporalcrs_datum_id', Integer, ForeignKey('temporalcrs.id', use_alter=True, name='fk_temporalcrs_datum')), 
     3794Column('sc_singlecrs__datum_temporaldatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_temporaldatum')), 
     3795Column('anchorDefinition', Text , nullable=True), 
     3796        extend_existing=False,) 
     3797         
     3798 
     3799 
     3800 
     3801 
     3802 
     3803        record_table = Table('record', metadata, 
     3804        Column('id', Integer, Sequence('record_id_seq'), primary_key=True), 
     3805Column('cv_valueobject_interpolationparameters_id', Integer, ForeignKey('cv_valueobject.id', use_alter=True, name='fk_cv_valueobject_interpolationparameters')), 
     3806Column('recordtype_record', Integer, ForeignKey('recordtype.id', use_alter=True, name='fk_recordtype_record')), 
     3807Column('cv_valuesegment_endvalue_id', Integer, ForeignKey('cv_valuesegment.id', use_alter=True, name='fk_cv_valuesegment_endvalue')), 
     3808Column('cv_attributevalues_values_id', Integer, ForeignKey('cv_attributevalues.id', use_alter=True, name='fk_cv_attributevalues_values')), 
     3809Column('cv_valuesegment_startvalue_id', Integer, ForeignKey('cv_valuesegment.id', use_alter=True, name='fk_cv_valuesegment_startvalue')), 
     3810Column('om_complexobservation_result_id', Integer, ForeignKey('om_complexobservation.id', use_alter=True, name='fk_om_complexobservation_result')), 
     3811Column('cv_geometryvaluepair_value_id', Integer, ForeignKey('cv_geometryvaluepair.id', use_alter=True, name='fk_cv_geometryvaluepair_value')), 
     3812Column('fd_feature_attributes_id', Integer, ForeignKey('fd_feature.id', use_alter=True, name='fk_fd_feature_attributes')), 
     3813Column('dq_quantitativeresult_value', Integer, ForeignKey('dq_quantitativeresult.id', use_alter=True, name='fk_dq_quantitativeresult_value')), 
     3814Column('cv_gridvaluesmatrix_values', Integer, ForeignKey('cv_gridvaluesmatrix.id', use_alter=True, name='fk_cv_gridvaluesmatrix_values')), 
     3815Column('mi_rangeelementdescription_rangeelement', Integer, ForeignKey('mi_rangeelementdescription.id', use_alter=True, name='fk_mi_rangeelementdescription_rangeelement')), 
     3816Column('cv_continuouscoverage_interpolationparameterstype_id', Integer, ForeignKey('cv_continuouscoverage.id', use_alter=True, name='fk_cv_continuouscoverage_interpolationparameterstype')), 
     3817        extend_existing=False,) 
     3818         
     3819 
     3820 
     3821 
     3822 
     3823 
     3824        mi_coveragedescription_table = Table('mi_coveragedescription', metadata, 
     3825        Column('id', Integer, Sequence('mi_coveragedescription_id_seq'), primary_key=True), 
     3826Column('qe_coverageresult__resultcontentdescription_mi_coveragedescription_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultcontentdescription_mi_coveragedescription')), 
     3827        extend_existing=False,) 
     3828         
     3829 
     3830 
     3831 
     3832 
     3833 
     3834        gf_operation_table = Table('gf_operation', metadata, 
     3835        Column('id', Integer, Sequence('gf_operation_id_seq'), primary_key=True), 
     3836Column('om_observation__observedproperty_gf_operation_id', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__observedproperty_gf_operation')), 
     3837Column('gf_featuretype__carrierofcharacteristics_gf_operation', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype__carrierofcharacteristics_gf_operation')), 
     3838Column('md_metadata__propertytype_gf_operation', Integer, ForeignKey('md_metadata.id', use_alter=True, name='fk_md_metadata__propertytype_gf_operation')), 
     3839Column('gf_associationtype_thegf_operation', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_thegf_operation')), 
     3840Column('signature', Text , nullable=False), 
     3841        extend_existing=False,) 
     3842         
     3843 
     3844 
     3845 
     3846 
     3847 
     3848        dq_temporalaccuracy_table = Table('dq_temporalaccuracy', metadata, 
     3849        Column('id', Integer, Sequence('dq_temporalaccuracy_id_seq'), primary_key=True), 
     3850Column('om_observation__resultquality_dq_temporalaccuracy', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_temporalaccuracy')), 
     3851Column('dq_dataquality__report_dq_temporalaccuracy', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_temporalaccuracy')), 
     3852        extend_existing=False,) 
     3853         
     3854 
     3855 
     3856 
     3857 
     3858 
     3859        cd_engineeringdatum_table = Table('cd_engineeringdatum', metadata, 
     3860        Column('id', Integer, Sequence('cd_engineeringdatum_id_seq'), primary_key=True), 
     3861Column('sc_engineeringcrs_datum_id', Integer, ForeignKey('sc_engineeringcrs.id', use_alter=True, name='fk_sc_engineeringcrs_datum')), 
     3862Column('sc_singlecrs__datum_cd_engineeringdatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_engineeringdatum')), 
     3863        extend_existing=False,) 
     3864         
    20763865 
    20773866 
     
    20813870        cv_gridvaluesmatrix_table = Table('cv_gridvaluesmatrix', metadata, 
    20823871        Column('id', Integer, Sequence('cv_gridvaluesmatrix_id_seq'), primary_key=True), 
    2083                                         Column('cv_gridpoint__framework_cv_gridvaluesmatrix_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__framework_cv_gridvaluesmatrix')), 
     3872Column('cv_gridpoint__framework_cv_gridvaluesmatrix_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__framework_cv_gridvaluesmatrix')), 
    20843873Column('cv_gridcell__framework_cv_gridvaluesmatrix_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell__framework_cv_gridvaluesmatrix')), 
    2085 Column('cv_continuousquadrilateralgridcoverage_source_id', Integer, ForeignKey('cv_continuousquadrilateralgridcoverage.id', use_alter=True, name='fk_cv_continuousquadrilateralgridcoverage_source')), 
    20863874Column('cv_hexagonalgridcoverage_source_id', Integer, ForeignKey('cv_hexagonalgridcoverage.id', use_alter=True, name='fk_cv_hexagonalgridcoverage_source')), 
    20873875Column('cv_discretegridpointcoverage_valueassignment_id', Integer, ForeignKey('cv_discretegridpointcoverage.id', use_alter=True, name='fk_cv_discretegridpointcoverage_valueassignment')), 
    2088         extend_existing=False,) 
    2089          
    2090  
    2091  
    2092  
    2093  
    2094  
    2095  
    2096         gfi_feature_table = Table('gfi_feature', metadata, 
    2097         Column('id', Integer, Sequence('gfi_feature_id_seq'), primary_key=True), 
    2098                                         Column('gfi_domainfeature_gfi_feature_id', Integer, ForeignKey('gfi_domainfeature.id', use_alter=True, name='fk_gfi_domainfeature_gfi_feature')), 
    2099 Column('mo_featureofinterest_gfi_feature_id', Integer, ForeignKey('mo_featureofinterest.id', use_alter=True, name='fk_mo_featureofinterest_gfi_feature')), 
    2100 Column('sf_samplingfeature_gfi_feature_id', Integer, ForeignKey('sf_samplingfeature.id', use_alter=True, name='fk_sf_samplingfeature_gfi_feature')), 
    2101         extend_existing=False,) 
    2102          
    2103  
    2104  
    2105  
    2106  
    2107  
    2108  
    2109         gm_parametriccurvesurface_table = Table('gm_parametriccurvesurface', metadata, 
    2110         Column('id', Integer, Sequence('gm_parametriccurvesurface_id_seq'), primary_key=True), 
    2111                                         Column('gm_surface__patch_gm_parametriccurvesurface', Integer, ForeignKey('gm_surface.id', use_alter=True, name='fk_gm_surface__patch_gm_parametriccurvesurface')), 
    2112 Column('verticalCurveType', String , nullable=False), 
    2113 Column('horizontalCurveType', String , nullable=False), 
    2114         extend_existing=False,) 
    2115          
    2116  
    2117  
    2118  
    2119  
    2120  
    2121  
    2122         gm_curvesegment_table = Table('gm_curvesegment', metadata, 
    2123         Column('id', Integer, Sequence('gm_curvesegment_id_seq'), primary_key=True), 
    2124                                         Column('arcbycenterpoint_gm_curvesegment_id', Integer, ForeignKey('arcbycenterpoint.id', use_alter=True, name='fk_arcbycenterpoint_gm_curvesegment')), 
    2125 Column('gm_splinecurve_gm_curvesegment_id', Integer, ForeignKey('gm_splinecurve.id', use_alter=True, name='fk_gm_splinecurve_gm_curvesegment')), 
    2126 Column('gm_geodesicstring_gm_curvesegment_id', Integer, ForeignKey('gm_geodesicstring.id', use_alter=True, name='fk_gm_geodesicstring_gm_curvesegment')), 
    2127 Column('gm_clothoid_gm_curvesegment_id', Integer, ForeignKey('gm_clothoid.id', use_alter=True, name='fk_gm_clothoid_gm_curvesegment')), 
    2128 Column('gm_linestring_gm_curvesegment_id', Integer, ForeignKey('gm_linestring.id', use_alter=True, name='fk_gm_linestring_gm_curvesegment')), 
    2129 Column('nl_curvesegment_gm_curvesegment_id', Integer, ForeignKey('nl_curvesegment.id', use_alter=True, name='fk_nl_curvesegment_gm_curvesegment')), 
    2130 Column('gm_arcstring_gm_curvesegment_id', Integer, ForeignKey('gm_arcstring.id', use_alter=True, name='fk_gm_arcstring_gm_curvesegment')), 
    2131 Column('gm_conic_gm_curvesegment_id', Integer, ForeignKey('gm_conic.id', use_alter=True, name='fk_gm_conic_gm_curvesegment')), 
    2132 Column('gm_offsetcurve_gm_curvesegment_id', Integer, ForeignKey('gm_offsetcurve.id', use_alter=True, name='fk_gm_offsetcurve_gm_curvesegment')), 
    2133 Column('gm_arcstringbybulge_gm_curvesegment_id', Integer, ForeignKey('gm_arcstringbybulge.id', use_alter=True, name='fk_gm_arcstringbybulge_gm_curvesegment')), 
    2134 Column('interpolation', String , nullable=False), 
    2135 Column('numDerivativesAtEnd', Integer , nullable=True), 
    2136 Column('numDerivativeInterior', Integer , nullable=True), 
    2137 Column('numDerivativesAtStart', Integer , nullable=True), 
    2138         extend_existing=False,) 
    2139          
    2140  
    2141  
    2142  
    2143  
    2144  
    2145  
    2146         md_format_table = Table('md_format', metadata, 
    2147         Column('id', Integer, Sequence('md_format_id_seq'), primary_key=True), 
    2148                                         Column('qe_coverageresult_resultformat_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult_resultformat')), 
    2149 Column('mx_datafile_fileformat_id', Integer, ForeignKey('mx_datafile.id', use_alter=True, name='fk_mx_datafile_fileformat')), 
    2150 Column('version', Text , nullable=False), 
    2151 Column('specification', Text , nullable=True), 
    2152 Column('fileDecompressionTechnique', Text , nullable=True), 
    2153 Column('name', Text , nullable=False), 
    2154 Column('amendmentNumber', Text , nullable=True), 
    2155         extend_existing=False,) 
    2156          
    2157  
    2158  
    2159  
    2160  
    2161  
    2162  
    2163         le_source_table = Table('le_source', metadata, 
    2164         Column('id', Integer, Sequence('le_source_id_seq'), primary_key=True), 
    2165                                         Column('mo_inputoutput_description_id', Integer, ForeignKey('mo_inputoutput.id', use_alter=True, name='fk_mo_inputoutput_description')), 
    2166         extend_existing=False,) 
    2167          
    2168  
    2169  
    2170  
    2171  
    2172  
    2173  
    2174         dq_logicalconsistency_table = Table('dq_logicalconsistency', metadata, 
    2175         Column('id', Integer, Sequence('dq_logicalconsistency_id_seq'), primary_key=True), 
    2176                                         Column('om_observation__resultquality_dq_logicalconsistency', Integer, ForeignKey('om_observation.id', use_alter=True, name='fk_om_observation__resultquality_dq_logicalconsistency')), 
    2177 Column('dq_dataquality__report_dq_logicalconsistency', Integer, ForeignKey('dq_dataquality.id', use_alter=True, name='fk_dq_dataquality__report_dq_logicalconsistency')), 
    2178         extend_existing=False,) 
    2179          
    2180  
    2181  
    2182  
    2183  
    2184  
    2185  
    2186         cs_userdefinedcs_table = Table('cs_userdefinedcs', metadata, 
    2187         Column('id', Integer, Sequence('cs_userdefinedcs_id_seq'), primary_key=True), 
    2188                                         Column('cs_coordinatesystemaxis__coordinatesystem_cs_userdefinedcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_userdefinedcs')), 
    2189 Column('sc_singlecrs__coordinatesystem_cs_userdefinedcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_userdefinedcs')), 
    2190 Column('cs_engineeringcs_userdefinedcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_userdefinedcs')), 
    2191         extend_existing=False,) 
    2192          
    2193  
    2194  
    2195  
    2196  
    2197  
    2198  
    2199         ex_temporalextent_table = Table('ex_temporalextent', metadata, 
    2200         Column('id', Integer, Sequence('ex_temporalextent_id_seq'), primary_key=True), 
    2201                                         Column('ex_extent_temporalelement', Integer, ForeignKey('ex_extent.id', use_alter=True, name='fk_ex_extent_temporalelement')), 
    2202 Column('si_locationinstance_temporalextent_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_temporalextent')), 
    2203         extend_existing=False,) 
    2204          
    2205  
     3876Column('cv_continuousquadrilateralgridcoverage_source_id', Integer, ForeignKey('cv_continuousquadrilateralgridcoverage.id', use_alter=True, name='fk_cv_continuousquadrilateralgridcoverage_source')), 
     3877        extend_existing=False,) 
     3878         
     3879 
     3880 
     3881 
     3882 
     3883 
     3884        nt_routesummary_table = Table('nt_routesummary', metadata, 
     3885        Column('id', Integer, Sequence('nt_routesummary_id_seq'), primary_key=True), 
     3886Column('nt_route_summary_id', Integer, ForeignKey('nt_route.id', use_alter=True, name='fk_nt_route_summary')), 
     3887        extend_existing=False,) 
     3888         
     3889 
     3890 
     3891 
     3892 
     3893 
     3894        gf_spatialassociationtype_table = Table('gf_spatialassociationtype', metadata, 
     3895        Column('id', Integer, Sequence('gf_spatialassociationtype_id_seq'), primary_key=True), 
     3896Column('gf_featuretype__linkbetween_gf_spatialassociationtype', Integer, ForeignKey('gf_featuretype.id', use_alter=True, name='fk_gf_featuretype__linkbetween_gf_spatialassociationtype')), 
     3897Column('gf_operation__dependson_gf_spatialassociationtype', Integer, ForeignKey('gf_operation.id', use_alter=True, name='fk_gf_operation__dependson_gf_spatialassociationtype')), 
     3898        extend_existing=False,) 
     3899         
     3900 
     3901 
     3902 
     3903 
     3904 
     3905        gf_associationtype_table = Table('gf_associationtype', metadata, 
     3906        Column('id', Integer, Sequence('gf_associationtype_id_seq'), primary_key=True), 
     3907Column('gf_aggregationtype__gf_associationtype_id', Integer, ForeignKey('gf_aggregationtype.id', use_alter=True, name='fk_gf_aggregationtype__gf_associationtype')), 
     3908Column('gf_spatialassociationtype__gf_associationtype_id', Integer, ForeignKey('gf_spatialassociationtype.id', use_alter=True, name='fk_gf_spatialassociationtype__gf_associationtype')), 
     3909Column('gf_temporalassociationtype__gf_associationtype_id', Integer, ForeignKey('gf_temporalassociationtype.id', use_alter=True, name='fk_gf_temporalassociationtype__gf_associationtype')), 
     3910        extend_existing=False,) 
     3911         
     3912 
     3913 
     3914 
     3915 
     3916 
     3917        distance_table = Table('distance', metadata, 
     3918        Column('id', Integer, Sequence('distance_id_seq'), primary_key=True), 
     3919Column('nt_routesummary_distance_id', Integer, ForeignKey('nt_routesummary.id', use_alter=True, name='fk_nt_routesummary_distance')), 
     3920Column('le_nominalresolution_scanningresolution_id', Integer, ForeignKey('le_nominalresolution.id', use_alter=True, name='fk_le_nominalresolution_scanningresolution')), 
     3921Column('nt_vehicleconstraint_maxclearance_id', Integer, ForeignKey('nt_vehicleconstraint.id', use_alter=True, name='fk_nt_vehicleconstraint_maxclearance')), 
     3922Column('le_nominalresolution_groundresolution_id', Integer, ForeignKey('le_nominalresolution.id', use_alter=True, name='fk_le_nominalresolution_groundresolution')), 
     3923Column('nt_advisorydistance_distance', Integer, ForeignKey('nt_advisorydistance.id', use_alter=True, name='fk_nt_advisorydistance_distance')), 
     3924Column('nt_vehicleconstraint_turnradius_id', Integer, ForeignKey('nt_vehicleconstraint.id', use_alter=True, name='fk_nt_vehicleconstraint_turnradius')), 
     3925Column('cv_valuesegment_startparameter_id', Integer, ForeignKey('cv_valuesegment.id', use_alter=True, name='fk_cv_valuesegment_startparameter')), 
     3926Column('gm_tin_maxlength_id', Integer, ForeignKey('gm_tin.id', use_alter=True, name='fk_gm_tin_maxlength')), 
     3927Column('cv_valuesegment_endparameter_id', Integer, ForeignKey('cv_valuesegment.id', use_alter=True, name='fk_cv_valuesegment_endparameter')), 
     3928Column('nt_laneconstraint_turningradius', Integer, ForeignKey('nt_laneconstraint.id', use_alter=True, name='fk_nt_laneconstraint_turningradius')), 
     3929        extend_existing=False,) 
     3930         
    22063931 
    22073932 
     
    22113936        gf_featuretype_table = Table('gf_featuretype', metadata, 
    22123937        Column('id', Integer, Sequence('gf_featuretype_id_seq'), primary_key=True), 
    2213                                         Column('gf_associationtype_gf_featuretype_id', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype_gf_featuretype')), 
     3938Column('gf_associationtype__gf_featuretype_id', Integer, ForeignKey('gf_associationtype.id', use_alter=True, name='fk_gf_associationtype__gf_featuretype')), 
    22143939Column('gf_inheritancerelation_supertype_id', Integer, ForeignKey('gf_inheritancerelation.id', use_alter=True, name='fk_gf_inheritancerelation_supertype')), 
    22153940Column('gf_propertytype_thegf_featuretype_id', Integer, ForeignKey('gf_propertytype.id', use_alter=True, name='fk_gf_propertytype_thegf_featuretype')), 
    22163941Column('gf_inheritancerelation_subtype_id', Integer, ForeignKey('gf_inheritancerelation.id', use_alter=True, name='fk_gf_inheritancerelation_subtype')), 
     3942Column('isAbstract', BOOLEAN , nullable=False), 
    22173943Column('definition', Text , nullable=False), 
    2218 Column('isAbstract', BOOLEAN , nullable=False), 
    2219         extend_existing=False,) 
    2220          
    2221  
    2222  
    2223  
    2224  
    2225  
    2226  
    2227         cv_discretesolidcoverage_table = Table('cv_discretesolidcoverage', metadata, 
    2228         Column('id', Integer, Sequence('cv_discretesolidcoverage_id_seq'), primary_key=True), 
    2229                                         Column('om_discretecoverageobservation__result_cv_discretesolidcoverage_id', Integer, ForeignKey('om_discretecoverageobservation.id', use_alter=True, name='fk_om_discretecoverageobservation__result_cv_discretesolidcoverage')), 
    2230         extend_existing=False,) 
    2231          
    2232  
    2233  
    2234  
    2235  
    2236  
    2237  
    2238         uomangle_table = Table('uomangle', metadata, 
    2239         Column('id', Integer, Sequence('uomangle_id_seq'), primary_key=True), 
    2240                                         Column('angle_uom_id', Integer, ForeignKey('angle.id', use_alter=True, name='fk_angle_uom')), 
    2241         extend_existing=False,) 
    2242          
    2243  
     3944        extend_existing=False,) 
     3945         
     3946 
     3947 
     3948 
     3949 
     3950 
     3951        mo_project_table = Table('mo_project', metadata, 
     3952        Column('id', Integer, Sequence('mo_project_id_seq'), primary_key=True), 
     3953Column('ceda_project__mo_project_id', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project__mo_project')), 
     3954Column('description', Text , nullable=True), 
     3955Column('abstract', Text , nullable=True), 
     3956Column('publicationState', String , nullable=True), 
     3957Column('status', String , nullable=True), 
     3958        extend_existing=False,) 
     3959         
     3960 
     3961 
     3962 
     3963 
     3964 
     3965        tp_solid_table = Table('tp_solid', metadata, 
     3966        Column('id', Integer, Sequence('tp_solid_id_seq'), primary_key=True), 
     3967Column('tp_directedsolid_topo_id', Integer, ForeignKey('tp_directedsolid.id', use_alter=True, name='fk_tp_directedsolid_topo')), 
     3968Column('tp_directedtopo__topo_tp_solid_id', Integer, ForeignKey('tp_directedtopo.id', use_alter=True, name='fk_tp_directedtopo__topo_tp_solid')), 
     3969Column('tp_primitive__container_tp_solid_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_tp_solid')), 
     3970        extend_existing=False,) 
     3971         
     3972 
     3973 
     3974 
     3975 
     3976 
     3977        toposurface_table = Table('toposurface', metadata, 
     3978        Column('id', Integer, Sequence('toposurface_id_seq'), primary_key=True), 
     3979Column('tp_expressionterm__expression_toposurface_id', Integer, ForeignKey('tp_expressionterm.id', use_alter=True, name='fk_tp_expressionterm__expression_toposurface')), 
     3980        extend_existing=False,) 
     3981         
     3982 
     3983 
     3984 
     3985 
     3986 
     3987        cv_referenceablegrid_table = Table('cv_referenceablegrid', metadata, 
     3988        Column('id', Integer, Sequence('cv_referenceablegrid_id_seq'), primary_key=True), 
     3989Column('sc_crs_grid', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs_grid')), 
     3990Column('cv_gridpoint__framework_cv_referenceablegrid_id', Integer, ForeignKey('cv_gridpoint.id', use_alter=True, name='fk_cv_gridpoint__framework_cv_referenceablegrid')), 
     3991Column('cv_gridcell__framework_cv_referenceablegrid_id', Integer, ForeignKey('cv_gridcell.id', use_alter=True, name='fk_cv_gridcell__framework_cv_referenceablegrid')), 
     3992        extend_existing=False,) 
     3993         
     3994 
     3995 
     3996 
     3997 
     3998 
     3999        gm_orientableprimitive_table = Table('gm_orientableprimitive', metadata, 
     4000        Column('id', Integer, Sequence('gm_orientableprimitive_id_seq'), primary_key=True), 
     4001Column('gm_primitive__containingprimitive_gm_orientableprimitive', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__containingprimitive_gm_orientableprimitive')), 
     4002Column('gm_complex__element_gm_orientableprimitive', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex__element_gm_orientableprimitive')), 
     4003Column('tp_primitive__geometry_gm_orientableprimitive_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__geometry_gm_orientableprimitive')), 
     4004Column('gm_orientablecurve__gm_orientableprimitive_id', Integer, ForeignKey('gm_orientablecurve.id', use_alter=True, name='fk_gm_orientablecurve__gm_orientableprimitive')), 
     4005Column('gm_primitive__containedprimitive_gm_orientableprimitive', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__containedprimitive_gm_orientableprimitive')), 
     4006Column('gm_orientablesurface__gm_orientableprimitive_id', Integer, ForeignKey('gm_orientablesurface.id', use_alter=True, name='fk_gm_orientablesurface__gm_orientableprimitive')), 
     4007Column('gm_composite__generator_gm_orientableprimitive', Integer, ForeignKey('gm_composite.id', use_alter=True, name='fk_gm_composite__generator_gm_orientableprimitive')), 
     4008Column('orientation', Sign.db_type() , nullable=False), 
     4009        extend_existing=False,) 
     4010         
     4011 
     4012 
     4013 
     4014 
     4015 
     4016        si_locationtype_table = Table('si_locationtype', metadata, 
     4017        Column('id', Integer, Sequence('si_locationtype_id_seq'), primary_key=True), 
     4018Column('si_locationinstance_locationtype_id', Integer, ForeignKey('si_locationinstance.id', use_alter=True, name='fk_si_locationinstance_locationtype')), 
     4019Column('theme', Text , nullable=False), 
     4020Column('identifier', Text , nullable=False), 
     4021Column('definition', Text , nullable=False), 
     4022        extend_existing=False,) 
     4023         
     4024 
     4025 
     4026 
     4027 
     4028 
     4029        temporalcrs_table = Table('temporalcrs', metadata, 
     4030        Column('id', Integer, Sequence('temporalcrs_id_seq'), primary_key=True), 
     4031Column('temporaldatum_referencesystem', Integer, ForeignKey('temporaldatum.id', use_alter=True, name='fk_temporaldatum_referencesystem')), 
     4032Column('cs_coordinatesystem__referencesystem_temporalcrs', Integer, ForeignKey('cs_coordinatesystem.id', use_alter=True, name='fk_cs_coordinatesystem__referencesystem_temporalcrs')), 
     4033Column('timecs_referencesystem', Integer, ForeignKey('timecs.id', use_alter=True, name='fk_timecs_referencesystem')), 
     4034Column('sc_compoundcrs__componentreferencesystem_temporalcrs', Integer, ForeignKey('sc_compoundcrs.id', use_alter=True, name='fk_sc_compoundcrs__componentreferencesystem_temporalcrs')), 
     4035Column('sc_derivedcrs__basecrs_temporalcrs_id', Integer, ForeignKey('sc_derivedcrs.id', use_alter=True, name='fk_sc_derivedcrs__basecrs_temporalcrs')), 
     4036Column('cd_datum__referencesystem_temporalcrs', Integer, ForeignKey('cd_datum.id', use_alter=True, name='fk_cd_datum__referencesystem_temporalcrs')), 
     4037        extend_existing=False,) 
     4038         
     4039 
     4040 
     4041 
     4042 
     4043 
     4044        cc_parametervalue_table = Table('cc_parametervalue', metadata, 
     4045        Column('id', Integer, Sequence('cc_parametervalue_id_seq'), primary_key=True), 
     4046Column('cc_operationparametervalue_parametervalue_id', Integer, ForeignKey('cc_operationparametervalue.id', use_alter=True, name='fk_cc_operationparametervalue_parametervalue')), 
     4047Column('valueFile', Text , nullable=False), 
     4048Column('integerValueList', ARRAY(Integer) , nullable=False), 
     4049Column('integerValue', Integer , nullable=False), 
     4050Column('stringValue', Text , nullable=False), 
     4051Column('booleanValue', BOOLEAN , nullable=False), 
     4052        extend_existing=False,) 
     4053         
     4054 
     4055 
     4056 
     4057 
     4058 
     4059        mo_responsiblepartyinfo_table = Table('mo_responsiblepartyinfo', metadata, 
     4060        Column('id', Integer, Sequence('mo_responsiblepartyinfo_id_seq'), primary_key=True), 
     4061Column('ceda_notes_commentator_id', Integer, ForeignKey('ceda_notes.id', use_alter=True, name='fk_ceda_notes_commentator')), 
     4062Column('ceda_observationcollection_cedaofficer_id', Integer, ForeignKey('ceda_observationcollection.id', use_alter=True, name='fk_ceda_observationcollection_cedaofficer')), 
     4063Column('ceda_review_reviewer_id', Integer, ForeignKey('ceda_review.id', use_alter=True, name='fk_ceda_review_reviewer')), 
     4064Column('role', String , nullable=False), 
     4065        extend_existing=False,) 
     4066         
     4067 
     4068 
     4069 
     4070 
     4071 
     4072        nl_orientablecurve_table = Table('nl_orientablecurve', metadata, 
     4073        Column('id', Integer, Sequence('nl_orientablecurve_id_seq'), primary_key=True), 
     4074Column('nl_curve__nl_orientablecurve_id', Integer, ForeignKey('nl_curve.id', use_alter=True, name='fk_nl_curve__nl_orientablecurve')), 
     4075Column('nl_map__element_nl_orientablecurve', Integer, ForeignKey('nl_map.id', use_alter=True, name='fk_nl_map__element_nl_orientablecurve')), 
     4076Column('nl_compositecurve__nl_orientablecurve_id', Integer, ForeignKey('nl_compositecurve.id', use_alter=True, name='fk_nl_compositecurve__nl_orientablecurve')), 
     4077Column('orientation', Sign.db_type() , nullable=False), 
     4078        extend_existing=False,) 
     4079         
     4080 
     4081 
     4082 
     4083 
     4084 
     4085        gm_surfacepatch_table = Table('gm_surfacepatch', metadata, 
     4086        Column('id', Integer, Sequence('gm_surfacepatch_id_seq'), primary_key=True), 
     4087Column('gm_parametriccurvesurface__gm_surfacepatch_id', Integer, ForeignKey('gm_parametriccurvesurface.id', use_alter=True, name='fk_gm_parametriccurvesurface__gm_surfacepatch')), 
     4088Column('nl_surfacepatch__gm_surfacepatch_id', Integer, ForeignKey('nl_surfacepatch.id', use_alter=True, name='fk_nl_surfacepatch__gm_surfacepatch')), 
     4089Column('rectangle__gm_surfacepatch_id', Integer, ForeignKey('rectangle.id', use_alter=True, name='fk_rectangle__gm_surfacepatch')), 
     4090Column('gm_polygon__gm_surfacepatch_id', Integer, ForeignKey('gm_polygon.id', use_alter=True, name='fk_gm_polygon__gm_surfacepatch')), 
     4091Column('numDerivativesOnBoundary', Integer , nullable=True), 
     4092Column('interpolation', String , nullable=False), 
     4093        extend_existing=False,) 
     4094         
     4095 
     4096 
     4097 
     4098 
     4099 
     4100        ns_routerequest_table = Table('ns_routerequest', metadata, 
     4101        Column('id', Integer, Sequence('ns_routerequest_id_seq'), primary_key=True), 
     4102Column('returnRouteGeometry', BOOLEAN , nullable=False), 
     4103Column('returnRouteInstructions', BOOLEAN , nullable=False), 
     4104Column('isDynamic', BOOLEAN , nullable=False), 
     4105Column('routeRequestType', String , nullable=False), 
     4106Column('costFunction', String , nullable=True), 
     4107Column('advisories', String , nullable=True), 
     4108Column('returnRouteMaps', BOOLEAN , nullable=False), 
     4109Column('preferences', String , nullable=True), 
     4110Column('vehicle', String , nullable=False), 
     4111        extend_existing=False,) 
     4112         
     4113 
     4114 
     4115 
     4116 
     4117 
     4118        gm_composite_table = Table('gm_composite', metadata, 
     4119        Column('id', Integer, Sequence('gm_composite_id_seq'), primary_key=True), 
     4120Column('gm_compositepoint__gm_composite_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint__gm_composite')), 
     4121Column('gm_compositesurface__gm_composite_id', Integer, ForeignKey('gm_compositesurface.id', use_alter=True, name='fk_gm_compositesurface__gm_composite')), 
     4122Column('tp_complex__geometry_gm_composite_id', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__geometry_gm_composite')), 
     4123Column('gm_compositesolid__gm_composite_id', Integer, ForeignKey('gm_compositesolid.id', use_alter=True, name='fk_gm_compositesolid__gm_composite')), 
     4124Column('gm_compositecurve__gm_composite_id', Integer, ForeignKey('gm_compositecurve.id', use_alter=True, name='fk_gm_compositecurve__gm_composite')), 
     4125        extend_existing=False,) 
     4126         
     4127 
     4128 
     4129 
     4130 
     4131 
     4132        ceda_observationcollection_table = Table('ceda_observationcollection', metadata, 
     4133        Column('id', Integer, Sequence('ceda_observationcollection_id_seq'), primary_key=True), 
     4134Column('mo_project_observationcollection', Integer, ForeignKey('mo_project.id', use_alter=True, name='fk_mo_project_observationcollection')), 
     4135        extend_existing=False,) 
     4136         
     4137 
     4138 
     4139 
     4140 
     4141 
     4142        io_identifiedobjectbase_table = Table('io_identifiedobjectbase', metadata, 
     4143        Column('id', Integer, Sequence('io_identifiedobjectbase_id_seq'), primary_key=True), 
     4144Column('io_identifiedobject__io_identifiedobjectbase_id', Integer, ForeignKey('io_identifiedobject.id', use_alter=True, name='fk_io_identifiedobject__io_identifiedobjectbase')), 
     4145Column('sc_crs__io_identifiedobjectbase_id', Integer, ForeignKey('sc_crs.id', use_alter=True, name='fk_sc_crs__io_identifiedobjectbase')), 
     4146Column('remarks', Text , nullable=True), 
     4147        extend_existing=False,) 
     4148         
    22444149 
    22454150 
     
    22494154        md_distributor_table = Table('md_distributor', metadata, 
    22504155        Column('id', Integer, Sequence('md_distributor_id_seq'), primary_key=True), 
    2251                                                 extend_existing=False,) 
    2252          
    2253  
    2254  
    2255  
    2256  
    2257  
    2258  
    2259         mo_project_table = Table('mo_project', metadata, 
    2260         Column('id', Integer, Sequence('mo_project_id_seq'), primary_key=True), 
    2261                                         Column('ceda_project_mo_project_id', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project_mo_project')), 
    2262 Column('publicationState', String , nullable=True), 
    2263 Column('description', Text , nullable=True), 
    2264 Column('status', String , nullable=True), 
    2265 Column('abstract', Text , nullable=True), 
    2266         extend_existing=False,) 
    2267          
    2268  
    2269  
    2270  
    2271  
    2272  
    2273  
    2274         lr_element_table = Table('lr_element', metadata, 
    2275         Column('id', Integer, Sequence('lr_element_id_seq'), primary_key=True), 
    2276                                         Column('lr_feature_lr_element_id', Integer, ForeignKey('lr_feature.id', use_alter=True, name='fk_lr_feature_lr_element')), 
    2277 Column('nt_link_lr_element_id', Integer, ForeignKey('nt_link.id', use_alter=True, name='fk_nt_link_lr_element')), 
    2278         extend_existing=False,) 
    2279          
    2280  
    2281  
    2282  
    2283  
    2284  
    2285  
    2286         mo_instrumentplatformpair_table = Table('mo_instrumentplatformpair', metadata, 
    2287         Column('id', Integer, Sequence('mo_instrumentplatformpair_id_seq'), primary_key=True), 
    2288                                         Column('mo_acquisition_instrumentplatformpair', Integer, ForeignKey('mo_acquisition.id', use_alter=True, name='fk_mo_acquisition_instrumentplatformpair')), 
    2289         extend_existing=False,) 
    2290          
    2291  
    2292  
    2293  
    2294  
    2295  
    2296  
    2297         tp_directedtopo_table = Table('tp_directedtopo', metadata, 
    2298         Column('id', Integer, Sequence('tp_directedtopo_id_seq'), primary_key=True), 
    2299                                         Column('tp_primitive__isolated_tp_directedtopo', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__isolated_tp_directedtopo')), 
    2300 Column('tp_complex__element_tp_directedtopo', Integer, ForeignKey('tp_complex.id', use_alter=True, name='fk_tp_complex__element_tp_directedtopo')), 
    2301 Column('tp_directededge_tp_directedtopo_id', Integer, ForeignKey('tp_directededge.id', use_alter=True, name='fk_tp_directededge_tp_directedtopo')), 
    2302 Column('tp_primitive__container_tp_directedtopo_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__container_tp_directedtopo')), 
    2303 Column('tp_directedsolid_tp_directedtopo_id', Integer, ForeignKey('tp_directedsolid.id', use_alter=True, name='fk_tp_directedsolid_tp_directedtopo')), 
    2304 Column('gm_primitive__topology_tp_directedtopo', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive__topology_tp_directedtopo')), 
    2305 Column('tp_directedface_tp_directedtopo_id', Integer, ForeignKey('tp_directedface.id', use_alter=True, name='fk_tp_directedface_tp_directedtopo')), 
    2306 Column('tp_directednode_tp_directedtopo_id', Integer, ForeignKey('tp_directednode.id', use_alter=True, name='fk_tp_directednode_tp_directedtopo')), 
    2307 Column('orientation', Sign.db_type() , nullable=False), 
    2308         extend_existing=False,) 
    2309          
    2310  
    2311  
    2312  
    2313  
    2314  
    2315  
    2316         tp_complex_table = Table('tp_complex', metadata, 
    2317         Column('id', Integer, Sequence('tp_complex_id_seq'), primary_key=True), 
    2318                                         Column('cellularcomplex_tp_complex_id', Integer, ForeignKey('cellularcomplex.id', use_alter=True, name='fk_cellularcomplex_tp_complex')), 
    2319 Column('nt_network_tp_complex_id', Integer, ForeignKey('nt_network.id', use_alter=True, name='fk_nt_network_tp_complex')), 
    2320         extend_existing=False,) 
    2321          
    2322  
    2323  
    2324  
    2325  
    2326  
    2327  
    2328         cd_geodeticdatum_table = Table('cd_geodeticdatum', metadata, 
    2329         Column('id', Integer, Sequence('cd_geodeticdatum_id_seq'), primary_key=True), 
    2330                                         Column('sc_singlecrs__datum_cd_geodeticdatum_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__datum_cd_geodeticdatum')), 
    2331 Column('cd_primemeridian_datum', Integer, ForeignKey('cd_primemeridian.id', use_alter=True, name='fk_cd_primemeridian_datum')), 
    2332 Column('sc_geodeticcrs_datum_id', Integer, ForeignKey('sc_geodeticcrs.id', use_alter=True, name='fk_sc_geodeticcrs_datum')), 
    2333 Column('cd_ellipsoid_datum', Integer, ForeignKey('cd_ellipsoid.id', use_alter=True, name='fk_cd_ellipsoid_datum')), 
    2334         extend_existing=False,) 
    2335          
    2336  
    2337  
    2338  
    2339  
    2340  
    2341  
    2342         fd_featurecollection_table = Table('fd_featurecollection', metadata, 
    2343         Column('id', Integer, Sequence('fd_featurecollection_id_seq'), primary_key=True), 
    2344                                         Column('isOrdered', BOOLEAN , nullable=False), 
    2345         extend_existing=False,) 
    2346          
    2347  
    2348  
    2349  
    2350  
    2351  
    2352  
    2353         ds_aggregate_table = Table('ds_aggregate', metadata, 
    2354         Column('id', Integer, Sequence('ds_aggregate_id_seq'), primary_key=True), 
    2355                                         Column('ds_series_ds_aggregate_id', Integer, ForeignKey('ds_series.id', use_alter=True, name='fk_ds_series_ds_aggregate')), 
    2356 Column('ds_initiative_ds_aggregate_id', Integer, ForeignKey('ds_initiative.id', use_alter=True, name='fk_ds_initiative_ds_aggregate')), 
    2357 Column('ds_otheraggregate_ds_aggregate_id', Integer, ForeignKey('ds_otheraggregate.id', use_alter=True, name='fk_ds_otheraggregate_ds_aggregate')), 
    2358         extend_existing=False,) 
    2359          
    2360  
    2361  
    2362  
    2363  
    2364  
    2365  
    2366         ceda_observationcollection_table = Table('ceda_observationcollection', metadata, 
    2367         Column('id', Integer, Sequence('ceda_observationcollection_id_seq'), primary_key=True), 
    2368                                         Column('mo_project_observationcollection', Integer, ForeignKey('mo_project.id', use_alter=True, name='fk_mo_project_observationcollection')), 
    2369         extend_existing=False,) 
    2370          
    2371  
    2372  
    2373  
    2374  
    2375  
    2376  
    2377         gm_object_table = Table('gm_object', metadata, 
    2378         Column('id', Integer, Sequence('gm_object_id_seq'), primary_key=True), 
    2379                                         Column('gm_primitive_gm_object_id', Integer, ForeignKey('gm_primitive.id', use_alter=True, name='fk_gm_primitive_gm_object')), 
    2380 Column('location_geometrylocation_id', Integer, ForeignKey('location.id', use_alter=True, name='fk_location_geometrylocation')), 
    2381 Column('gm_complex_gm_object_id', Integer, ForeignKey('gm_complex.id', use_alter=True, name='fk_gm_complex_gm_object')), 
    2382 Column('gm_aggregate_gm_object_id', Integer, ForeignKey('gm_aggregate.id', use_alter=True, name='fk_gm_aggregate_gm_object')), 
    2383         extend_existing=False,) 
    2384          
    2385  
     4156        extend_existing=False,) 
     4157         
     4158 
     4159 
     4160 
     4161 
     4162 
     4163        cs_cylindricalcs_table = Table('cs_cylindricalcs', metadata, 
     4164        Column('id', Integer, Sequence('cs_cylindricalcs_id_seq'), primary_key=True), 
     4165Column('cs_engineeringcs_cylindricalcs_id', Integer, ForeignKey('cs_engineeringcs.id', use_alter=True, name='fk_cs_engineeringcs_cylindricalcs')), 
     4166Column('cs_coordinatesystemaxis__coordinatesystem_cs_cylindricalcs', Integer, ForeignKey('cs_coordinatesystemaxis.id', use_alter=True, name='fk_cs_coordinatesystemaxis__coordinatesystem_cs_cylindricalcs')), 
     4167Column('sc_singlecrs__coordinatesystem_cs_cylindricalcs_id', Integer, ForeignKey('sc_singlecrs.id', use_alter=True, name='fk_sc_singlecrs__coordinatesystem_cs_cylindricalcs')), 
     4168        extend_existing=False,) 
     4169         
     4170 
     4171 
     4172 
     4173 
     4174 
     4175        nl_composite_table = Table('nl_composite', metadata, 
     4176        Column('id', Integer, Sequence('nl_composite_id_seq'), primary_key=True), 
     4177Column('nl_compositepoint__nl_composite_id', Integer, ForeignKey('nl_compositepoint.id', use_alter=True, name='fk_nl_compositepoint__nl_composite')), 
     4178Column('nl_compsitesurface__nl_composite_id', Integer, ForeignKey('nl_compsitesurface.id', use_alter=True, name='fk_nl_compsitesurface__nl_composite')), 
     4179Column('nl_compositecurve__nl_composite_id', Integer, ForeignKey('nl_compositecurve.id', use_alter=True, name='fk_nl_compositecurve__nl_composite')), 
     4180        extend_existing=False,) 
     4181         
     4182 
     4183 
     4184 
     4185 
     4186 
     4187        nt_turn_table = Table('nt_turn', metadata, 
     4188        Column('id', Integer, Sequence('nt_turn_id_seq'), primary_key=True), 
     4189Column('ns_costedturn_turn_id', Integer, ForeignKey('ns_costedturn.id', use_alter=True, name='fk_ns_costedturn_turn')), 
     4190Column('nt_transfer__nt_turn_id', Integer, ForeignKey('nt_transfer.id', use_alter=True, name='fk_nt_transfer__nt_turn')), 
     4191Column('isTraversable', BOOLEAN , nullable=False), 
     4192Column('isManuever', BOOLEAN , nullable=False), 
     4193Column('entryCount', Integer , nullable=False), 
     4194Column('turnDirection', String , nullable=True), 
     4195Column('exitCount', Integer , nullable=False), 
     4196        extend_existing=False,) 
     4197         
     4198 
     4199 
     4200 
     4201 
     4202 
     4203        ceda_review_table = Table('ceda_review', metadata, 
     4204        Column('id', Integer, Sequence('ceda_review_id_seq'), primary_key=True), 
     4205Column('ceda_project_metadatamanagement', Integer, ForeignKey('ceda_project.id', use_alter=True, name='fk_ceda_project_metadatamanagement')), 
     4206Column('ceda_compositeprocess_metadatamanagement', Integer, ForeignKey('ceda_compositeprocess.id', use_alter=True, name='fk_ceda_compositeprocess_metadatamanagement')), 
     4207Column('ceda_platform_metadatamanagement', Integer, ForeignKey('ceda_platform.id', use_alter=True, name='fk_ceda_platform_metadatamanagement')), 
     4208Column('ceda_processing_metadatamanagement', Integer, ForeignKey('ceda_processing.id', use_alter=True, name='fk_ceda_processing_metadatamanagement')), 
     4209Column('ceda_operation_metadatamanagement', Integer, ForeignKey('ceda_operation.id', use_alter=True, name='fk_ceda_operation_metadatamanagement')), 
     4210Column('ceda_instrument_metadatamanagement', Integer, ForeignKey('ceda_instrument.id', use_alter=True, name='fk_ceda_instrument_metadatamanagement')), 
     4211Column('ceda_observation_metadatamanagement', Integer, ForeignKey('ceda_observation.id', use_alter=True, name='fk_ceda_observation_metadatamanagement')), 
     4212Column('ceda_observationcollection_metadatamanagement', Integer, ForeignKey('ceda_observationcollection.id', use_alter=True, name='fk_ceda_observationcollection_metadatamanagement')), 
     4213Column('ceda_acquisition_metadatamanagement', Integer, ForeignKey('ceda_acquisition.id', use_alter=True, name='fk_ceda_acquisition_metadatamanagement')), 
     4214Column('reviewFrequency', String , nullable=False), 
     4215Column('reviewStatus', String , nullable=False), 
     4216        extend_existing=False,) 
     4217         
     4218 
     4219 
     4220 
     4221 
     4222 
     4223        gm_complex_table = Table('gm_complex', metadata, 
     4224        Column('id', Integer, Sequence('gm_complex_id_seq'), primary_key=True), 
     4225Column('cv_footprint__geometry_gm_complex_id', Integer, ForeignKey('cv_footprint.id', use_alter=True, name='fk_cv_footprint__geometry_gm_complex')), 
     4226Column('om_geometryobservation__result_gm_complex_id', Integer, ForeignKey('om_geometryobservation.id', use_alter=True, name='fk_om_geometryobservation__result_gm_complex')), 
     4227Column('sf_specimen__samplinglocation_gm_complex_id', Integer, ForeignKey('sf_specimen.id', use_alter=True, name='fk_sf_specimen__samplinglocation_gm_complex')), 
     4228Column('cellularcomplex__gm_complex_id', Integer, ForeignKey('cellularcomplex.id', use_alter=True, name='fk_cellularcomplex__gm_complex')), 
     4229Column('sf_spatialsamplingfeature__shape_gm_complex_id', Integer, ForeignKey('sf_spatialsamplingfeature.id', use_alter=True, name='fk_sf_spatialsamplingfeature__shape_gm_complex')), 
     4230Column('gm_composite__gm_complex_id', Integer, ForeignKey('gm_composite.id', use_alter=True, name='fk_gm_composite__gm_complex')), 
     4231Column('mo_location__geometrylocation_gm_complex_id', Integer, ForeignKey('mo_location.id', use_alter=True, name='fk_mo_location__geometrylocation_gm_complex')), 
     4232        extend_existing=False,) 
     4233         
     4234 
     4235 
     4236 
     4237 
     4238 
     4239        gm_point_table = Table('gm_point', metadata, 
     4240        Column('id', Integer, Sequence('gm_point_id_seq'), primary_key=True), 
     4241Column('eg_pointestimate__gm_point_id', Integer, ForeignKey('eg_pointestimate.id', use_alter=True, name='fk_eg_pointestimate__gm_point')), 
     4242Column('gm_orientableprimitive__primitive_gm_point_id', Integer, ForeignKey('gm_orientableprimitive.id', use_alter=True, name='fk_gm_orientableprimitive__primitive_gm_point')), 
     4243Column('tp_primitive__geometry_gm_point_id', Integer, ForeignKey('tp_primitive.id', use_alter=True, name='fk_tp_primitive__geometry_gm_point')), 
     4244Column('gm_compositepoint__gm_point_id', Integer, ForeignKey('gm_compositepoint.id', use_alter=True, name='fk_gm_compositepoint__gm_point')), 
     4245        extend_existing=False,) 
     4246         
    23864247 
    23874248 
     
    23914252        md_imagedescription_table = Table('md_imagedescription', metadata, 
    23924253        Column('id', Integer, Sequence('md_imagedescription_id_seq'), primary_key=True), 
    2393                                         Column('qe_coverageresult__resultcontentdescription_md_imagedescription_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultcontentdescription_md_imagedescription')), 
     4254Column('qe_coverageresult__resultcontentdescription_md_imagedescription_id', Integer, ForeignKey('qe_coverageresult.id', use_alter=True, name='fk_qe_coverageresult__resultcontentdescription_md_imagedescription')), 
    23944255Column('illuminationElevationAngle', REAL , nullable=True), 
    2395 Column('illuminationAzimuthAngle', REAL , nullable=True), 
    23964256Column('triangulationIndicator', BOOLEAN , nullable=True), 
    2397 Column('cameraCalibrationInformationAvailability', BOOLEAN , nullable=True), 
     4257Column('filmDistortionInformationAvailability', BOOLEAN , nullable=True), 
    23984258Column('cloudCoverPercentage', REAL , nullable=True), 
    23994259Column('compressionGenerationQuantity', Integer , nullable=True), 
     4260Column('cameraCalibrationInformationAvailability', BOOLEAN , nullable=True), 
     4261Column('lensDistortionInformationAvailability', BOOLEAN , nullable=True), 
    24004262Column('radiometricCalibrationDataAvailability', BOOLEAN , nullable=True), 
     4263Column('illuminationAzimuthAngle', REAL , nullable=True), 
    24014264Column('imagingCondition', String , nullable=True),