<?xml version="1.0" encoding="utf-8"?>
<!--
//
//  Element Content.xml - XML definition for the Mocha `Attribute` 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>
				<relationship
					id="&IDR_Element_Content__has__Parameter_Assignment;"
					sourceClassId="&IDC_ElementContent;"
					type="assigns to"
					destinationClassId="&IDC_Parameter;" />
				<relationship
					id="&IDR_Parameter__assigned_from__Element_Content;"
					sourceClassId="&IDC_Parameter;"
					type="assigned from"
					destinationClassId="&IDC_ElementContent;" />
				
				
				<!--
				<relationship
					id="&IDR_Element_Content__has__Element_Content_Derived_Value;"
					sourceClassId="&IDC_ElementContent;"
					type="has"
					destinationClassId="&IDC_ElementContentDerivedValue;"
					/>
				
					Derived Value
					.has update Condition (True, False, Use Any...)
					.has Executable returning Work Data
					.has Boolean Attribute
						`Do Not Update on Construct`
						`Do Not Update on UI Change`
						`Do Not Update on Submit`
					.has default value ???
				-->
				
				<instance id="&IDC_ElementContent;" superClassId="&IDC_Class;">
					<translations>
						<!-- Class.has title Translation -->
						<translation relationshipInstanceId="&IDR_Class__has_title__Translation;">
							<translationValues>
								<translationValue languageInstanceId="&IDI_Language_English;" value="Element Content" />
							</translationValues>
						</translation>
					</translations>
					<relationships>
						<relationship relationshipInstanceId="&IDR_Class__has__Attribute;">
							<targetInstances>
								<instanceReference instanceId="&IDA_Name;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Class__instance_labeled_by__String;">
							<!-- Class `Element Content`.instance labeled by String -->
							<targetInstances>
								<instanceReference instanceId="{b45827b2-ae3a-4a7f-a81d-0428a61b2b43}" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Instance__for__Module;">
							<targetInstances>
								<!-- Module: Mocha Base System -->
								<instanceReference instanceId="&IDI_Module_MochaBaseSystem;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<!-- String: `For Element`[Instance], '/'[Literal], `Order`[Attribute], '/'[Literal], `Data Type` -->
				<instance id="{b45827b2-ae3a-4a7f-a81d-0428a61b2b43}" classInstanceId="&IDC_String;">
					<relationships>
						<relationship relationshipInstanceId="&IDR_String__has__String_Component;">
							<targetInstances>
								<!-- For Element -->
								<instanceReference instanceId="{374a4d88-9bf3-4c11-a106-258570214c92}" />
								<!-- '/' -->
								<instanceReference instanceId="{FEE39766-9A0D-49A2-A29F-45C17989DCF6}" />
								<!-- Order -->
								<instanceReference instanceId="{8d5b822b-7046-4a5f-9954-a5b44a78a8e5}" />
								<!-- '/' -->
								<instanceReference instanceId="{FEE39766-9A0D-49A2-A29F-45C17989DCF6}" />
								<!-- Data Type -->
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{8d5b822b-7046-4a5f-9954-a5b44a78a8e5}" classInstanceId="{623565D5-5AEE-49ED-A5A9-0CFE670507BC}">
					<relationships>
						<relationship relationshipInstanceId="{E15D4277-69FB-4F19-92DB-8D087F361484}">
							<!-- Instance Attribute String Component.has Attribute -->
							<targetInstances>
								<instanceReference instanceId="&IDA_Order;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{374a4d88-9bf3-4c11-a106-258570214c92}" classInstanceId="&IDC_ExtractSingleInstanceStringComponent;">
					<relationships>
						<relationship relationshipInstanceId="{5E499753-F50F-4A9E-BF53-DC013820499C}">
							<!-- Extract Single Instance String Component.has Relationship -->
							<targetInstances>
								<!-- Element Content.for Element -->
								<instanceReference instanceId="{2eff7f58-0edd-40b7-9c06-00774257649e}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				
				<instance id="&IDR_Element__has__Element_Content;" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Element.has Element Content -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="has" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Element` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Element;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Element Content` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_ElementContent;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="&IDR_Element_Content__for__Element;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				<instance id="&IDR_Element_Content__for__Element;" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Element Content.for Element -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="for" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Element Content` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_ElementContent;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Element` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Element;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="&IDR_Element__has__Element_Content;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				
				<instance id="&IDR_Element_Content__has__Instance;" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Element Content.has Instance -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="has" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Element Content` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_ElementContent;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Instance` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Instance;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="&IDR_Instance__for__Element_Content;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="&IDR_Instance__for__Element_Content;" classInstanceId="&IDC_Relationship;">
					<!-- Relationship: Instance.for Element Content -->
					<attributeValues>
						<attributeValue attributeInstanceId="{71106B12-1934-4834-B0F6-D894637BAEED}" value="for" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{7FB5D234-042E-45CB-B11D-AD72F8D45BD3}">
							<!-- .has source Class `Instance` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_Instance;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="{F220F1C2-0499-4E87-A32E-BDBF80C1F8A4}">
							<!-- .has destination Class `Element Content` -->
							<targetInstances>
								<instanceReference instanceId="&IDC_ElementContent;" />
							</targetInstances>
						</relationship>
						<relationship relationshipInstanceId="&IDR_Relationship__has_sibling__Relationship;">
							<!-- .has sibling Relationship -->
							<targetInstances>
								<instanceReference instanceId="&IDR_Element_Content__has__Instance;" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<instance id="{359fec51-d2c9-4aef-ac12-2eb68fd23105}" classInstanceId="&IDC_ElementContent;">
					<attributeValues>
						<attributeValue attributeInstanceId="&IDA_Order;" value="a" />
					</attributeValues>
					<relationships>
						<relationship relationshipInstanceId="{2eff7f58-0edd-40b7-9c06-00774257649e}">
							<targetInstances>
								<instanceReference instanceId="{a7d1d18d-bdd2-4064-b7f1-ed46da342fcc}" />
							</targetInstances>
						</relationship>
					</relationships>
				</instance>
				
				<relationship
					id="{315b71ba-953d-45fc-87e5-4f0a268242a9}"
					sourceClassId="&IDC_ElementContent;"
					type="has"
					destinationClassId="&IDC_Instance;"
					siblingRelationshipId="{88447e02-c2c5-45f7-bc68-42f5119aed02}" />
				
				<relationship
					id="{88447e02-c2c5-45f7-bc68-42f5119aed02}"
					sourceClassId="&IDC_Instance;"
					type="for"
					destinationClassId="&IDC_ElementContent;"
					siblingRelationshipId="{315b71ba-953d-45fc-87e5-4f0a268242a9}" />
				
				<relationship
					id="&IDR_Element_Content__has__Validation;"
					sourceClassId="&IDC_ElementContent;"
					type="has"
					destinationClassId="&IDC_Validation;" />
				<relationship
					id="&IDR_Validation__for__Element_Content;"
					sourceClassId="&IDC_Validation;"
					type="for"
					destinationClassId="&IDC_ElementContent;" />
				
			</instances>
		</library>
	</libraries>
</mocha>
