                                                                                <!--
/**
 *
 * This sequence file it is a demostration of the xml what can be used
 * to create sequence diagrams into the xmltodiagram tool.
 * this show as well the kind of xml what can be generetad using the
 * codetodiagram to into ouput xml.
 *
 * @package public
 * @subpackage xmlToDiagram
 * @subpackage CodeToDiagram
 * @author Thiago Henrique Ramos da Mata <thiago.henrique.mata@gmail.com>
 */
-->
<sequence>
	<actors>
		<actor id="1" type="user">objWolf:Worf</actor>
		<actor id="2" type="controller">firstLittlePig:Pig</actor>
		<actor id="3" type="controller">secondLittlePig:Pig</actor>
		<actor id="4" type="controller">thirdLittlePig:Pig</actor>
		<actor id="5" type="entity">StrawHouse:House</actor>
		<actor id="6" type="entity">StickHouse:House</actor>
		<actor id="7" type="entity">BrickHouse:House</actor>
		<actor id="8" type="system">:Chimney</actor>
		<actor id="9" type="system">:PotOfWater</actor>
	</actors>
	<messages>
        <!-- building process -->

		<message type="call" from="2" to="5" text="build()">
			<values>
				<value name="comment" value="Because it was the easiest thing to do."/>
			</values>
        </message>
		<message type="return" from="5" to="2" text="ok"/>

		<message type="call" from="3" to="6" text="build()">
			<values>
				<value name="comment" value="This was a little bit stronger than a straw house."/>
			</values>
        </message>
		<message type="return" from="6" to="3" text="ok"/>

		<message type="call" from="4" to="7" text="build()">
			<values>
				<value name="comment" value="Because it was the right thing to do it."/>
			</values>
        </message>
		<message type="return" from="7" to="4" text="ok"/>

        <!-- first pig history -->

        <message type="call" from="1" to="2" text="say">
			<values>
				<value name="text" value="Let me in, Let me in, little pig or I'll huff and I'll puff and I'll blow your house in!"/>
			</values>
        </message>
  		<message type="return" from="2" to="1" text="say">
			<values>
				<value name="text" value="Not by the hair of my chinny chin chin"/>
			</values>
        </message>
		<message type="call" from="1" to="1" text="huff()"/>
		<message type="call" from="1" to="1" text="puff()"/>
		<message type="call" from="1" to="5" text="blow()"/>
		<message type="call" from="5" to="5" text="colapse()"/>
		<message type="call" from="1" to="2" text="eat()"/>

        <!-- second pig history -->

        <message type="call" from="1" to="3" text="say">
			<values>
				<value name="text" value="Let me in, Let me in, little pig or I'll huff and I'll puff and I'll blow your house in!"/>
			</values>
        </message>
  		<message type="return" from="3" to="1" text="say">
			<values>
				<value name="text" value="Not by the hair of my chinny chin chin"/>
			</values>
        </message>
		<message type="call" from="1" to="1" text="huff()"/>
		<message type="call" from="1" to="1" text="puff()"/>
		<message type="call" from="1" to="6" text="blow()"/>
		<message type="call" from="6" to="6" text="colapse()"/>
		<message type="call" from="1" to="3" text="eat()"/>

        <!-- third pig history -->

        <message type="call" from="1" to="4" text="say">
			<values>
				<value name="text" value="Let me in, Let me in, little pig or I'll huff and I'll puff and I'll blow your house in!"/>
			</values>
        </message>
  		<message type="return" from="4" to="1" text="say">
			<values>
				<value name="text" value="Not by the hair of my chinny chin chin"/>
			</values>
        </message>
		<message type="call" from="1" to="1" text="huff()"/>
		<message type="call" from="1" to="1" text="puff()"/>
		<message type="call" from="1" to="7" text="blow()"/>
		<message type="call" from="4" to="9" text="heat()"/>
		<message type="call" from="9" to="9" text="boil()"/>
		<message type="call" from="1" to="8" text="climbDown()"/>
		<message type="call" from="1" to="9" text="fallInto()"/>
		<message type="call" from="1" to="1" text="die()"/>
  		<message type="call" from="4" to="4" text="happyEverAfter()"/>

    </messages>
</sequence>                                                                                
