<?xml version="1.0" encoding="utf-8"?>
<!--
//
//  Business__has__Location.xml - XML definition for the `Business.has Location` relationship
//
//  Author:
//       Michael Becker <alcexhim@gmail.com>
//
//  Copyright (c) 2022 Mike Becker's Software
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<mocha xmlns="urn:net.alcetech.schemas.Mocha">
	<libraries>
		<library id="{bb1d56b4-c063-4232-a789-93c8419e2d31}">
			<instances>
				<!-- Business.has Location -->
				<relationship
					id="{10aef1a6-874d-4241-845e-bb65ddcdfe7c}" 
					sourceClassId="{99e73304-5b43-45d1-9bfd-384b47c0a6de}"
					type="has"
					destinationClassId="{07313588-f837-4e8e-84e7-286a877b0ba9}"
					siblingRelationshipId="{716dcb8a-63ec-4176-ab08-9ed0a69a3501}" />
					
				<!-- Location.for Business -->
				<relationship
					id="{716dcb8a-63ec-4176-ab08-9ed0a69a3501}" 
					sourceClassId="{07313588-f837-4e8e-84e7-286a877b0ba9}"
					type="for"
					destinationClassId="{99e73304-5b43-45d1-9bfd-384b47c0a6de}"
					siblingRelationshipId="{10aef1a6-874d-4241-845e-bb65ddcdfe7c}" />
					
				<!-- Get Relationship Methods -->
				<instance id="{e62bc69a-33e2-4dfa-8ce9-ff7cf3d5bd6d}" classInstanceId="&IDC_ReturnInstanceSetMethodBinding;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method_Binding__for__Method;">
							<!-- Method.has Method Binding return instance set method binding [rsmb] -->
							<targetInstances>
								<instanceReference instanceId="{deb1eb20-9ca5-42c1-8a0e-2f0f20be35a5}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{deb1eb20-9ca5-42c1-8a0e-2f0f20be35a5}" classInstanceId="&IDC_GetRelationshipMethod;">
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Verb;" value="get" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{321581d6-60c1-4547-8344-9d5bda027adc}">
							<!-- GR Method. has Relationship -->
							<targetInstances>
								<instanceReference instanceId="{10aef1a6-874d-4241-845e-bb65ddcdfe7c}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method__for__Class;">
							<targetInstances>
								<instanceReference instanceId="{99e73304-5b43-45d1-9bfd-384b47c0a6de}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method__has__Method_Binding;">
							<!-- Method.has Method Binding return instance set method binding [rsmb] -->
							<targetInstances>
								<instanceReference instanceId="{e62bc69a-33e2-4dfa-8ce9-ff7cf3d5bd6d}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{fee5fae8-5060-4594-852d-c47f8b8d2a98}" classInstanceId="&IDC_ReturnInstanceSetMethodBinding;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method_Binding__for__Method;">
							<!-- Method.has Method Binding return instance set method binding [rsmb] -->
							<targetInstances>
								<instanceReference instanceId="{a06269ee-3ea9-4e74-969d-d1391e884f13}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{a06269ee-3ea9-4e74-969d-d1391e884f13}" classInstanceId="&IDC_GetRelationshipMethod;">
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Verb;" value="get" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{321581d6-60c1-4547-8344-9d5bda027adc}">
							<!-- GR Method. has Relationship -->
							<targetInstances>
								<instanceReference instanceId="{716dcb8a-63ec-4176-ab08-9ed0a69a3501}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method__for__Class;">
							<targetInstances>
								<instanceReference instanceId="{99e73304-5b43-45d1-9bfd-384b47c0a6de}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method__has__Method_Binding;">
							<!-- Method.has Method Binding return instance set method binding [rsmb] -->
							<targetInstances>
								<instanceReference instanceId="{fee5fae8-5060-4594-852d-c47f8b8d2a98}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
			</instances>
		</library>
	</libraries>
</mocha>
