<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../../../templates/classz.xsl"?>
<schema title="Flyweight" xmlns="http://www.lepus.org.uk/classz"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.lepus.org.uk/classz ../../../templates/classz.xsd">
	<description>The Flyweight design pattern</description>
	<declarations>
		<declare>
			<variable value="client" />
			<variable value="flyweightFactory" />
			<type value="CLASS" exponent="0" />
		</declare>
		<declare>
			<variable value="Flyweights" />
			<type value="HIERARCHY" exponent="1" />
		</declare>
		<declare>
			<variable value="Requests" />
			<variable value="GetFlyweight" />
			<type value="SIGNATURE" exponent="1" />
		</declare>
	</declarations>
	<formulas>
		<formula>
			<predicatesymbol value="Total" />
			<relationsymbol value="Call" />
			<superimposition>
				<variable value="Requests" />
				<variable value="client" />
			</superimposition>
			<superimposition>
				<variable value="GetFlyweight" />
				<variable value="flyweightFactory" />
			</superimposition>
		</formula>
		<formula>
			<predicatesymbol value="Total" />
			<relationsymbol value="Produce" />
			<superimposition>
				<variable value="GetFlyweight" />
				<variable value="flyweightFactory" />
			</superimposition>
			<variable value="Flyweights" />
		</formula>
		<formula>
			<predicatesymbol value="Total" />
			<relationsymbol value="Aggregate" />
			<variable value="flyweightFactory" />
			<variable value="Flyweights" />
		</formula>
	</formulas>
</schema>
