<?xml version="1.0" encoding="utf-8"?>
<!--
//
//  StandardReport-AllObjects.xml - XML definition for the initial Mocha `All Objects` system report
//
//  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>
			
				
				<!-- FIXME: ====== vvvv CUT HERE vvvv ====== -->
				<!-- This will be implemented in a separate file , under Class / Methods ... -->
				
				<instance id="&IDC_Class;">
					<relationships>
						<relationship relationshipInstanceId="{2DA28271-5E46-4472-A6F5-910B5DD6F608}">
							<!-- Class.has Method -->
							<targetInstances>
								<!-- get all Instances for Class parm -->
								<instanceReference instanceId="{B6509D59-536A-4514-A797-184AF5C835F4}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{9F2A1BE1-A769-4C01-9D42-A5C772221D8E}" classInstanceId="&IDC_ReturnInstanceSetMethodBinding;">
					<!-- Return Instance Set Method Binding: return all instances where Class instance = 1$1 (Class) [rsmb] -->
					<translations>
						<translation relationshipInstanceId="{940EBFDB-B064-48D7-A55B-873947F4D19A}">
							<!-- Method Binding.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="return all instances of User Login" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method_Binding__for__Method;">
							<!-- Method Binding.for Method -->
							<targetInstances>
								<instanceReference instanceId="{B6509D59-536A-4514-A797-184AF5C835F4}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method_Binding__has__Parameter_Assignment;">
							<!-- assign `Class [CL]` to `Class@get Class(GSI)*P*S` -->
							<targetInstances>
								<instanceReference instanceId="{bc71fae8-4970-4040-abc4-15afbe9a8883}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{bc71fae8-4970-4040-abc4-15afbe9a8883}" classInstanceId="&IDC_ParameterAssignment;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_Parameter_Assignment__assigns_to__Parameter;">
							<targetInstances>
								<instanceReference instanceId="{53675af2-67e1-425f-b121-6f1d4459179a}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Parameter_Assignment__assigns_from__Method_Binding;">
							<targetInstances>
								<!--
									Class@get Class (GSI)*P*S [rsmb]
									================================
									This Get Specific Instance Method returns the class, Class.
								-->
								<instanceReference instanceId="{9ba55e3c-87e1-4330-86e0-1487a0f4a776}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{53675af2-67e1-425f-b121-6f1d4459179a}" classInstanceId="&IDC_Parameter;">
					<!-- Class for Select Instance Set Method -->
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Required;" value="true" />
						<attributeValue attributeInstanceId="&IDA_Null;" value="false" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="{cbf921ce-6c11-4676-b571-ca7ff124f6e6}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Class [CL]" />
							</translationValues>
						</translation>
					</translations>
					<!--
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method_Parameter__has_data_type__Class;">
							<targetInstances>
								<instanceReference instanceId="&IDC_Class;" />
							</targetInstances>
						</relationship>
					</relationships>
					-->
				</instance>
				
				<instance id="{B6509D59-536A-4514-A797-184AF5C835F4}" classInstanceId="&IDC_SelectFromInstanceSetMethod;">
					<!-- Select Instance Set Method -->
					<!-- FIXME: There should only be ONE of these; each Method Binding associates the Class parm for its individual needs -->
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Verb;" value="get" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="{52B65829-4A3F-44FB-BEE8-D9A240F1E9C9}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="all instances for Class parm" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method__has__Method_Parameter;">
							<!-- Method.has Method Parameter -->
							<targetInstances>
								<!-- Class [CL] -->
								<instanceReference instanceId="{53675af2-67e1-425f-b121-6f1d4459179a}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<!-- FIXME: ====== ^^^^ CUT HERE ^^^^ ====== -->
				
				<instance id="{C6C62D56-CD40-474C-B727-44FB1930485A}" classInstanceId="{C46FA477-1F9F-4C5E-A232-8BB3CB70B97D}">
					<!-- Report Data Source: All Classes -->
					<translations>
						<translation relationshipInstanceId="{0B698B22-1E66-46E2-B152-1259333091F2}">
							<!-- Report Data Source.has title Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="All Classes" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{dd0a60fd-7b08-4a2d-b250-c918487e6c29}">
							<!-- Report Data Source.has description Translation -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Accesses the Class as its primary object and returns one row per class. Does not contain any built-in prompts." />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="{2D5CB496-5839-46A0-9B94-30D4E2227B56}">
							<!-- Report Data Source.has source Method -->
							<targetInstances>
								<instanceReference instanceId="{9F2A1BE1-A769-4C01-9D42-A5C772221D8E}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{C970E005-CC0D-4BCC-A5C1-0A5C9034C0FC}" classInstanceId="{4CFB0305-306E-46DF-8B07-03D4C2DE55F9}">
					<!-- Report Facet Option: System -->
					<translations>
						<translation relationshipInstanceId="{3D57D50E-2148-4323-92DF-9B03499A6847}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="System" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{D2E3E144-A024-4A89-86F5-BC664B778898}" classInstanceId="{4CFB0305-306E-46DF-8B07-03D4C2DE55F9}">
					<!-- Report Facet Option: Delivered -->
					<translations>
						<translation relationshipInstanceId="{3D57D50E-2148-4323-92DF-9B03499A6847}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Delivered" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				<instance id="{2579843A-CEB9-482E-8C11-B83279388FDA}" classInstanceId="{4CFB0305-306E-46DF-8B07-03D4C2DE55F9}">
					<!-- Report Facet Option: Custom -->
					<translations>
						<translation relationshipInstanceId="{3D57D50E-2148-4323-92DF-9B03499A6847}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Custom" />
							</translationValues>
						</translation>
					</translations>
				</instance>
				
				<instance id="{89676807-7605-4F77-BD61-4050385E2569}" classInstanceId="{B3CE1406-593F-414B-B000-DD5BA06A30B6}">
					<!-- Report Facet: Object Source -->
					<translations>
						<translation relationshipInstanceId="{D182076B-9804-47E1-9ECA-2D028B623525}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Object Source" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="{9EE30D06-5BF3-406F-B13A-451F5A609046}">
							<!-- Report Facet.has Report Facet Option -->
							<targetInstances>
								<instanceReference instanceId="{C970E005-CC0D-4BCC-A5C1-0A5C9034C0FC}" />
								<instanceReference instanceId="{D2E3E144-A024-4A89-86F5-BC664B778898}" />
								<instanceReference instanceId="{2579843A-CEB9-482E-8C11-B83279388FDA}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{A2AFA688-12D5-43D2-974E-7A5E641AF6B7}" classInstanceId="&IDC_ReportColumn;">
					<!-- Report Column -->
					<relationships>
						<relationship relationshipInstanceId="{B9026910-7E91-4EE1-B5F2-D7B740614831}">
							<!-- Report Column.has Report Field -->
							<targetInstances>
								<instanceReference instanceId="{0D2CC9BE-160D-4D62-A5AE-DAE8AC45DB9B}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{F14C17EC-BFEB-4006-AD38-8B714CE29DC1}" classInstanceId="&IDC_ReportColumn;">
					<!-- Report Column -->
					<relationships>
						<relationship relationshipInstanceId="{B9026910-7E91-4EE1-B5F2-D7B740614831}">
							<!-- Report Column.has Report Field -->
							<targetInstances>
								<instanceReference instanceId="{57ABFD83-0237-4DF7-9429-7C3A32DACD0F}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{68F22DCF-5770-46D2-9A44-8BC1FBD74539}" classInstanceId="&IDC_ReportColumn;">
					<!-- Report Column -->
					<relationships>
						<relationship relationshipInstanceId="{B9026910-7E91-4EE1-B5F2-D7B740614831}">
							<!-- Report Column.has Report Field -->
							<targetInstances>
								<instanceReference instanceId="{5F8A264E-D2B8-40A2-B583-A7ED511C9DD9}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{98FBA1B0-83EE-4648-A76E-CBBDEA3E5812}" classInstanceId="&IDC_ReportColumn;">
					<!-- Report Column -->
					<relationships>
						<relationship relationshipInstanceId="{B9026910-7E91-4EE1-B5F2-D7B740614831}">
							<!-- Report Column.has Report Field -->
							<targetInstances>
								<instanceReference instanceId="{406E63B4-D868-407D-80E8-2A4D32B97772}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="{5521EE93-654B-42BE-9A3C-FF72376D583A}" classInstanceId="&IDC_ReportColumn;">
					<!-- Report Column -->
					<relationships>
						<relationship relationshipInstanceId="{B9026910-7E91-4EE1-B5F2-D7B740614831}">
							<!-- Report Column.has Report Field -->
							<targetInstances>
								<instanceReference instanceId="{420B3000-6B84-4107-9BCF-8B212A4AFB0A}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{41FFF5F0-B467-4986-A6FD-46FAF4A479E9}">
							<!-- Report Column.has Report Column Option -->
							<targetInstances>
								<!-- Display as Count -->
								<instanceReference instanceId="{5C9B4C79-995B-4E6A-81C0-39C174BF9F6D}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{7CA0EFA9-6849-4AAE-BF81-F055C006853B}" classInstanceId="&IDC_StandardReport;">
					<!-- Standard Report: All Classes -->
					<translations>
						<translation relationshipInstanceId="{DF93EFB0-8B5E-49E7-8BC0-553F9E7602F9}">
							<translationValues> 
								<translationValue languageInstanceId="&IDI_Language_English;" value="All Classes" />
							</translationValues>
						</translation>
						<translation relationshipInstanceId="{D5AA18A7-7ACD-4792-B039-6C620A151BAD}">
							<!-- Report.has instructions TTC -->
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="View all classes, their superclasses, and instances available on this tenant" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="{1DE7B484-F9E3-476A-A9D3-7D2A86B55845}">
							<!-- Report.has Report Data Source -->
							<targetInstances>
								<instanceReference instanceId="{C6C62D56-CD40-474C-B727-44FB1930485A}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{EA7C6841-FFE0-4230-95CF-87B3D425DC38}">
							<!-- Report.has Report Facet -->
							<targetInstances>
								<!-- Object Source -->
								<instanceReference instanceId="{89676807-7605-4F77-BD61-4050385E2569}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{7A8F57F1-A4F3-4BAF-84A5-E893FD79447D}">
							<!-- Standard Report.has Report Column -->
							<targetInstances>
								<!-- Primary Object -->
								<instanceReference instanceId="{A2AFA688-12D5-43D2-974E-7A5E641AF6B7}" />
								<!-- Created By -->
								<instanceReference instanceId="{F14C17EC-BFEB-4006-AD38-8B714CE29DC1}" />
								<!-- Object Source -->
								<instanceReference instanceId="{68F22DCF-5770-46D2-9A44-8BC1FBD74539}" />
								<!-- ... -->
								<instanceReference instanceId="{98FBA1B0-83EE-4648-A76E-CBBDEA3E5812}" />
								<instanceReference instanceId="{5521EE93-654B-42BE-9A3C-FF72376D583A}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{cd753e3d-3ab6-4009-99d9-ef8b5e0b4f18}" classInstanceId="&IDC_ReturnInstanceSetMethodBinding;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_Method_Binding__for__Method;">
							<!-- Method.has Method Binding return instance set method binding [rsmb] -->
							<targetInstances>
								<instanceReference instanceId="{20d91bbb-e180-426d-ad7e-8b4141f1fa51}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{20d91bbb-e180-426d-ad7e-8b4141f1fa51}" classInstanceId="&IDC_GetSpecifiedInstancesMethod;">
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Verb;" value="get" />
					</attributeValues>
					<translations>
						<translation relationshipInstanceId="{52B65829-4A3F-44FB-BEE8-D9A240F1E9C9}">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Report Fields for All Classes report" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="{dea1aa0b-2bef-4bac-b4f9-0ce8cf7006fc}">
							<!-- GSI Method.has Instance -->
							<targetInstances>
								<!-- Primary Object -->
								<instanceReference instanceId="{A2AFA688-12D5-43D2-974E-7A5E641AF6B7}" />
								<!-- Created By -->
								<instanceReference instanceId="{F14C17EC-BFEB-4006-AD38-8B714CE29DC1}" />
								<!-- Object Source -->
								<instanceReference instanceId="{68F22DCF-5770-46D2-9A44-8BC1FBD74539}" />
								<!-- ... -->
								<instanceReference instanceId="{98FBA1B0-83EE-4648-A76E-CBBDEA3E5812}" />
								<instanceReference instanceId="{5521EE93-654B-42BE-9A3C-FF72376D583A}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Method__for__Class;">
							<targetInstances>
								<instanceReference instanceId="&IDC_Report;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
			</instances>
		</library>
	</libraries>
</mocha>
