<?xml version="1.0" encoding="utf-8"?>
<!--
//
//  Method.xml - XML definition for the initial Mocha `Language` system class instance
//
//  Author:
//       Michael Becker <alcexhim@gmail.com>
//
//  Copyright (c) 2020 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="{2826E41F-763A-413F-B239-3D9698AB629F}">
			<instances>
				<instance id="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}" superClassId="&IDC_Class;">
					<translations>
						<!-- Class.has title Translation -->
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Filter Comparison Type" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Class__has__Attribute;">
							<!-- Class.has Attribute -->
							<targetInstances>
								<!-- Name [Text Attribute] -->
								<instanceReference instanceId="&IDA_Name;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Class__instance_labeled_by__String;">
							<!-- Class.instance labeled by String -->
							<targetInstances>
								<instanceReference instanceId="{f476cf7d-050f-4f80-96a1-d6f266edf565}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<!--
				=== INSTANCE TITLING ===
				-->
				<instance id="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Filter Comparison Type.has title Translation -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="has title" />
						<attributeValue attributeInstanceId="&IDA_Singular;" value="true" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Filter Comparison Type` -->
							<targetInstances>
								<instanceReference instanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Translation` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Translation;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="{b632a416-45e1-4e9b-85a1-5614e676dcd1}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{b632a416-45e1-4e9b-85a1-5614e676dcd1}" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Translation.title for Filter Comparison Type -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="title for" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Translation` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Translation;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Filter Comparison Type` -->
							<targetInstances>
								<instanceReference instanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{7449dd7a-0602-4414-9465-ad153ae2c6ea}" classInstanceId="&IDC_ExtractSingleInstanceStringComponent;">
					<relationships>
						<relationship relationshipInstanceId="{5E499753-F50F-4A9E-BF53-DC013820499C}">
							<targetInstances>
								<instanceReference instanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{f476cf7d-050f-4f80-96a1-d6f266edf565}" classInstanceId="&IDC_String;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_String__has__String_Component;">
							<targetInstances>
								<instanceReference instanceId="{7449dd7a-0602-4414-9465-ad153ae2c6ea}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{601a97c4-73a1-4597-8ce4-84b5947a624a}" classInstanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}">
					<translations>
						<translation relationshipInstanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Value specified in this filter" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{47a8d001-11f1-41f1-b028-00ae346487df}" classInstanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}">
					<translations>
						<translation relationshipInstanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Value from another field" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{150845a7-80fa-429b-8eab-5a553408205d}" classInstanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}">
					<translations>
						<translation relationshipInstanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Prompt the user for the value" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{8b943e68-2e31-45e4-8a57-cdec550291e0}" classInstanceId="{b9e7b0fa-76c2-405c-b173-b4f30c714ec1}">
					<translations>
						<translation relationshipInstanceId="{88bf328b-d8db-4fbf-83be-2bfd79e94b09}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Prompt the user for the value and ignore the filter condition if the value is blank" />
							</translationValues>
						</translation>
					</translations>
				</instance>
			</instances>
		</library>
	</libraries>
</mocha>
