summaryrefslogtreecommitdiffstats
path: root/report/Chapter5_B.tex
blob: ab2794bdbad24c06bab92c1cdcf88f404a092766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
\subsection{Workflow process WarehouseWarehouse}

\begin {center}
  \includegraphics[width=\textwidth]{YAWL_WarehouseWarehouse.png} \\
\end {center}

\subsubsection{Datatypes}
\begin{verbatim}
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:complexType name="WarehouseInspect">
		<xs:sequence>
			<xs:element name="WarehouseEmployeeID" type="xs:long" />
			<xs:element name="InspectionDate" type="xs:date" />
			<xs:element name="WarehouseID" type="xs:long" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="item">
		<xs:sequence>
			<xs:element name="ProductID" type="xs:long" />
			<xs:element name="ProductName" type="xs:string" />
			<xs:element name="MaxQuantity" type="xs:long" />
			<xs:element name="MinQuantity" type="xs:long" />
			<xs:element name="CurQuantity" type="xs:long" />
			<xs:element name="PurchasePrice" type="xs:double" />
			<xs:element name="RentalPrice" type="xs:double" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="productList">
		<xs:sequence>
			<xs:element maxOccurs="12" minOccurs="10" name="Item" type="item" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="InspectQuantityList">
		<xs:sequence>
			<xs:element maxOccurs="1" minOccurs="1" name="ProductList" type="productList" />
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="GoodsQualityCheckType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Goods in good shape." />
			<xs:enumeration value="Goods not so good shape." />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="GoodsQuantityCheckType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Quantity in good shape." />
			<xs:enumeration value="Quantity not so good shape." />
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="SpaceCheckType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="Space no Good." />
			<xs:enumeration value="Space Good." />
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
\end{verbatim}

\subsubsection{Design Constructs}
\begin{list}{-}
  \item Products have several properties, these properties together form an item. Items are part of a productlist. Several Product Lists are possible.
\end{list}