Author: objectiser
Date: 2008-07-18 05:11:58 -0400 (Fri, 18 Jul 2008)
New Revision: 188
Modified:
cdl/trunk/samples/jbossesb/broker/models/ESBBroker.cdm
Log:
Added conversation type.
Modified: cdl/trunk/samples/jbossesb/broker/models/ESBBroker.cdm
===================================================================
--- cdl/trunk/samples/jbossesb/broker/models/ESBBroker.cdm 2008-07-18 08:15:49 UTC (rev
187)
+++ cdl/trunk/samples/jbossesb/broker/models/ESBBroker.cdm 2008-07-18 09:11:58 UTC (rev
188)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="Cp1252"?>
-<org.pi4soa.cdl:Package xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The
choreography description for ESBBroker" name="ESBBroker"
author="gary" version="0.1"
targetNamespace="http://www.pi4soa.org/ESBBroker">
+<org.pi4soa.cdl:Package xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:org.pi4soa.cdl="http:///org/pi4soa/cdl.ecore" description="The
choreography description for ESBBroker" name="ESBBroker"
author="gary" version="0.2"
targetNamespace="http://www.pi4soa.org/ESBBroker">
<typeDefinitions>
<nameSpaces description="Target Namespace for ESBBroker"
prefix="tns"
uRI="http://www.pi4soa.org/ESBBroker"/>
<nameSpaces description="XML Schema Namespace" prefix="xsd"
uRI="http://www.w3.org/2001/XMLSchema"/>
@@ -14,7 +14,7 @@
<informationTypes description="This is the information type
PurchaseDetails" name="PurchaseDetails"
elementName="purchaseDetails"/>
<informationTypes description="This is the information type Quote"
name="Quote" elementName="quote"/>
<informationTypes description="This is the information type QuoteList"
name="QuoteList" elementName="quoteList"/>
- <informationTypes description="This is the information type
RequestForQuote" name="RequestForQuote" elementName="rfq"/>
+ <informationTypes description="This is the information type
RequestForQuote" name="RequestForQuote"
elementName="requestForQuote"/>
<informationTypes description="This is the information type URIType"
name="URIType"/>
<tokens description="This is the token URI" name="URI"
informationType="//@typeDefinitions/(a)informationTypes.12"/>
<roleTypes description="This is the role type Broker"
name="Broker">
@@ -32,10 +32,12 @@
<relationshipTypes description="Relationship between Broker and
CreditAgency" name="BrokerToCreditAgencyRel"
firstRoleType="//@typeDefinitions/(a)roleTypes.0"
secondRoleType="//@typeDefinitions/(a)roleTypes.2"/>
<relationshipTypes description="Relationship between Broker and
Supplier" name="BrokerToSupplierRel"
firstRoleType="//@typeDefinitions/(a)roleTypes.0"
secondRoleType="//@typeDefinitions/(a)roleTypes.3"/>
<relationshipTypes description="Relationship between Buyer and Broker"
name="BuyerToBrokerRel"
firstRoleType="//@typeDefinitions/(a)roleTypes.1"
secondRoleType="//@typeDefinitions/(a)roleTypes.0"/>
- <participantTypes description="This is the participant type
BrokerParticipant" name="BrokerParticipant"
roleTypes="//@typeDefinitions/(a)roleTypes.0"/>
- <participantTypes description="This is the participant type
BuyerParticipant" name="BuyerParticipant"
roleTypes="//@typeDefinitions/(a)roleTypes.1"/>
- <participantTypes description="This is the participant type
CreditAgencyParticipant" name="CreditAgencyParticipant"
roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
- <participantTypes description="This is the participant type
SupplierParticipant" name="SupplierParticipant"
roleTypes="//@typeDefinitions/(a)roleTypes.3"/>
+ <participantTypes description="This is the participant type Broker"
name="Broker" roleTypes="//@typeDefinitions/(a)roleTypes.0">
+ <semanticAnnotations
annotation="jboss.overlord.samples.LoanBroker@Broker"
name="conversationType"/>
+ </participantTypes>
+ <participantTypes description="This is the participant type Buyer"
name="Buyer" roleTypes="//@typeDefinitions/(a)roleTypes.1"/>
+ <participantTypes description="This is the participant type
CreditAgency" name="CreditAgency"
roleTypes="//@typeDefinitions/(a)roleTypes.2"/>
+ <participantTypes description="This is the participant type Supplier"
name="Supplier" roleTypes="//@typeDefinitions/(a)roleTypes.3"/>
<channelTypes description="This is the channel type BrokerChannelType"
name="BrokerChannelType" referenceToken="//@typeDefinitions/(a)tokens.0"
roleType="//@typeDefinitions/(a)roleTypes.0"/>
<channelTypes description="This is the channel type
CreditAgencyChannelType" name="CreditAgencyChannelType"
referenceToken="//@typeDefinitions/(a)tokens.0"
roleType="//@typeDefinitions/(a)roleTypes.2"/>
<channelTypes description="This is the channel type SupplierChannelType"
name="SupplierChannelType"
referenceToken="//@typeDefinitions/(a)tokens.0"
roleType="//@typeDefinitions/(a)roleTypes.3"/>