logo
требования / Zadanie_na_kursovuyu_i_laboratornye_raboty / Методология программной инженерии (курсовая и лабораторные работы) / BPMN2

10.6.7 Gateway Package XML Schemas

Table 10.128 – ComplexGateway XML schema

<xsd:element name="complexGateway" type="tComplexGateway" substitutionGroup="flowElement"/> <xsd:complexType name="tComplexGateway">

<xsd:complexContent> <xsd:extension base="tGateway">

<xsd:sequence>

<xsd:element name="activationCondition" type="tExpression" minOccurs="0" maxOc-

curs="1"/>

</xsd:sequence>

<xsd:attribute name="default" type="xsd:IDREF"/> </xsd:extension>

</xsd:complexContent> </xsd:complexType>

Table 10.129 – EventBasedGateway XML schema

<xsd:element name="eventBasedGateway" type="tEventBasedGateway" substitutionGroup="flowElement"/>

<xsd:complexType name="tEventBasedGateway"> <xsd:complexContent>

<xsd:extension base="tGateway">

<xsd:attribute name="instantiate" type="xsd:boolean" default="false"/>

<xsd:attribute name="eventGatewayType" type="tEventBasedGatewayType" default="Exclu-

sive"/>

</xsd:extension> </xsd:complexContent>

</xsd:complexType>

<xsd:simpleType name="tEventBasedGatewayType"> <xsd:restriction base="xsd:string">

<xsd:enumeration value="Exclusive"/> <xsd:enumeration value="Parallel"/>

</xsd:restriction> </xsd:simpleType>

Table 10.130 – ExclusiveGateway XML schema

<xsd:element name="exclusiveGateway" type="tExclusiveGateway" substitutionGroup="flowElement"/> <xsd:complexType name="tExclusiveGateway">

<xsd:complexContent> <xsd:extension base="tGateway">

<xsd:attribute name="default" type="xsd:IDREF" use="optional"/> </xsd:extension>

</xsd:complexContent>

</xsd:complexType>

Table 10.131 – Gateway XML schema

<xsd:element name="gateway" type="tGateway" abstract="true"/> <xsd:complexType name="tGateway">

<xsd:complexContent>

<xsd:extension base="tFlowElement">

<xsd:attribute name="gatewayDirection" type="tGatewayDirection" default="Unspecified"/> </xsd:extension>