Mercurial > dive4elements > gnv-client
annotate doc/config-manual/model_of_transitions.tex @ 930:a0c54d4edbdf
fixed a compile error in admin manual
doc/trunk@1069 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Hans Plum <hans.plum@intevation.de> |
---|---|
date | Thu, 06 May 2010 08:53:33 +0000 |
parents | 63bc0044ff72 |
children | 4615bc4dc822 |
rev | line source |
---|---|
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 \section{Model of transitions} |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
2 \subsection{Overview of Subject-Specific Configuration: From FIS, Products, States, |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
3 Transitions and SQL-statements} |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
4 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
5 The GNV-system provides several expert information systems (FIS). Within a FIS |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
6 users can select products for analysing and visualising different |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
7 subject-specific issues like timeseries diagrams and different types of |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
8 profiles. In order to generate these products, different kind of data out of the |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
9 dataware house is needed. |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
10 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
11 The configuration is mainly split up into two steps\footnote{Except for |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
12 integrating the MapViewer. There is a third step necessary by configuring |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
13 additional tables in the datawarehouse}: |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
14 \begin{enumerate} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
15 \item FIS and their according products (Metainformation) |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
16 \item products with their states, transitions, outputs and SQL-statements |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
17 (Implementation) |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
18 \end{enumerate} |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
19 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
20 %% TODO: Add a Screenshot of the GNV WebClient marking GUI elements for FIS, |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
21 %% product, states and transitions |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
22 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
23 Main entry point for the configuration is the file \verb+ conf/conf.xml + |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
24 defining the list of FIS and the according products based on the different |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
25 datamodels in the datawarehouse. The provided datamodels are: |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
26 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
27 \begin{enumerate} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
28 \item ESRI ArcMarineBSH with following subtypes |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
29 \begin{enumerate} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
30 \item TimeSeriesPoints |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
31 \item MeshFeatures |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
32 \item Measurements/InstantaneousPoints |
914
4c701fd2b3bb
Added MarineFeatures as Subtype of ESRI ArcMarineBSH
Tim Englich <tim.englich@intevation.de>
parents:
913
diff
changeset
|
33 \item Marine Features |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
34 \end{enumerate} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
35 \item ESRI ArcS57, |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
36 \item CONTIS |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
37 \end{enumerate} |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
38 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
39 Each product configuration consists of a datamodel specific configuration |
912
3ca45a124985
Fixed compilation error
Hans Plum <hans.plum@intevation.de>
parents:
911
diff
changeset
|
40 organized in a product specific folder in \verb+ conf/products+ \footnote{The |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
41 special case of a "Horizontales Schnittprofil" is configured in |
912
3ca45a124985
Fixed compilation error
Hans Plum <hans.plum@intevation.de>
parents:
911
diff
changeset
|
42 conf/horizontalprofile/conf\_mesh\_cross.xml }. The directory layout looks |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
43 like this: |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
44 |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
45 \begin{verbatim} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
46 products/ |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
47 |-- horizontalcrosssection |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
48 | `-- conf_mesh.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
49 |-- horizontalprofile |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
50 | |-- conf_instantaneouspoint.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
51 | |-- conf_mesh.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
52 | `-- conf_mesh_cross.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
53 |-- layer |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
54 | `-- conf.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
55 |-- timeseries |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
56 | |-- conf_mesh.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
57 | |-- conf_timeseriespoint.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
58 | `-- timegap_definition.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
59 |-- verticalcrosssection |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
60 | `-- conf_mesh.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
61 `-- verticalprofile |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
62 |-- conf_instantaneouspoint.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
63 |-- conf_mesh.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
64 `-- conf_timeseriespoint.xml |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
65 \end{verbatim} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
66 |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
67 The subtypes of the ArcMarineBSH based datamodel are configured in the files below: |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
68 \begin{itemize} |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
69 \item TimeSeriesPoints: conf\_timeseriespoint.xml |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
70 \item Mesh: conf\_mesh.xml |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
71 \item InstantaneousPoints: conf\_instantaneouspoint.xml |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
72 \end{itemize} |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
73 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
74 Within each of these files, the steps for gathering the values for the |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
75 parameterisation are configured by defining states, transitions and outputs |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
76 (c.f. \ref{ref:config-a-product}). The definition of states, transitions and |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
77 outputs reference the actual SQL-statements via identifier. The SQL-statements |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
78 are gathered in the file \verb+conf/queries.txt+. |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
79 |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
80 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
81 \subsection{General principle of model of transitions} |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
82 |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
83 It is possible to configure the GNV in many ways. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
84 It is possible to add or remove FIS, add or remove Products from a FIS or |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
85 to manipulate the steps which must be gone until a product can be create |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
86 a diagram or generate an CSV-Export. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
87 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
88 The configuration of the provided FIS are divided in three main parts. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
89 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
90 \begin{itemize} |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
91 \item Configuration of the list of FIS via Artifactfactories |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
92 \item Configuration of main Artifacts which will be instantiated if an |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
93 Artifactfactory was called. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
94 \item Configuration of the different Artifacts which provides Products which can be |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
95 served by the FIS. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
96 \end{itemize} |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
97 |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
98 \subsubsection{Configuration of a FIS} |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
99 The Point of Entry into the system is to configure an Artifactfactory. |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
100 Each Artifactfactory represents one FIS. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
101 It is possible to configure several Artifactfactories. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
102 The Artifactfactories will be configured in the Section |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
103 /artifact-database/artifact-factories of the Configurationfile. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
104 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
105 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
106 <artifact-factory name='fis\_marnet' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
107 description='Factory to create an artifact to be used with the FIS NEWFISNAME' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
108 ttl='3600000' |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
109 artifact='de.intevation.artifactdatabase.ProxyArtifact'> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
110 de.intevation.gnv.artifacts.GNVProductArtifactFactory |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
111 </artifact-factory> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
112 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
113 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
114 At this moment the following Attributes of an Artifact-Factory are configurable. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
115 \begin{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
116 \item name: The Name of the Artifact. Must be unique in one Artifact-Server |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
117 \item description: Short description which Job the Artifactfactory has to do. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
118 \item ttl: The Time to Live: The Time using Milliseconds an Artifact, created using this |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
119 factory, can live without any User interaction. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
120 \item artifact: The Name of the Class of the Artifact which should be created. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
121 \end{itemize} |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
122 |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
123 The next listing shows the dependencies between the FIS and the Name |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
124 of the Artifactfactory which belongs to it. |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
125 |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
126 \begin{itemize} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
127 \item Marnet: fis\_marnet |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
128 \item IMIS: fis\_imis |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
129 \item STAUN: fis\_staun |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
130 \item Modeldata fis\_modeldata |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
131 \item Iceclimatology: fis\_eisklimatologie |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
132 \item Ice Station Report: fis\_icestations |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
133 \item SST: fis\_sst |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
134 \item Delphin: fis\_delphin |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
135 \item Thermosalinograph: fis\_thermosalinograph |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
136 \item Chemusurvey: fis\_chemusurvey |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
137 \item GTS: fis\_gts |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
138 \item CTD: fis\_bsh\_ctd |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
139 \item XBT: fis\_bsh\_xbt |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
140 \item SeaCat: is\_seacat |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
141 \item Sea State: fis\_seastate |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
142 \item Current Meter: fis\_currentmeter |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
143 \item Nauthis: fis\_nauthis |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
144 \item Contis: fis\_contis |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
145 \item Marine Features: fis\_marinefeatures |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
146 \end{itemize} |
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
147 |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
148 \subsubsection{Configuration of main Artifact} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
149 For each Artifact-Factory it is necessary to configure one Artifact which will be |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
150 created using the Factory. |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
151 This Artifact is the representation of the specific FIS. |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
152 It contains the Configuration which products will be served for this FIS. |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
153 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
154 The Artifacts are configured in the Section /artifact-database/artifacts of |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
155 the Configurationfile. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
156 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
157 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
158 <artifact name='fis\_marnet'> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
159 <products> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
160 ... |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
161 </products> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
162 </artifact> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
163 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
164 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
165 The Key is to use the same Name for the Artifact as used for the Artifactfactory. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
166 The Name has to be unique. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
167 In the Section /artifact/products it is possible to define several Products as |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
168 explained in the next Section. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
169 |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
170 \paragraph{Products to an FIS} |
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
171 One FIS can provide several Products. |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
172 To do this it is required to configure them as shown below in the Section |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
173 /artifact/products |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
174 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
175 \begin{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
176 <product name= "timeSeries"> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
177 <artifact-factory name="timeSeries" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
178 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
179 ttl="300000" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
180 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
181 de.intevation.gnv.artifacts.GNVArtifactFactory |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
182 </artifact-factory> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
183 <parameters> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
184 <parameter name="sourceid" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
185 value="4"/> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
186 <parameter name="fisname" |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
187 value="fis\_marnet"/> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
188 </parameters> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
189 </product> |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
190 \end{lstlisting} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
191 |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
192 Each Product is also represented by an Artifact. To create this Artifact we have to |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
193 use an Artifact-Factory which is configured in each product |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
194 (/product/artifact-factory). |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
195 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
196 Each Product can have several parameters /product/parameters/parameters. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
197 The Parameter named sourceid and fisname are required Parameters. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
198 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
199 The Parameter fisname contains the key to the Name of the FIS. The Key must be |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
200 unique. |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
201 The Parameter sourceid contains the key to identify the FIS in the |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
202 DataWareHouse. (MEDIAN.SOURCEINFO) |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
203 |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
204 |
910
329a510ba5a2
Added Mapping between the Configuration an the shown Objects in the
Tim Englich <tim.englich@intevation.de>
parents:
909
diff
changeset
|
205 \subsubsection{Configuration of an Product} |
911
11ebb00c8bf4
Added overview of the subject-sepcific configuration and its file structure
Hans Plum <hans.plum@intevation.de>
parents:
910
diff
changeset
|
206 \label{ref:config-a-product} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
207 The Products of the different FIS are also modeled as Artifact-Objects. |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
208 The different Products which are currently available are stored in separate |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
209 Files in the Folder project. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
210 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
211 In those Files the Workflow of each product is configured. Each step which is |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
212 required to model a new diagram is represented using a state in the |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
213 Configuration-File. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
214 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
215 To move between those States it is required to model Transitions which define |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
216 between which States it is possible to move and which conditions must be |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
217 fulfilled. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
218 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
219 The Last step is called OutputState. This State is responsible to generate the |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
220 output for the different Formats which can be served from the Product (Diagram, |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
221 CSV, ODV, WMS,...). |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
222 |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
223 \paragraph{States} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
224 A state is one Step which is required to fetch the Data for generating e.g. an |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
225 Diagram. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
226 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
227 For example in each Product it is Possible to choose one or more Parameters. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
228 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
229 To configure a State you have to use a XML-Fragment as shown below: |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
230 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
231 \begin{lstlisting} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
232 <state id="timeseries_parameter" description="timeseries_parameter" state="de.intevation.gnv.state.DefaultState"> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
233 <queryID>timeseries_parameter</queryID> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
234 <dataname>parameterid</dataname> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
235 <data-multiselect>true</data-multiselect> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
236 <inputvalues> |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
237 ... |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
238 </inputvalues> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
239 </state> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
240 \end{lstlisting} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
241 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
242 At this moment the following Attributes of an Artifact-Factory are configurable. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
243 \begin{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
244 \item id: The Name of the Artifact. Must be unique in one Artifact-Server |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
245 \item description: Short description which Job the Artifactfactory has to do. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
246 \item queryID: The ID of the Query which should be used to fetch the Data |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
247 displayed in this state. All Queries are defined in the File |
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
248 conf/queries.properties |
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
249 \item dataname: The ID of the Data which will be displayed in this State. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
250 The ID will be use to localize the description of the Data. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
251 \item data-multiselect: true it is possible to select 1 or more Items. |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
252 false it is possible to select only one Item. |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
253 \item inputvalues: The Values which can be "feed" to this State and which |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
254 will be used as Values in SQL-statements. |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
255 \end{itemize} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
256 |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
257 \paragraph{Input Values of a State} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
258 At Section /state/inputvalues it is possible to add Definitions for InputValues. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
259 Those values have two meanings for the State. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
260 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
261 \begin{itemize} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
262 \item They were used to fill the SQL-Statements to fetch the Data |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
263 (Each entry replace one ore more "?" ) |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
264 \item They were used to validate the Inputdata which is "feed" to |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
265 the FIS in the current State |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
266 \end{itemize} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
267 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
268 WARNING: The Order of the InputValues is significant at which position the Value will |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
269 be put into the SQL-Statement. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
270 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
271 It is possible to add one InputValue twice or more often to put its value at |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
272 different positions of the SQL-statement. |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
273 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
274 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
275 <inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
276 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="1"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
277 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
278 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
279 </inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
280 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
281 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
282 \begin{itemize} |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
283 \item name: Name of the Value that could be feed or should be used in SQL-statment. |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
284 The name must fit to one dataname configured in this State or one other |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
285 State which was visited before. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
286 \item type: The type of the Value. This is required for the Validation |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
287 of the Value. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
288 This might be String, Integer, Double, Date, Point, LineString, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
289 Polygon, Coordinate, Geometry and AttributeName. |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
290 \item multiselect: true if more than on Value can be feed or put into the SQL-statement. |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
291 false if one on Value will be accepted. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
292 \item usedinquery: Number how often the value should be put into the SQL-Statement: |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
293 0: Value will not out into the Statement. |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
294 1: Value will put once into the Statement, |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
295 2 or more: Value will be put as often as configured |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
296 into the SQL-Statement (this is useful if |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
297 Inner-Selects are used) |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
298 \end{itemize} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
299 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
300 The next part will explain the usage of inputvalues. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
301 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
302 This SQL-statement is configured to use in the State above. |
913
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
303 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
304 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
305 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
306 p.PARAMETERID KEY, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
307 p.GERMANNAME || ' ['|| p.UNIT ||']' VALUE, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
308 p.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
309 FROM MEDIAN.PARAMETER P, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
310 MEDIAN.TIMESERIES TS, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
311 MEDIAN.TIMESERIESVALUE TSV, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
312 MEDIAN.MEASUREMENT M, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
313 MEDIAN.TIMESERIESPOINT TSP |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
314 WHERE M.FEATUREID = TSP.FEATUREID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
315 M.MEASUREMENTID = TSV.MEASUREMENTID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
316 TS.TIMESERIESID = TSV.TIMESERIESID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
317 P.PARAMETERID = TS.PARAMETERID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
318 TSP.FEATUREID = ? |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
319 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
320 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
321 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
322 If there are put the Inputvalues in it it will look like this |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
323 if we assume that the inputvalues has got the following values: |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
324 \begin{itemize} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
325 \item featureid: 4 (Marnet) |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
326 \item fisname: fis\_marnet |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
327 \item parameterid: not set because it's the value that should be |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
328 chosen in this state. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
329 \end{itemize} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
330 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
331 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
332 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
333 p.PARAMETERID KEY, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
334 p.GERMANNAME || ' ['|| p.UNIT ||']' VALUE, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
335 p.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
336 FROM MEDIAN.PARAMETER P, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
337 MEDIAN.TIMESERIES TS, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
338 MEDIAN.TIMESERIESVALUE TSV, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
339 MEDIAN.MEASUREMENT M, |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
340 MEDIAN.TIMESERIESPOINT TSP |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
341 WHERE M.FEATUREID = TSP.FEATUREID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
342 M.MEASUREMENTID = TSV.MEASUREMENTID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
343 TS.TIMESERIESID = TSV.TIMESERIESID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
344 P.PARAMETERID = TS.PARAMETERID AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
345 TSP.FEATUREID = 4 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
346 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
347 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
348 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
349 The value of featureid will be inserted into the Query because |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
350 the Attribute usedinquery is set to "1". |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
351 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
352 The values of the inputvalues fisname and parameterid will be |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
353 excluded because the Attribute usedinquery is set to "0" |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
354 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
355 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
356 If the Attribute usedinquery of the inputvalue featureid is set to "2" |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
357 this might happen. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
358 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
359 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
360 <inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
361 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="2"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
362 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="0"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
363 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
364 </inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
365 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
366 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
367 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
368 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
369 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
370 ... |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
371 TSP.FEATUREID = ? AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
372 TSP.FEATUREID = ? |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
373 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
374 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
375 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
376 This SQL-statement will be modified to |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
377 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
378 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
379 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
380 ... |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
381 TSP.FEATUREID = 4 AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
382 TSP.FEATUREID = 4 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
383 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
384 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
385 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
386 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
387 If the Attribute usedinquery of the inputvalue fisname additionally is set to "1" |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
388 this might happen. |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
389 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
390 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
391 <inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
392 <inputvalue name="featureid" type="Integer" multiselect="false" usedinquery="2"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
393 <inputvalue name="fisname" type="String" multiselect="false" usedinquery="1"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
394 <inputvalue name="parameterid" type="Integer" multiselect="true" usedinquery="0"/> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
395 </inputvalues> |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
396 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
397 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
398 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
399 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
400 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
401 ... |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
402 TSP.FEATUREID = ? AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
403 TSP.FEATUREID = ? AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
404 NOCOLUMNINDB = ? |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
405 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
406 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
407 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
408 This SQL-statement will be modified to |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
409 |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
410 \begin{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
411 SELECT DISTINCT |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
412 ... |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
413 TSP.FEATUREID = 4 AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
414 TSP.FEATUREID = 4 AND |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
415 NOCOLUMNINDB = 'fis\_marnet' |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
416 ORDER BY P.GERMANNAME |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
417 \end{lstlisting} |
2d3c95787578
Added description for Configuration of InputValue of States
Tim Englich <tim.englich@intevation.de>
parents:
912
diff
changeset
|
418 |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
419 |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
420 \paragraph{Transitions} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
421 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
422 To move between two States it is necessary to configure dependencies between |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
423 the different States. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
424 This dependencies are called. Transitions. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
425 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
426 There are different Kind of Transitions which can be used. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
427 \begin{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
428 \item Transitions which only link two States |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
429 \item Transition which link two States with a additional Condition. |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
430 (e.g. If a region was selected in the Regionfilter or not ) |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
431 \end{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
432 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
433 The listing below shows a Transition with an additional Condition. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
434 \begin{lstlisting} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
435 <transition transition="de.intevation.gnv.transition.ValueCompareTransition"> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
436 <from state="timeseries_area"/> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
437 <to state="timeseries_without_geom"/> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
438 <condition inputvalue="areaid" value="n/n" operator="equal"/> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
439 </transition> |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
440 \end{lstlisting} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
441 |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
442 \begin{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
443 \item from: The ID of the State which you have to come from |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
444 \item to: The ID of the State which can be reached. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
445 \item condition: The Condition which have to be fulfilled. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
446 \end{itemize} |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
447 |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
448 \paragraph{Outputstate} |
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
449 |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
450 The OutputState is an special State which was created to define |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
451 the different possibilities of Outputs for each Product. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
452 An OutputState is handled as an State which is described above. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
453 Additionally you are able to configure which kind of outputs should |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
454 be provided. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
455 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
456 There are several OutputStates. Each one is designed to create |
915
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
457 the output for one special Product. |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
458 |
915
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
459 \begin{itemize} |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
460 \item TimeSeries: TimeSeriesOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
461 \item Horizontalprofile: HorizontalProfileOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
462 \item Horizontalprofile on Meshes: HorizontalProfileMeshOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
463 \item Verticalcrosssection:VerticalCrossSectionOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
464 \item Verticalprofiles: VerticalProfileOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
465 \item Horizontalcrosssections: HorizontalCrossSectionMeshOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
466 \item Layer: LayerOutputState |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
467 \end{itemize} |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
468 |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
469 All these Outputstates are Implemented in package de.intevation.gnv.state |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
470 and its subpackages. |
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
471 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
472 You have to put the fullqualified name of the Outputstate to the Attribute State |
915
a6f86fa053a1
Added listing of all supported OutputStates
Tim Englich <tim.englich@intevation.de>
parents:
914
diff
changeset
|
473 as shown below. |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
474 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
475 You can configure an OutputState as shown below: |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
476 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
477 \begin{lstlisting} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
478 <state id="timeseries_calculate_results" description="timeseries_interval" state="de.intevation.gnv.state.timeseries.TimeSeriesOutputState"> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
479 <queryID>timeseries_chart_data</queryID> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
480 ... |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
481 <outputsModes> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
482 <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png"> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
483 ... |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
484 </outputsMode> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
485 </outputsModes> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
486 </state> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
487 \end{lstlisting} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
488 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
489 At Section /state/outputsModes it is possible to add one ore more OutputModes |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
490 to one State as shown in the next Paragraph. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
491 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
492 \paragraph{OutputModes} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
493 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
494 It is possible to configure several OutputModes in one OutputState. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
495 Inserting or deleting the Configuration of an special |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
496 OutputMode will cause that the pending Item will be shown or hidden |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
497 in the GUI. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
498 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
499 WARNING: IT MIGHT BE POSSIBLE THAT ONE OR MORE OUTPUTMODES ARE NOT |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
500 SUPPORTED BY AN PRODUCT. IN THAT CASE IT IS NECESSARY TO |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
501 IMPLEMENT THE REQUIRED FUNCTIONALITY BEFORE IT IS POSSIBLE |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
502 TO OFFER THIS OUTPUTMODE. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
503 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
504 Currently the following OutputModes are supported: |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
505 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
506 \begin{itemize} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
507 \item chart |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
508 \item histogram |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
509 \item csv |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
510 \item odv |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
511 \item statistics |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
512 \item wms |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
513 \item shapefile |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
514 \end{itemize} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
515 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
516 The following Example shows the Configuration for the OutputMode Chart. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
517 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
518 \begin{lstlisting} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
519 <outputsMode name="chart" description="Chartrepresentation of the Values" mime-type="image/png"> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
520 <parameters> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
521 <inputvalue name="width" type="Integer" value="600"/> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
522 <inputvalue name="height" type="Integer" value="400"/> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
523 <inputvalue name="points" type="Boolean" value="false"/> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
524 </parameters> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
525 <exportModes> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
526 <export name="img" description="IMG-Export der Daten" mime-type="image/png" /> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
527 <export name="pdf" description="PDF-Export der Daten" mime-type="application/pdf" /> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
528 <export name="svg" description="SVG-Export der Daten" mime-type="image/svg+xml" /> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
529 </exportModes> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
530 </outputsMode> |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
531 \end{lstlisting} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
532 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
533 // TODO add simple OutputMode e.g. for CSV?? |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
534 |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
535 \begin{itemize} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
536 \item name: The name of the Mode. This must not be changed because it is used |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
537 by the Program. |
909
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
538 \item description: a short description of this OutputMode. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
539 \item parameters: one ore more parameters which will be shown in the GUI e.g. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
540 for changing the Size of an Chart. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
541 \item exportModes: one or more formats which can be served. |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
542 \end{itemize} |
fcde68463722
Added description for Configuration of OutputStates and OutputModes
Tim Englich <tim.englich@intevation.de>
parents:
908
diff
changeset
|
543 |
907
29a675796e76
Added the first descriptions of the Configuration of Artifact-Factories, Artifacts representing a FIS and the Products which can be configured to the different FIS.
Tim Englich <tim.englich@intevation.de>
parents:
906
diff
changeset
|
544 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
545 \subsection{Adding a new FIS} |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
546 In this Section it will be explained which steps has to be done to integrate a |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
547 new FIS into the Artifact-Server. This will be done using the Configuration for |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
548 an FIS which use data from MEDIAN.TIMESERIES Section of the DataWareHouse e.g. |
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
549 MARNET or STAUN |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
550 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
551 Pay attention that for publishing the Changes to the Artifact-Server you will |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
552 have to restart it. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
553 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
554 \subsubsection{Adding a new Artifactfactory} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
555 First step is to add a new Artifactfactory to the Configuration conf/conf.xml |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
556 To do this you have to add a new XML-Fragment into the Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
557 /factories/artifact-factories which look like that: |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
558 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
559 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
560 <artifact-factory name='fis\_NEWFISNAME' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
561 description='Factory to create an artifact to be used with the FIS NEWFISNAME' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
562 ttl='3600000' |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
563 artifact='de.intevation.artifactdatabase.ProxyArtifact'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
564 de.intevation.gnv.artifacts.GNVProductArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
565 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
566 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
567 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
568 In this XML-Fragment you only have to replace the placeholder NEWFISNAME with a |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
569 unique short Name for the new FIS. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
570 |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
571 \paragraph{Example} |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
572 This Example shows how to add an FIS and which effects it took to the |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
573 REST-Server. |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
574 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
575 At first we add the following Artifactfactory into the file conf/conf.xml |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
576 in Section /artifact-database/artifact-factories which add a new |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
577 FIS called justanewfis to the Server: |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
578 |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
579 \begin{lstlisting} |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
580 <artifact-factory name='fis\_justanewfis' |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
581 description='Factory to create an artifact to be used with the FIS NEWFISNAME' |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
582 ttl='3600000' |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
583 artifact='de.intevation.artifactdatabase.ProxyArtifact'> |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
584 de.intevation.gnv.artifacts.GNVProductArtifactFactory |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
585 </artifact-factory> |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
586 \end{lstlisting} |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
587 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
588 Then we restart the Artifact-database executing the following command: |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
589 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
590 \begin{lstlisting} |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
591 /etc/init.d/artifactdb restart |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
592 \end{lstlisting} |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
593 |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
594 Then we check if the new FIS is served by the REST-Server |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
595 calling the following command: |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
596 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
597 \begin{lstlisting} |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
598 curl http://localhost:8181/factories | xmllint --format - | grep fis\_justanewfis |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
599 \end{lstlisting} |
916
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
600 |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
601 If the FIS was added the new Artifactfactory will be found in the generated |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
602 XML-Output and it will be shown. |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
603 Otherwise no XML-Output will be shown. |
a03d2006d7c6
Added Example for adding a new FIS to the REST-Server
Tim Englich <tim.englich@intevation.de>
parents:
915
diff
changeset
|
604 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
605 \subsubsection{Adding a new Artifact for Artifactfactory} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
606 The next Step is to define the Artifact itself. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
607 For this it is necessary to add an XML-Fragment into the Section /artifacts of |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
608 the main Configuration-File /conf/conf.xml |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
609 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
610 <artifact name='fis\_NEWFISNAME'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
611 <products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
612 ... |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
613 </products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
614 </artifact> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
615 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
616 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
617 In this XML- Fragment it is also required to replace the placeholder NEWFISNAME |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
618 with the name which was used to configure the Artifact-Factory. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
619 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
620 Now the ArtifactServer can handle an additional FIS without any Products yet. |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
621 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
622 To prevent needless Configuration-Work it is useful way to clone an Artifact |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
623 which handle the same Kind of work as the new FIS. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
624 |
917
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
625 |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
626 \paragraph{Example} |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
627 Now we will configure an Artifact to the FIS justanewfis. |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
628 |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
629 For this we have to add the following XML-Fragment to the File conf/conf.xml |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
630 in Section /artifact-database/artifacts: |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
631 |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
632 \begin{lstlisting} |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
633 <artifact name='fis\_justanewfis'> |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
634 <products> |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
635 </products> |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
636 </artifact> |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
637 \end{lstlisting} |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
638 |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
639 Restart the Artifact-Database: |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
640 |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
641 \begin{lstlisting} |
917
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
642 /etc/init.d/artifactdb restart |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
643 \end{lstlisting} |
917
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
644 |
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
645 Now we should be able to choose the Artifact. |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
646 |
917
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
647 The Listbox with products will be empty. |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
648 \begin{lstlisting} |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
649 curl -d "@sample-documents/create-artifact.xml" http://localhost:8181/create | xmllint --format - |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
650 \end{lstlisting} |
917
8c813d136298
Added Example for adding a Artifact for the FIS with no Products
Tim Englich <tim.englich@intevation.de>
parents:
916
diff
changeset
|
651 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
652 \subsubsection{Adding removing Products to the specific Artifact} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
653 Now it is Time to configure the different Products which the FIS should be able |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
654 to provide. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
655 To do this it is necessary to Copy the XML-Fragments of the products into the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
656 XML-Element <products> of the previously integrated Artifact. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
657 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
658 <artifact name='fis\_NEWFISNAME'> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
659 <products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
660 <product name= "timeSeries"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
661 <artifact-factory name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
662 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
663 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
664 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
665 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
666 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
667 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
668 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
669 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
670 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
671 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
672 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
673 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
674 <product name= "verticalProfile"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
675 <artifact-factory name="verticalProfile" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
676 description="Artiefactfactory for Instantiating the Artifact for Verticalprofiles on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
677 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
678 artifact="de.intevation.gnv.profile.vertical.VerticalProfileArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
679 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
680 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
681 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
682 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
683 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
684 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
685 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
686 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
687 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
688 </products> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
689 </artifact> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
690 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
691 |
908
babeef4f8480
Added description fpr Configuration of Products, States and Transitions
Tim Englich <tim.englich@intevation.de>
parents:
907
diff
changeset
|
692 In this XML-Fragment you have to replace the placeholders NEWFISNAME as before |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
693 and VALUEOFSOURCEID with the value for the new FIS as defined in the Table |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
694 MEDIAN.SOURCEINFO. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
695 |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
696 \paragraph{Example} |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
697 Now we will add a Product to the new FIS. |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
698 To let the Products work we will choose a Product which |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
699 will contain the sourceid of an existing FIS (e.g 4 Marnet). |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
700 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
701 At first add the following XML-Fragment to the new Artifact. |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
702 \begin{lstlisting} |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
703 <product name= "timeSeries"> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
704 <artifact-factory name="timeSeries" |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
705 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
706 ttl="300000" |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
707 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
708 de.intevation.gnv.artifacts.GNVArtifactFactory |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
709 </artifact-factory> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
710 <parameters> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
711 <parameter name="sourceid" |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
712 value="4"/> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
713 <parameter name="fisname" |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
714 value="fis\_justanewfis"/> |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
715 </parameters> |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
716 </product> |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
717 \end{lstlisting} |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
718 |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
719 Restart the Artifact-Database: |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
720 |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
721 \begin{lstlisting} |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
722 /etc/init.d/artifactdb restart |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
723 \end{lstlisting} |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
724 |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
725 If we call |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
726 \begin{lstlisting} |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
727 curl -d "@sample-documents/create-artifact.xml" http://localhost:8181/create | xmllint --format - |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
728 \end{lstlisting} |
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
729 |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
730 The Product timeSeries should be available for the FIS justanewfis. |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
731 |
919
29a4a1a99a22
Added Sample calls for creating an FIS
Tim Englich <tim.englich@intevation.de>
parents:
918
diff
changeset
|
732 Now we should be able to choose the Product. |
918
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
733 This Product should work and you should be able to generate even the defined |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
734 Outputformats. |
8a63b0d53003
Added Example for adding a new Product to a FIS
Tim Englich <tim.englich@intevation.de>
parents:
917
diff
changeset
|
735 |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
736 \subsection{Adding a new Product} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
737 To add a new Product to the System it is necessary that the required |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
738 Artifact representation is Implemented in the SourceCode. |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
739 Without doing that step it is not possible to create a new Product. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
740 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
741 All Products are configured in separate Files that will be included into the |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
742 main configuration using Xlink-References. |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
743 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
744 First Step is to create a new File in the Folder products and there in the |
920
63bc0044ff72
Fixed some typos. Do some document-styling
Tim Englich <tim.englich@intevation.de>
parents:
919
diff
changeset
|
745 sub-folder where the Product belongs to (timeseries,verticalprofile, |
906
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
746 horizontalprofile,horizontalcrosssection,layer,...) |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
747 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
748 Then you have tor reference this File in the File /conf/conf.xml in the Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
749 /artifacts using the following XML-Fragment. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
750 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
751 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
752 <artifact name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
753 xmlns:xlink="http://www.w3.org/1999/xlink" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
754 xlink:href="${artifacts.config.dir}/products/PATHTOFILE" /> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
755 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
756 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
757 The placeholder PATHTOFILE has to be replaced with the relative Path and the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
758 Name of the File starting in the Folder products. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
759 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
760 Then it is possible to add the product to a FIS as explained in the next section. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
761 Please note that the defined Name of the ArtifactFactory has to match to the |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
762 Name of the added Products which is also designed as an Artifact. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
763 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
764 \subsection{Adding a additional Product to a FIS} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
765 To add a additional Product to a FIS you only have to add the XML-Fragment which |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
766 represents the product to the Artifact-configuration of the FIS in Section |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
767 /artifacts/artifact/products. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
768 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
769 \begin{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
770 <product name= "timeSeries"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
771 <artifact-factory name="timeSeries" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
772 description="Artiefactfactory for Instantiating the Artifact for TimeSeries on TimeSeriesPoints" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
773 ttl="300000" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
774 artifact="de.intevation.gnv.timeseries.TimeSeriesArtifact"> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
775 de.intevation.gnv.artifacts.GNVArtifactFactory |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
776 </artifact-factory> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
777 <parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
778 <parameter name="sourceid" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
779 value="VALUEOFSOURCEID"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
780 <parameter name="fisname" |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
781 value="fis\_NEWFISNAME"/> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
782 </parameters> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
783 </product> |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
784 \end{lstlisting} |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
785 |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
786 Please note that you have to replace the Placeholders as explained above. |
03d58951889e
Added first Part of Documentation for Section Model of Transitions
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
787 |