@ -1,6 +1,6 @@
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- <!DOCTYPE module SYSTEM "../../../conf/superx - module.dtd"> -->
<module name= "etl" version= "0.2 " sachgebiet_id= "280"
<module name= "viz" version= "0.1 " sachgebiet_id= "280"
sachgebiet="Visualisierungen" systeminfo_id="280"
system="Visualisierungen" thema="Visualisierungen" thema_parent="Abfragen">
<database name= "superx" system= "superx" >
@ -34,17 +34,89 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[VIZ]" />
@@ -34,17 +34,89 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[VIZ]" />
</indexes>
</table>
<table name= "viz_chart" thema= "Visualisierungen" typ= "Datentabelle"
releaseUnload="empty">
<description > Diagrammentwürfe</description>
<columns >
<column name= "tid" type= "SERIAL" size= "" default= "" notnull= "true" description= "tid" isKey= "true" />
<column name= "uniquename" type= "VARCHAR" size= "255" default= "" notnull= "true" description= "Unique Name" />
<column name= "caption" type= "VARCHAR" size= "255" default= "" notnull= "" description= "Bezeichnung" />
<column name= "viz_type_id" type= "INTEGER" size= "255" default= "" notnull= "" description= "Art des Diagramms" />
<column name= "preview_svg" type= "TEXT" size= "255" default= "" notnull= "" description= "Vorschau (SVG)" />
</columns>
<primaryKeys > <rs >
<row >
<fld name= 'table_cat' > superx</fld>
<fld name= 'table_schem' > superx</fld>
<fld name= 'table_name' > viz_chart</fld>
<fld name= 'column_name' > tid</fld>
<fld name= 'key_seq' > 1</fld>
<fld name= 'pk_name' > viz_chart_pk</fld>
</row>
</rs>
</primaryKeys>
<indexes >
</indexes>
</table>
<table name= "viz_chart_property" thema= "Visualisierungen" typ= "Datentabelle"
releaseUnload="empty">
<description > Eigenschaften für Diagrammentwürfe</description>
<columns >
<column name= "tid" type= "SERIAL" size= "" default= "" notnull= "true" description= "tid" isKey= "true" />
<column name= "viz_chart_id" type= "INTEGER" size= "255" default= "" notnull= "" description= "Visualisierung" />
<column name= "viz_property_id" type= "INTEGER" size= "255" default= "" notnull= "" description= "Eigenschaft der Visualisierung" />
<column name= "prop_value" type= "VARCHAR" size= "255" default= "" notnull= "false" description= "Wert" />
</columns>
<primaryKeys > <rs >
<row >
<fld name= 'table_cat' > superx</fld>
<fld name= 'table_schem' > superx</fld>
<fld name= 'table_name' > viz_chart_property</fld>
<fld name= 'column_name' > tid</fld>
<fld name= 'key_seq' > 1</fld>
<fld name= 'pk_name' > viz_chart_property_pk</fld>
</row>
</rs>
</primaryKeys>
<indexes >
</indexes>
</table>
<table name= "viz_property" thema= "Administration" typ= "Schlüsseltabelle"
releaseUnload="empty">
<description > Schlüsseltabelle für Eigenschaften von Visualisieren</description>
<columns >
<column name= "tid" type= "SERIAL" size= "" default= "" notnull= "true" description= "tid" isKey= "true" />
<column name= "caption" type= "VARCHAR" size= "255" default= "" notnull= "" description= "Bezeichnung" />
<column name= "prop_uniquename" type= "VARCHAR" size= "255" default= "" notnull= "" description= "Bezeichnung" />
<column name= "prop_default" type= "VARCHAR" size= "255" default= "" notnull= "false" description= "Defaultwert" />
<column name= "prop_unit" type= "VARCHAR" size= "255" default= "" notnull= "false" description= "Einheit" />
</columns>
<primaryKeys > <rs >
<row >
<fld name= 'table_cat' > superx</fld>
<fld name= 'table_schem' > superx</fld>
<fld name= 'table_name' > viz_property</fld>
<fld name= 'column_name' > tid</fld>
<fld name= 'key_seq' > 1</fld>
<fld name= 'pk_name' > viz_property_pk</fld>
</row>
</rs>
</primaryKeys>
<indexes >
</indexes>
</table>
<table name= "viz_type_property" thema= "Administration" typ= "Schlüsseltabelle"
releaseUnload="empty">
<description > Schlüsseltabelle für Eigenschaften von Visualisierungstypen</description>
<columns >
<column name= "tid" type= "SERIAL" size= "" default= "" notnull= "true" description= "tid" isKey= "true" />
<column name= "viz_type_id" type= "INTEGER" size= "" default= "" notnull= "true" description= "Arten des Ladeschritts" />
<column name= "prop_name" type= "VARCHAR" size= "255" default= "" notnull= "" description= "Bezeichnung" />
<column name= "prop_value" type= "TEXT" size= "255" default= "" notnull= "false" description= "Wert" />
<column name= "viz_type_id" type= "INTEGER" size= "" default= "" notnull= "false" description= "Art der Visualisierung" />
<column name= "viz_property_id" type= "INTEGER" size= "255" default= "" notnull= "" description= "Eigenschaft der Visualisierung" />
</columns>
<primaryKeys > <rs >
@ -85,10 +157,28 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
@@ -85,10 +157,28 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<data-integrity >
<!-- viz_type_property -->
<relation from= "viz_type" to= "viz_type_property" delete= "FALSE"
<relation from= "viz_type" to= "viz_type_property" delete= "FALSE"
displayType="select" visibleFields="caption" format="%s">
<relation-column from= "tid" to= "viz_type_id" />
</relation>
<relation from= "viz_property" to= "viz_type_property" delete= "FALSE"
displayType="select" visibleFields="caption" format="%s">
<relation-column from= "tid" to= "viz_property_id" />
</relation>
<!-- viz_chart -->
<relation from= "viz_type" to= "viz_chart" delete= "FALSE"
displayType="select" visibleFields="caption" format="%s">
<relation-column from= "tid" to= "viz_type_id" />
</relation>
</relation>
<!-- viz_chart_property -->
<relation from= "viz_chart" to= "viz_chart_property" delete= "FALSE"
displayType="select" visibleFields="caption" format="%s">
<relation-column from= "tid" to= "viz_chart_id" />
</relation>
<relation from= "viz_property" to= "viz_chart_property" delete= "FALSE"
displayType="select" visibleFields="caption" format="%s">
<relation-column from= "tid" to= "viz_property_id" />
</relation>
</data-integrity>
</database>
@ -108,6 +198,8 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
@@ -108,6 +198,8 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<install >
<install-step name= "Füllen der Modul-Tabellen" >
<action error= "stop" >
<loadtable refresh= "true" delimiter= "^" header= "false" tabname= "viz_type" > <file path= "$VIZ_PFAD/schluesseltabellen/viz_type.unl" /> </loadtable>
<!--
<loadtable refresh= "true" delimiter= "^" header= "false" tabname= "viz_type_type" > <file path= "$VIZ_PFAD/schluesseltabellen/viz_type_type.unl" /> </loadtable>
<nativeaction sql= "" scriptfile= "$VIZ_PFAD/schluesseltabellen/sachgebiete_fuellen.sql" database= "" />
@ -124,6 +216,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
@@ -124,6 +216,7 @@ parent="Visualisierungen">Abfragen zur Administration von Visualisierungen </the
<upgrade >
<upgrade-step >
<action error= "stop" >
<loadtable refresh= "true" delimiter= "^" header= "false" tabname= "viz_type" > <file path= "$VIZ_PFAD/schluesseltabellen/viz_type.unl" /> </loadtable>
</action>
<action error= "stop" >