<?xml version="1.0" encoding="utf-8"?>
<!--
 *	CFBam
 *
 *	Copyright (c) 2014-2017 Mark Sobkow
 *	
 *	This program is available as free software under the GNU GPL v2.0, or
 *	under a commercial license from Mark Sobkow.  For commercial licensing
 *	details, please contact msobkow@sasktel.net.
 *	
 *	Under the terms of the GPL:
 *	
 *		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 2.0 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/>.
 *-->
<MSSBam
		xmlns="uri://msscodefactory/mssbam"
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:xs="http://www.w3.org/2001/XMLSchema"
		xsi:schemaLocation="uri://msscodefactory/mssbam file:../bin/xsd/mssbam-2.9.xsd"
		Name="CFBam"
		Revision="2.10"
		Description="CFBam"
		ProjectRoot="net.sourceforge.MSSCodeFactory.CFBam.2.10" >
	<Tld Name="org" >
		<TopDomain Name="apache" >
			<License Name="ApacheV2"
					Description="Apache Version 2 License">
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
    http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</License>
		</TopDomain>
		<TopDomain Name="gnu" >
			<License Name="GplV2"
					Description="GNU GPL v2+ License">
This project 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 2 of the License, or
(at your option) any later version.
.
This project 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 project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="GplV3"
					Description="GNU GPL v3+ License">
This project 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 project 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 project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="LGplV2"
					Description="GNU Lesser/Library GPL v2+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
.
This project 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 Lesser Public License for more details.
.
You should have received a copy of the GNU Lesser Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
			<License Name="LGplV3"
					Description="GNU Lesser/Library GPL v3+ License">
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This project 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 Lesser Public License for more details.
.
You should have received a copy of the GNU Lesser Public License
along with this project.  If not, see http://www.gnu.org/licenses/.</License>
		</TopDomain>
	</Tld>
	<Tld Name="net" >
		<TopDomain Name="sourceforge" >
			<TopProject Name="MSSCodeFactory" >
				<SubProject Name="CFBam" >
					<MajorVersion Name="2" >
						<MinorVersion Name="10" >
<SchemaDef Name="CFBam"
		DbName="CFBam210"
		Description=""
		DefaultLicense="org.apache.ApacheV2"
		ExtendCFCore="true"
		CopyrightHolder="Mark Sobkow"
		CopyrightPeriod="2014-2017"
		AuthorEMail="msobkow@sasktel.net"
		ProjectURL="http://msscodefactory.sourceforge.net/"
		PublishURI="http://msscodefactory.sourceforge.net/model-2.9/net-sourceforge-MSSCodeFactory-CFBam-2-10-CFBam.xml" >

	<SchemaRef Name="CFSecurity"
			RefModelName="net-sourceforge-MSSCodeFactory-CFSecurity-2-10-CFSecurity"
			IncludeRoot="net.sourceforge.MSSCodeFactory.CFSecurity.2.10.CFSecurity" />

	<SchemaRef Name="CFInternet"
			RefModelName="net-sourceforge-MSSCodeFactory-CFInternet-2-10-CFInternet"
			IncludeRoot="net.sourceforge.MSSCodeFactory.CFInternet.2.10.CFInternet" />

	<Id64Gen Name="ChainIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1006"
			BlockSize="1" />

	<StringType Name="DescriptionType"
			IsNullable="false"
			DefaultVisibility="true"
			MaxLen="127"
			ShowLines="1"
			InitValue="" />

	<Id64Gen Name="EnumTagIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1005"
			BlockSize="1" />

	<Id64Gen Name="IndexColIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1002"
			BlockSize="1" />

	<EnumType Name="LoaderBehaviourEnum"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0" >
		<EnumTag Name="Insert" />
		<EnumTag Name="Update" />
		<EnumTag Name="Replace" />
	</EnumType>

	<StringType Name="NameType"
			IsNullable="false"
			DefaultVisibility="true"
			MaxLen="192"
			ShowLines="1"
			InitValue="" />

	<Id64Gen Name="ParamIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1007"
			BlockSize="1" />

	<Id64Gen Name="RelationColIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1003"
			BlockSize="1" />

	<EnumType Name="RelationTypeEnum"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0" >
		<EnumTag Name="Unknown" />
		<EnumTag Name="Lookup" />
		<EnumTag Name="Superclass" />
		<EnumTag Name="Master" />
		<EnumTag Name="Details" />
		<EnumTag Name="Container" />
		<EnumTag Name="Components" />
		<EnumTag Name="Owner" />
		<EnumTag Name="Parent" />
		<EnumTag Name="Children" />
	</EnumType>

	<Id64Gen Name="ScopeIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1001"
			BlockSize="1" />

	<EnumType Name="SecurityScopeEnum"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0" >
		<EnumTag Name="None" />
		<EnumTag Name="System" />
		<EnumTag Name="Cluster" />
		<EnumTag Name="Tenant" />
	</EnumType>

	<Id64Gen Name="ValueIdGen"
			IsNullable="false"
			DefaultVisibility="true"
			MinValue="0"
			InitValue="0"
			NullValue="0"
			Dispenser="Tenant"
			Slice="1004"
			BlockSize="1" />

	<Table Name="Scope"
			TableClassCode="SCOP"
			DbName="scopedef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="ScopeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="scopedef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ScopeTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="scopedef_tenantidx"
				ShortName="Tenant"
				Suffix="TenantIdx"
				Label="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>

		<JavaObjInterface>
</JavaObjInterface>
	</Table>

	<Table Name="SchemaDef"
			TableClassCode="SCHM"
			DbName="schemadef"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="SchemaDefUNameIdx"
			QualTable="ProjectBase"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DomainId"
				Label="Domain Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="DomainIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="12"
				ShowLines="1" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<TableCol Name="DefaultLicenseTenantId"
				Label="Default License Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DefaultLicenseId"
				Label="Default License Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefLcnId"
				DataType="LicenseIdGen" />
		<BoolCol Name="ExtendCFCore"
				Label="Extend CF Core"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<StringCol Name="CopyrightPeriod"
				Label="Copyright Period"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="CopyPerd"
				MaxLen="10"
				ShowLines="1"
				InitValue="2014" />
		<StringCol Name="CopyrightHolder"
				Label="Copyright Holder"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="CopyHold"
				MaxLen="511"
				ShowLines="1"
				InitValue="YourNameHere" />
		<StringCol Name="AuthorEMail"
				Label="Author EMail"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="AuthEMail"
				MaxLen="512"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="ProjectURL"
				Label="Project URL"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="ProjURL"
				MaxLen="1024"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="PublishURI"
				Label="Publish URI"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="PubURI"
				MaxLen="512"
				ShowLines="1"
				InitValue="" />
		<TextCol Name="JSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSchemaObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSchemaObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jdb2_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jdb2_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmssql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmssql_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmysql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmysql_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="joracle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="joracle_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="joracle_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jpgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jpgsql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jpgsql_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsybase_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsybase_import"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jram_soimpl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamSchemaObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jram_imprt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgSchemaImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgschimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgSchemaFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgschfmts"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgClientSchemaImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgcltschimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgClientSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgcltschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrqstschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstSchemaImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrqstschimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrqstschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrqstschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrqstschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrspnschemabody"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnSchemaImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrspnschimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrspnschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrspnschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="javaxmsgrspnschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSchemaObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSchemaObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppdb2_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppdb2_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmssql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmssql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmysql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmysql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpporacle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpporacle_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpporacle_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpppgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpppgsql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpppgsql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsybase_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsybase_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppram_soincl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppram_incrt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgSchemaFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgschfmts"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgClientSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgcltschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgClientSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgcltschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrqstschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrqstschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrqstschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrqstschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrqstschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrspnschemabody"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrspnschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrspnschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrspnschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmsgrspnschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSchemaObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSchemaObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppdb2_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppdb2_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmssql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmssql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmysql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmysql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpporacle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpporacle_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpporacle_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpppgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpppgsql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpppgsql_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsybase_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsybase_include"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamSchemaObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamSchemaObjImpl"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppram_soincl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamSchemaObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppram_incrt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgSchemaFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgschfmts"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgClientSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgcltschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgClientSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgcltschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrqstschbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrqstschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrqstschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrqstschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrqstschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnSchemaBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrspnschemabody"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnSchemaInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrspnschinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnSchemaWireParsers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrspnschwirep"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnSchemaXsdElementList"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrspnschxsdeltlst"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnSchemaXsdSpec"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmsgrspnschxsdspec"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<PrimaryIndex Name="SchemaDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="schemadef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="SchemaDefCTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemadef_ctenantidx"
				ShortName="CTenant"
				Suffix="CTenantIdx"
				Label="CTenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaDefDomainIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemadef_domainidx"
				ShortName="DomainIdx"
				Suffix="DomainIdx"
				Label="DomainIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DomainId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaDefUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="schemadef_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DomainId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaDefaultLicenseIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemadef_xdeflcn"
				Suffix="DefLcnIdx"
				Label="DefLcnIdx" >
			<IndexCol Name="DefaultLicenseTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefaultLicenseId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaAuthorEMailIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemadef_xauthem"
				Suffix="AuthEMailIdx"
				Label="Author EMail Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="AuthorEMail" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaProjectURLIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemadef_xprojurl"
				Suffix="ProjectURLIdx"
				Label="Project URL Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ProjectURL" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaPublishURIIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="schemadef_xupuburi"
				Suffix="PubURIIdx"
				Label="PublishURIIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PublishURI" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="schemadef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="SchemaDefIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="SchemaRef"
			TableClassCode="SCRF"
			DbName="schema_ref"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LoaderBehaviour="Insert"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="SchemaId"
				Label="Schema Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="RefModelName"
				Label="Ref. Model Name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1024"
				ShowLines="1"
				InitValue="" />
		<StringCol Name="IncludeRoot"
				Label="Include Root"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="1024"
				ShowLines="1"
				InitValue="" />
		<TableCol Name="RefSchemaTenantId"
				Label="Ref. Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="RefSchTentId"
				DataType="TenantIdGen" />
		<TableCol Name="RefSchemaId"
				Label="Ref. Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="RefSchId"
				DataType="ScopeIdGen" />
		<TableCol Name="PrevTenantId"
				Label="Prev. Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				Label="Prev. Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="NextTenantId"
				Label="Next Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				Label="Next Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="SchemaRefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="schemaref_pk"
				Suffix="IdIdx"
				Label="SchemaRefIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="SchemaRefSchemaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemaref_schk"
				Suffix="SchemaIdx"
				Label="SchemaIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaRefUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="schemaref_uname"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaRefRefSchemaIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemaref_rsck"
				Suffix="RefSchemaIdx"
				Label="RefSchemaIdx" >
			<IndexCol Name="RefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaRefPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemaref_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="SchemaRefNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="schemaref_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="schemaref_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="SchemaRefIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ServerMethod"
			TableClassCode="SRVM"
			DbName="srvmeth"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="ServerMethodUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<StringCol Name="Suffix"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<BoolCol Name="IsInstanceMethod"
				Label="Is Instance Method"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="inst_meth"
				InitValue="true" />
		<TextCol Name="JMethodBody"
				Label="Java Method Body"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="jmeth_body"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMethodBody"
				Label="C++ Method Body"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="cppmeth_body"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<PrimaryIndex Name="ServerMethodIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvmeth_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ServerMethodUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvmeth_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ServerMethodTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvmeth_tableidx"
				ShortName="Table"
				Suffix="MethTableIdx"
				Label="TableIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ServerMethodDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvmeth_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="srvmeth_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ServerMethodIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ServerObjFunc"
			TableClassCode="SRVO"
			DbName="srvofunc"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<TableCol Name="RetTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="rettentid"
				DataType="TenantIdGen" />
		<TableCol Name="RetTableId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="rettblid"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="ServerObjFuncIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvofunc_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ServerObjFuncRetTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvofunc_rettblk"
				ShortName="RetTblIdx"
				Suffix="RetTblIdx"
				Label="RetTableIdx" >
			<IndexCol Name="RetTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RetTableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="srvofunc_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ServerObjFuncIdIdx"
				ToIndex="ServerMethod.ServerMethodIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ServerProc"
			TableClassCode="SRVP"
			DbName="srvprc"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<StringCol Name="Dummy"
				IsNullable="true"
				DefaultVisibility="false"
				DbName="dmy"
				MaxLen="16"
				ShowLines="1" />
		<PrimaryIndex Name="ServerProcIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvprc_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="srvprc_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ServerProcIdIdx"
				ToIndex="ServerMethod.ServerMethodIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Table"
			TableClassCode="TBLD"
			DbName="tbldef"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="TableUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="SchemaDefId"
				Label="Schema Def. Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="50"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="100"
				ShowLines="1" />
		<BoolCol Name="PageData"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<TableCol Name="PrimaryIndexTenantId"
				Label="Primary Index Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="PrimIdxTentId"
				DataType="TenantIdGen" />
		<TableCol Name="PrimaryIndexId"
				Label="Primary Index Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="PrimIdxId"
				DataType="ScopeIdGen" />
		<StringCol Name="TableClassCode"
				Label="Table Class Code"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="TblClsCd"
				MaxLen="4"
				ShowLines="1"
				InitValue="" />
		<TableCol Name="LookupIndexTenantId"
				Label="Lookup Index Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="LookIdxTentId"
				DataType="TenantIdGen" />
		<TableCol Name="LookupIndexId"
				Label="Lookup Index Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="LookIdxId"
				DataType="ScopeIdGen" />
		<TableCol Name="AltIndexTenantId"
				Label="Alt. Index Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="AltIdxTentId"
				DataType="TenantIdGen" />
		<TableCol Name="AltIndexId"
				Label="Alt. Index Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="AltIdxId"
				DataType="ScopeIdGen" />
		<TableCol Name="QualifyingTenantId"
				Label="Qualifying Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="QualTentId"
				DataType="TenantIdGen" />
		<TableCol Name="QualifyingTableId"
				Label="Qualifying Table Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="QualTblId"
				DataType="ScopeIdGen" />
		<BoolCol Name="PolyBase"
				Label="Polymorphic Base"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="IsInstantiable"
				Label="Is Instantiable"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="HasHistory"
				Label="Has History"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="HasAuditColumns"
				Label="Has Audit Columns"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<TableCol Name="LoaderBehaviour"
				Label="Loader Behaviour"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="LoadBehavId"
				DataType="LoaderBehaviourEnum" />
		<TableCol Name="SecurityScope"
				Label="Security Scope"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="SecScopeId"
				DataType="SecurityScopeEnum" />
		<TextCol Name="JObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_objimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jobj_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JEditObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jedt_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JEditObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jedt_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JEditObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_eobjimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JEditObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jedt_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_imp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableObjImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_objimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_objmemb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_objxface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JTableObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_objimpl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_db2imp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JDb2LUWTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jdb2_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_msimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMSSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmssql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_myimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JMySqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jmysql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_oraimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="joracle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JOracleTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="joracle_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_pgimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jpgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JPgSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jpgsql_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_sybaseimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSybaseTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsybase_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_ramimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JRamTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jram_timpl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSaxLoaderImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jtbl_saxldimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSaxLoaderStartElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsaxstart_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JSaxLoaderEndElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jsaxend_impl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_imp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgTableFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_fmt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_rqstimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_rspnimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgClientTableImport"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_clntimp"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRqstTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_rqstbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgRspnTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_rspnbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="JXMsgClientTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="jxmtbl_clntbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_objinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppobj_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppEditObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppedt_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppEditObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppedt_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppEditObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_eobjinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppEditObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppedt_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_objinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_objmemb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_objxface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppTableObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_objimpl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_db2inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppDb2LUWTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppdb2_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_msinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMSSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmssql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_myinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppMySqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppmysql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_orainc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpporacle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppOracleTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpporacle_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_pginc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpppgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppPgSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpppgsql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_sybaseinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSybaseTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsybase_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_raminc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppRamTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppram_tincl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSaxLoaderInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cpptbl_saxldinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSaxLoaderStartElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsaxstart_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppSaxLoaderEndElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppsaxend_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgTableFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_fmt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_rqstinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_rspninc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgClientTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_clntinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRqstTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_rqstbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgRspnTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_rspnbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="CppXMsgClientTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="cppxmtbl_clntbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_objinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppobj_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppEditObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppedt_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppEditObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppedt_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppEditObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_eobjinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppEditObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppedt_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_xface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableObjInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_objinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableObjMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_objmemb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableObjInterface"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_objxface"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppTableObjImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_objimpl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_db2inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppdb2_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppDb2LUWTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppdb2_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_msinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmssql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMSSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmssql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_myinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmysql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppMySqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppmysql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_orainc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpporacle_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppOracleTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpporacle_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_pginc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpppgsql_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppPgSqlTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpppgsql_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_sybaseinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsybase_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSybaseTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsybase_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_raminc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamTableMembers"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppram_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppRamTableImplementation"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppram_tincl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSaxLoaderInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hpptbl_saxldinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSaxLoaderStartElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsaxstart_memb"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppSaxLoaderEndElement"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppsaxend_incl"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_inc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgTableFormatters"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_fmt"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_rqstinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_rspninc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgClientTableInclude"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_clntinc"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRqstTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_rqstbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgRspnTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_rspnbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<TextCol Name="HppXMsgClientTableBody"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="hppxmtbl_clntbdy"
				MaxLen="2000000"
				ShowLines="10"
				InitValue="" />
		<BoolCol Name="DefaultVisibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="TableIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tbldef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TableSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tbldef_schemaidx"
				ShortName="SchemaDef"
				Suffix="SchemaDefIdx"
				Label="SchemaDefIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tbldef_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="table_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableSchemaCodeIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tabledef_xscd"
				Suffix="SchemaCdIdx"
				Label="SchemaCdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableClassCode" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TablePrimaryIndexIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="def_tbl_xpidx"
				Suffix="PrimaryIndexIdx"
				Label="PrimaryIndexIdx" >
			<IndexCol Name="PrimaryIndexTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrimaryIndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableLookupIndexIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="def_tbl_xlookupidx"
				Suffix="LookupIndexIdx"
				Label="LookupIndexIdx" >
			<IndexCol Name="LookupIndexTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="LookupIndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableAltIndexIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="def_tbl_xaltidx"
				Suffix="AltIndexIdx"
				Label="AltIndexIdx" >
			<IndexCol Name="AltIndexTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="AltIndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableQualifyingTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="def_tbl_xqtblidx"
				Suffix="QualTableIdx"
				Label="Qualifying Table Index" >
			<IndexCol Name="QualifyingTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="QualifyingTableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="def_tbl_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TableIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>

		<JavaObjInterface>
    List&lt;I$SchemaName$RelationObj&gt; getOnlyOwnerRelations();
    List&lt;I$SchemaName$RelationObj&gt; getContainerOwnerRelations();
    I$SchemaName$RelationObj getContainerRelation();
    I$SchemaName$RelationObj getInheritedContainerRelation();
    I$SchemaName$RelationObj getOwnerRelation();
    I$SchemaName$RelationObj getInheritedOwnerRelation();
    List&lt;I$SchemaName$RelationObj&gt; getOwnerLookupRelations();
    List&lt;I$SchemaName$RelationObj&gt; getOwnerContainerNamedLookupChainRelations();
    List&lt;I$SchemaName$AtomObj&gt; getChildrenAtoms();
    I$SchemaName$RelationObj getSuperClassRelation();
    List&lt;I$SchemaName$RelationObj&gt; getSubClassRelations();
    I$SchemaName$IndexObj getPrimaryKeyIndex();
    List&lt;I$SchemaName$RelationObj&gt; getFactoryOwnerRelations();
    List&lt;I$SchemaName$IndexObj&gt; getInheritedIndexes();
    List&lt;I$SchemaName$IndexObj&gt; getChildrenIndexes();
    List&lt;I$SchemaName$RelationObj&gt; getInheritedRelations();
    List&lt;I$SchemaName$RelationObj&gt; getChildrenRelations();
</JavaObjInterface>

		<JavaObjImplementation>
	public List&lt;I$SchemaName$RelationObj&gt; getOnlyOwnerRelations()
	{
		I$SchemaName$TableObj tableDef;
		I$SchemaName$RelationObj relationDef = null;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
				list.add(relationDef);
			}
		}
		
		I$SchemaName$RelationObj superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
				list.add(relationDef);
			}
		}
		
		superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		return (list);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getContainerOwnerRelations()
	{
		I$SchemaName$TableObj tableDef;
		I$SchemaName$RelationObj relationDef = null;
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container ) )
			{
				list.add(relationDef);
			}
		}
		
		I$SchemaName$RelationObj superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				relType = relationDef.getRequiredRelationType();
				if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container ) )
				{
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		return (list);
	}

	public I$SchemaName$RelationObj getContainerRelation()
	{
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
				return (relationDef);
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getInheritedContainerRelation()
	{
		I$SchemaName$RelationObj inheritedContainerRelation = null;
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations;
		I$SchemaName$TableObj tableDef = this;
		while( ( inheritedContainerRelation == null ) &amp;&amp; ( tableDef != null ) ) {
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
					return( relationDef );
				}
			}
			relationDef = tableDef.getSuperClassRelation();
			if( relationDef == null ) {
				tableDef = null;
			}
			else {
				tableDef = relationDef.getRequiredLookupToTable();
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getOwnerRelation()
	{
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
				return (relationDef);
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getInheritedOwnerRelation()
	{
		I$SchemaName$TableObj tableDef = this;
		I$SchemaName$RelationObj inheritedOwnerRelation = null;
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations;
		while( ( inheritedOwnerRelation == null ) &amp;&amp; ( tableDef != null ) ) {
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
					return( relationDef );
				}
			}
			relationDef = tableDef.getSuperClassRelation();
			if( relationDef == null ) {
				tableDef = null;
			}
			else {
				tableDef = relationDef.getRequiredLookupToTable();
			}
		}
		return (null);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getOwnerLookupRelations()
	{
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		I$SchemaName$RelationObj relationDef;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext())
		{
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Lookup )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
			{
				list.add(relationDef);
			}
		}
		return (list);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getOwnerContainerNamedLookupChainRelations()
	{
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		I$SchemaName$RelationObj relationDef;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		List&lt;I$SchemaName$ChainObj&gt; componentChains = getOptionalComponentsChains();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( relType == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
				;
			}
			else if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
				|| ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
			{
				list.add(relationDef);
			}
			else {
				if( ! relationDef.getRequiredIsXsdContainer() ) {
					I$SchemaName$IndexObj toIndex = relationDef.getRequiredLookupToIndex();
					if( toIndex.getRequiredIsUnique() ) {
						boolean referencedByChain = false;
						Iterator&lt;I$SchemaName$ChainObj&gt; iterChain = componentChains.iterator();
						while( ( ! referencedByChain ) &amp;&amp; iterChain.hasNext() ) {
							I$SchemaName$ChainObj chain = iterChain.next();
							if( chain.getRequiredLookupPrevRel() == relationDef ) {
								referencedByChain = true;
							}
							else if( chain.getRequiredLookupNextRel() == relationDef ) {
								referencedByChain = true;
							}
						}
						if( referencedByChain ) {
							list.add( relationDef );
						}
						else {
							I$SchemaName$TableObj toTable = relationDef.getRequiredLookupToTable();
							I$SchemaName$IndexObj lookupIndex = toTable.getOptionalLookupLookupIndex();
							while( ( lookupIndex == null ) &amp;&amp; ( toTable != null ) ) {
								I$SchemaName$RelationObj superRelation = toTable.getSuperClassRelation();
								if( superRelation != null ) {
									toTable = superRelation.getRequiredLookupToTable();
									if( toTable != null ) {
										lookupIndex = toTable.getOptionalLookupLookupIndex();
									}
								}
								else {
									toTable = null;
								}
							}
							if( lookupIndex != null ) {
								list.add( relationDef );
							}
						}
					}
				}
			}
		}
		return (list);
	}

	public List&lt;I$SchemaName$AtomObj&gt; getChildrenAtoms()
	{
		List&lt;I$SchemaName$AtomObj&gt; list = new LinkedList&lt;I$SchemaName$AtomObj&gt;();
		Iterator&lt;I$SchemaName$ValueObj&gt; childrenColumns = getOptionalComponentsColumns().iterator();
		while (childrenColumns.hasNext())
		{
			I$SchemaName$ValueObj colDef = childrenColumns.next();
			if (colDef instanceof I$SchemaName$AtomObj)
			{
				list.add( (I$SchemaName$AtomObj)colDef);
			}
		}
		return (list);
	}

    public I$SchemaName$RelationObj getSuperClassRelation()
    {
        Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
        while (childrenRelations.hasNext())
        {
            I$SchemaName$RelationObj relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                return( relationDef );
            }
        }
        return (null);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getSubClassRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; reverseRelations = getOptionalChildrenReverseRelations().iterator();
        while (reverseRelations.hasNext())
        {
            I$SchemaName$RelationObj reverseRelation = reverseRelations.next();
			if( reverseRelation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                list.add(reverseRelation);
            }
        }
        return (list);
    }

    public I$SchemaName$IndexObj getPrimaryKeyIndex()
    {
        I$SchemaName$IndexObj primaryIndex = getOptionalLookupPrimaryIndex();
        return (primaryIndex);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getFactoryOwnerRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; ownerRelations = getContainerOwnerRelations().iterator();
        while (ownerRelations.hasNext())
        {
            // throw new NotImplementedException();
            I$SchemaName$RelationObj ownerRelation = ownerRelations.next();
			if( ownerRelation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                list.add(ownerRelation);
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getInheritedIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$RelationObj superClassRelation = getSuperClassRelation();
        if (superClassRelation != null)
        {
            Iterator&lt;I$SchemaName$IndexObj&gt; superClassInheritedIndexes
                = superClassRelation.getRequiredLookupToTable().getInheritedIndexes().iterator();
            while (superClassInheritedIndexes.hasNext())
            {
                list.add(superClassInheritedIndexes.next());
            }
            Iterator&lt;I$SchemaName$IndexObj&gt; myIndexes = getChildrenIndexes().iterator();
            while( myIndexes.hasNext() )
            {
                list.add( myIndexes.next() );
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getChildrenIndexes()
    {
        Iterator&lt;I$SchemaName$IndexObj&gt; iter = getOptionalComponentsIndex().iterator();
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        while( iter.hasNext() ) {
        	list.add( iter.next() );
        }
        return( list );
    }

    public List&lt;I$SchemaName$RelationObj&gt; getInheritedRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        I$SchemaName$RelationObj superClassRelation = getSuperClassRelation();
        if (superClassRelation != null)
        {
            Iterator&lt;I$SchemaName$RelationObj&gt; superClassInheritedRelations
                = superClassRelation.getRequiredLookupToTable().getInheritedRelations().iterator();
            while (superClassInheritedRelations.hasNext())
            {
                list.add(superClassInheritedRelations.next());
            }
            Iterator&lt;I$SchemaName$RelationObj&gt; myRelations = getChildrenRelations().iterator();
            while (myRelations.hasNext())
            {
                list.add(myRelations.next());
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getChildrenRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; childrenRelations = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Collection&lt;I$SchemaName$RelationObj&gt; cltn = getOptionalComponentsRelation();
        Iterator&lt;I$SchemaName$RelationObj&gt; iter = cltn.iterator();
        while( iter.hasNext() ) {
        	childrenRelations.add( iter.next() );
        }
        return (childrenRelations);
    }
</JavaObjImplementation>

		<JavaEditObjImplementation>
	public List&lt;I$SchemaName$RelationObj&gt; getOnlyOwnerRelations()
	{
		I$SchemaName$TableObj tableDef;
		I$SchemaName$RelationObj relationDef = null;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
				list.add(relationDef);
			}
		}
		
		I$SchemaName$RelationObj superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
				list.add(relationDef);
			}
		}
		
		superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		return (list);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getContainerOwnerRelations()
	{
		I$SchemaName$TableObj tableDef;
		I$SchemaName$RelationObj relationDef = null;
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container ) )
			{
				list.add(relationDef);
			}
		}
		
		I$SchemaName$RelationObj superClass = getSuperClassRelation();
		while( superClass != null ) {
			tableDef = superClass.getRequiredLookupToTable();
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				relType = relationDef.getRequiredRelationType();
				if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container ) )
				{
					list.add(relationDef);
				}
			}
			superClass = tableDef.getSuperClassRelation();
		}
		
		return (list);
	}

	public I$SchemaName$RelationObj getContainerRelation()
	{
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
				return (relationDef);
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getInheritedContainerRelation()
	{
		I$SchemaName$RelationObj inheritedContainerRelation = null;
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations;
		I$SchemaName$TableObj tableDef = this;
		while( ( inheritedContainerRelation == null ) &amp;&amp; ( tableDef != null ) ) {
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Container ) {
					return( relationDef );
				}
			}
			relationDef = tableDef.getSuperClassRelation();
			if( relationDef == null ) {
				tableDef = null;
			}
			else {
				tableDef = relationDef.getRequiredLookupToTable();
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getOwnerRelation()
	{
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
				return (relationDef);
			}
		}
		return (null);
	}

	public I$SchemaName$RelationObj getInheritedOwnerRelation()
	{
		I$SchemaName$TableObj tableDef = this;
		I$SchemaName$RelationObj inheritedOwnerRelation = null;
		I$SchemaName$RelationObj relationDef;
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations;
		while( ( inheritedOwnerRelation == null ) &amp;&amp; ( tableDef != null ) ) {
			childrenRelations = tableDef.getOptionalComponentsRelation().iterator();
			while (childrenRelations.hasNext()) {
				relationDef = childrenRelations.next();
				if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) {
					return( relationDef );
				}
			}
			relationDef = tableDef.getSuperClassRelation();
			if( relationDef == null ) {
				tableDef = null;
			}
			else {
				tableDef = relationDef.getRequiredLookupToTable();
			}
		}
		return (null);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getOwnerLookupRelations()
	{
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		I$SchemaName$RelationObj relationDef;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext())
		{
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Lookup )
			 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
			{
				list.add(relationDef);
			}
		}
		return (list);
	}

	public List&lt;I$SchemaName$RelationObj&gt; getOwnerContainerNamedLookupChainRelations()
	{
		I$EffSchemaName$Schema.RelationTypeEnum relType;
		I$SchemaName$RelationObj relationDef;
		List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
		List&lt;I$SchemaName$ChainObj&gt; componentChains = getOptionalComponentsChains();
		Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
		while (childrenRelations.hasNext()) {
			relationDef = childrenRelations.next();
			relType = relationDef.getRequiredRelationType();
			if( relType == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
				;
			}
			else if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
				|| ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
			{
				list.add(relationDef);
			}
			else {
				if( ! relationDef.getRequiredIsXsdContainer() ) {
					I$SchemaName$IndexObj toIndex = relationDef.getRequiredLookupToIndex();
					if( toIndex.getRequiredIsUnique() ) {
						boolean referencedByChain = false;
						Iterator&lt;I$SchemaName$ChainObj&gt; iterChain = componentChains.iterator();
						while( ( ! referencedByChain ) &amp;&amp; iterChain.hasNext() ) {
							I$SchemaName$ChainObj chain = iterChain.next();
							if( chain.getRequiredLookupPrevRel() == relationDef ) {
								referencedByChain = true;
							}
							else if( chain.getRequiredLookupNextRel() == relationDef ) {
								referencedByChain = true;
							}
						}
						if( referencedByChain ) {
							list.add( relationDef );
						}
						else {
							I$SchemaName$TableObj toTable = relationDef.getRequiredLookupToTable();
							I$SchemaName$IndexObj lookupIndex = toTable.getOptionalLookupLookupIndex();
							while( ( lookupIndex == null ) &amp;&amp; ( toTable != null ) ) {
								I$SchemaName$RelationObj superRelation = toTable.getSuperClassRelation();
								if( superRelation != null ) {
									toTable = superRelation.getRequiredLookupToTable();
									if( toTable != null ) {
										lookupIndex = toTable.getOptionalLookupLookupIndex();
									}
								}
								else {
									toTable = null;
								}
							}
							if( lookupIndex != null ) {
								list.add( relationDef );
							}
						}
					}
				}
			}
		}
		return (list);
	}

	public List&lt;I$SchemaName$AtomObj&gt; getChildrenAtoms()
	{
		List&lt;I$SchemaName$AtomObj&gt; list = new LinkedList&lt;I$SchemaName$AtomObj&gt;();
		Iterator&lt;I$SchemaName$ValueObj&gt; childrenColumns = getOptionalComponentsColumns().iterator();
		while (childrenColumns.hasNext())
		{
			I$SchemaName$ValueObj colDef = childrenColumns.next();
			if (colDef instanceof I$SchemaName$AtomObj)
			{
				list.add( (I$SchemaName$AtomObj)colDef);
			}
		}
		return (list);
	}

    public I$SchemaName$RelationObj getSuperClassRelation()
    {
        Iterator&lt;I$SchemaName$RelationObj&gt; childrenRelations = getOptionalComponentsRelation().iterator();
        while (childrenRelations.hasNext())
        {
            I$SchemaName$RelationObj relationDef = childrenRelations.next();
			if( relationDef.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                return( relationDef );
            }
        }
        return (null);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getSubClassRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; reverseRelations = getOptionalChildrenReverseRelations().iterator();
        while (reverseRelations.hasNext())
        {
            I$SchemaName$RelationObj reverseRelation = reverseRelations.next();
			if( reverseRelation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                list.add(reverseRelation);
            }
        }
        return (list);
    }

    public I$SchemaName$IndexObj getPrimaryKeyIndex()
    {
        I$SchemaName$IndexObj primaryIndex = getOptionalLookupPrimaryIndex();
        return (primaryIndex);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getFactoryOwnerRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; ownerRelations = getContainerOwnerRelations().iterator();
        while (ownerRelations.hasNext())
        {
            // throw new NotImplementedException();
            I$SchemaName$RelationObj ownerRelation = ownerRelations.next();
			if( ownerRelation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Superclass ) {
                list.add(ownerRelation);
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getInheritedIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$RelationObj superClassRelation = getSuperClassRelation();
        if (superClassRelation != null)
        {
            Iterator&lt;I$SchemaName$IndexObj&gt; superClassInheritedIndexes
                = superClassRelation.getRequiredLookupToTable().getInheritedIndexes().iterator();
            while (superClassInheritedIndexes.hasNext())
            {
                list.add(superClassInheritedIndexes.next());
            }
            Iterator&lt;I$SchemaName$IndexObj&gt; myIndexes = getChildrenIndexes().iterator();
            while( myIndexes.hasNext() )
            {
                list.add( myIndexes.next() );
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getChildrenIndexes()
    {
        Iterator&lt;I$SchemaName$IndexObj&gt; iter = getOptionalComponentsIndex().iterator();
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        while( iter.hasNext() ) {
        	list.add( iter.next() );
        }
        return( list );
    }

    public List&lt;I$SchemaName$RelationObj&gt; getInheritedRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        I$SchemaName$RelationObj superClassRelation = getSuperClassRelation();
        if (superClassRelation != null)
        {
            Iterator&lt;I$SchemaName$RelationObj&gt; superClassInheritedRelations
                = superClassRelation.getRequiredLookupToTable().getInheritedRelations().iterator();
            while (superClassInheritedRelations.hasNext())
            {
                list.add(superClassInheritedRelations.next());
            }
            Iterator&lt;I$SchemaName$RelationObj&gt; myRelations = getChildrenRelations().iterator();
            while (myRelations.hasNext())
            {
                list.add(myRelations.next());
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getChildrenRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; childrenRelations = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Collection&lt;I$SchemaName$RelationObj&gt; cltn = getOptionalComponentsRelation();
        Iterator&lt;I$SchemaName$RelationObj&gt; iter = cltn.iterator();
        while( iter.hasNext() ) {
        	childrenRelations.add( iter.next() );
        }
        return (childrenRelations);
    }
</JavaEditObjImplementation>
	</Table>

	<Table Name="Value"
			TableClassCode="VALU"
			DbName="valdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="ValueUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="ScopeId"
				Label="Scope Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ValueIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<BoolCol Name="IsNullable"
				Label="Is Nullable"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="GenerateId"
				Label="Generate Id"
				IsNullable="true"
				DefaultVisibility="true" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="ValueIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="valdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ValueUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="valdef_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ScopeId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valdef_tenantidx"
				ShortName="Tenant"
				Suffix="ValTentIdx"
				Label="ValueTenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueScopeIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valdef_scopeidx"
				ShortName="Scope"
				Suffix="ScopeIdx"
				Label="ScopeIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ScopeId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="value_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValuePrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valuedef_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valuedef_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueContPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valuedef_xcontprev"
				Suffix="ContPrevIdx"
				Label="ContPrevIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ScopeId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ValueContNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="valuedef_xcontnext"
				Suffix="ContNextIdx"
				Label="ContNextIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ScopeId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>

		<JavaObjInterface>
    List&lt;I$SchemaName$IndexObj&gt; getAffectedIndexes();
    List&lt;I$SchemaName$RelationObj&gt; getAffectedRelations();
    List&lt;I$SchemaName$IndexObj&gt; getAffectedUniqueIndexes();
    List&lt;I$SchemaName$RelationObj&gt; getColumnInMemberRelations();
    List&lt;I$SchemaName$RelationObj&gt; getColumnInComponentsRelations();
    boolean getGenerateId();
</JavaObjInterface>

		<JavaObjImplementation>
    public List&lt;I$SchemaName$IndexObj&gt; getAffectedIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedIndexes() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedIndexes() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$IndexObj&gt; cursorIndexDef = tableDef.getOptionalComponentsIndex().iterator();
        while (cursorIndexDef.hasNext())
        {
            I$SchemaName$IndexObj indexDef = cursorIndexDef.next();

            Iterator&lt;I$SchemaName$IndexColObj&gt; cursorIndexColDef = indexDef.getOptionalComponentsColumns().iterator();
            while (cursorIndexColDef.hasNext())
            {
                I$SchemaName$IndexColObj indexColDef = cursorIndexColDef.next();
                if (indexColDef.getRequiredLookupColumn().equals(this))
                {
                    list.add(indexDef);
                }
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getAffectedRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedRelations() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedRelations() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$RelationObj&gt; cursorRelationDef = tableDef.getOptionalComponentsRelation().iterator();
        while (cursorRelationDef.hasNext())
        {
            I$SchemaName$RelationObj relationDef = cursorRelationDef.next();
            Iterator&lt;I$SchemaName$RelationColObj&gt; cursorRelationColDef = relationDef.getOptionalComponentsColumns().iterator();
            while (cursorRelationColDef.hasNext())
            {
                I$SchemaName$RelationColObj relationColDef = cursorRelationColDef.next();
                if (relationColDef.getRequiredLookupFromCol().equals(this))
                {
                    list.add(relationDef);
                }
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getAffectedUniqueIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; affectedIndexes = getAffectedIndexes();
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedUniqueIndexes() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedUniqueIndexes() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$IndexObj&gt; cursorIndexDef = affectedIndexes.iterator();
        while (cursorIndexDef.hasNext())
        {
            I$SchemaName$IndexObj indexDef = cursorIndexDef.next();
            if (indexDef.getRequiredIsUnique())
            {
                list.add(indexDef);
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getColumnInMemberRelations()
    {
        final String S_ProcName = &quot;RMValueDefObj.getColumnInMemberRelations() &quot;;

        I$SchemaName$ScopeObj scopeDef = (I$SchemaName$ScopeObj)getObjScope();
        if (scopeDef == null)
        {
            throw new RuntimeException(S_ProcName + &quot;OptionalParentScope is required&quot;);
        }
        else if (scopeDef instanceof I$SchemaName$TableObj)
        {
            List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
            Iterator&lt;I$SchemaName$RelationObj&gt; relations = ((I$SchemaName$TableObj)scopeDef).getOptionalComponentsRelation().iterator();
            I$SchemaName$RelationColObj relationCol;
            Iterator&lt;I$SchemaName$RelationColObj&gt; relationColumns;
            I$SchemaName$RelationObj relation;
			I$EffSchemaName$Schema.RelationTypeEnum relType;
            while (relations.hasNext())
            {
                relation = relations.next();
				relType = relation.getRequiredRelationType();
				if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Lookup )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Details )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Components )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Children )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
				{
                    relationColumns = relation.getOptionalComponentsColumns().iterator();
                    while (relationColumns.hasNext())
                    {
                        relationCol = relationColumns.next();
                        if (this == relationCol.getRequiredLookupFromCol())
                        {
                            list.add(relation);
                            break;
                        }
                    }
                }
            }
            return (list);
        }
        else
        {
            throw new RuntimeException(S_ProcName + &quot;Expected scope definition to be an I$SchemaName$TableObj&quot;);
        }
    }

    public List&lt;I$SchemaName$RelationObj&gt; getColumnInComponentsRelations()
    {
        final String S_ProcName = &quot;RMValueDefObj.getColumnInComponentsRelations() &quot;;

        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getColumnInComponentsRelations() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getColumnInComponentsRelations() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }

        I$SchemaName$RelationColObj relationCol;
        I$SchemaName$RelationObj relation;
        Iterator&lt;I$SchemaName$RelationColObj&gt; relationColumns;
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; relations = tableDef.getOptionalComponentsRelation().iterator();

        while( relations.hasNext() ) {
        	relation = relations.next();
			if( relation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Components ) {
                relationColumns = relation.getOptionalComponentsColumns().iterator();
                while (relationColumns.hasNext()) {
                    relationCol = relationColumns.next();
                    if (this == relationCol.getRequiredLookupFromCol()) {
                        list.add(relation);
                        break;
                    }
                }
        	}
        }
        
        return( list );
    }

    public boolean getGenerateId()
    {
        boolean ret;
        if (getOptionalGenerateId() != null )         {
            ret = getOptionalGenerateId().booleanValue();
        }
        else {
            ret = false;
        }
        return (ret);
    }
</JavaObjImplementation>

		<JavaEditObjImplementation>
    public List&lt;I$SchemaName$IndexObj&gt; getAffectedIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedIndexes() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedIndexes() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$IndexObj&gt; cursorIndexDef = tableDef.getOptionalComponentsIndex().iterator();
        while (cursorIndexDef.hasNext())
        {
            I$SchemaName$IndexObj indexDef = cursorIndexDef.next();

            Iterator&lt;I$SchemaName$IndexColObj&gt; cursorIndexColDef = indexDef.getOptionalComponentsColumns().iterator();
            while (cursorIndexColDef.hasNext())
            {
                I$SchemaName$IndexColObj indexColDef = cursorIndexColDef.next();
                if (indexColDef.getRequiredLookupColumn().equals(this))
                {
                    list.add(indexDef);
                }
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getAffectedRelations()
    {
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedRelations() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedRelations() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$RelationObj&gt; cursorRelationDef = tableDef.getOptionalComponentsRelation().iterator();
        while (cursorRelationDef.hasNext())
        {
            I$SchemaName$RelationObj relationDef = cursorRelationDef.next();
            Iterator&lt;I$SchemaName$RelationColObj&gt; cursorRelationColDef = relationDef.getOptionalComponentsColumns().iterator();
            while (cursorRelationColDef.hasNext())
            {
                I$SchemaName$RelationColObj relationColDef = cursorRelationColDef.next();
                if (relationColDef.getRequiredLookupFromCol().equals(this))
                {
                    list.add(relationDef);
                }
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$IndexObj&gt; getAffectedUniqueIndexes()
    {
        List&lt;I$SchemaName$IndexObj&gt; affectedIndexes = getAffectedIndexes();
        List&lt;I$SchemaName$IndexObj&gt; list = new LinkedList&lt;I$SchemaName$IndexObj&gt;();
        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getAffectedUniqueIndexes() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getAffectedUniqueIndexes() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }
        Iterator&lt;I$SchemaName$IndexObj&gt; cursorIndexDef = affectedIndexes.iterator();
        while (cursorIndexDef.hasNext())
        {
            I$SchemaName$IndexObj indexDef = cursorIndexDef.next();
            if (indexDef.getRequiredIsUnique())
            {
                list.add(indexDef);
            }
        }
        return (list);
    }

    public List&lt;I$SchemaName$RelationObj&gt; getColumnInMemberRelations()
    {
        final String S_ProcName = &quot;RMValueDefObj.getColumnInMemberRelations() &quot;;

        I$SchemaName$ScopeObj scopeDef = (I$SchemaName$ScopeObj)getObjScope();
        if (scopeDef == null)
        {
            throw new RuntimeException(S_ProcName + &quot;OptionalParentScope is required&quot;);
        }
        else if (scopeDef instanceof I$SchemaName$TableObj)
        {
            List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
            Iterator&lt;I$SchemaName$RelationObj&gt; relations = ((I$SchemaName$TableObj)scopeDef).getOptionalComponentsRelation().iterator();
            I$SchemaName$RelationColObj relationCol;
            Iterator&lt;I$SchemaName$RelationColObj&gt; relationColumns;
            I$SchemaName$RelationObj relation;
			I$EffSchemaName$Schema.RelationTypeEnum relType;
            while (relations.hasNext())
            {
                relation = relations.next();
				relType = relation.getRequiredRelationType();
				if( ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Lookup )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Master )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Details )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Container )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Components )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Parent )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Children )
				 || ( relType == I$EffSchemaName$Schema.RelationTypeEnum.Owner ) )
				{
                    relationColumns = relation.getOptionalComponentsColumns().iterator();
                    while (relationColumns.hasNext())
                    {
                        relationCol = relationColumns.next();
                        if (this == relationCol.getRequiredLookupFromCol())
                        {
                            list.add(relation);
                            break;
                        }
                    }
                }
            }
            return (list);
        }
        else
        {
            throw new RuntimeException(S_ProcName + &quot;Expected scope definition to be an I$SchemaName$TableObj&quot;);
        }
    }

    public List&lt;I$SchemaName$RelationObj&gt; getColumnInComponentsRelations()
    {
        final String S_ProcName = &quot;RMValueDefObj.getColumnInComponentsRelations() &quot;;

        I$SchemaName$ScopeObj container = getRequiredContainerScope();
        I$SchemaName$TableObj tableDef = null;
        if( container == null ) {
            throw new RuntimeException(&quot;RMValueDefObj.getColumnInComponentsRelations() RequiredContainerScope has no value&quot;);
        }
        else if( container instanceof I$SchemaName$TableObj ) {
        	tableDef = (I$SchemaName$TableObj)container;
        }
        else {
        	throw new RuntimeException( &quot;RMValueDefObj.getColumnInComponentsRelations() RequiredContainerScope is not an I$SchemaName$TableObj&quot;);
        }

        I$SchemaName$RelationColObj relationCol;
        I$SchemaName$RelationObj relation;
        Iterator&lt;I$SchemaName$RelationColObj&gt; relationColumns;
        List&lt;I$SchemaName$RelationObj&gt; list = new LinkedList&lt;I$SchemaName$RelationObj&gt;();
        Iterator&lt;I$SchemaName$RelationObj&gt; relations = tableDef.getOptionalComponentsRelation().iterator();

        while( relations.hasNext() ) {
        	relation = relations.next();
			if( relation.getRequiredRelationType() == I$EffSchemaName$Schema.RelationTypeEnum.Components ) {
                relationColumns = relation.getOptionalComponentsColumns().iterator();
                while (relationColumns.hasNext()) {
                    relationCol = relationColumns.next();
                    if (this == relationCol.getRequiredLookupFromCol()) {
                        list.add(relation);
                        break;
                    }
                }
        	}
        }
        
        return( list );
    }

    public boolean getGenerateId()
    {
        boolean ret;
        if (getOptionalGenerateId() != null )         {
            ret = getOptionalGenerateId().booleanValue();
        }
        else {
            ret = false;
        }
        return (ret);
    }
</JavaEditObjImplementation>
	</Table>

	<Table Name="Atom"
			TableClassCode="ATOM"
			DbName="atomdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<PrimaryIndex Name="AtomIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="atomdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="atomdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="AtomIdIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BlobDef"
			TableClassCode="BLBD"
			DbName="blbdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="2147483647"
				InitValue="100000000" />
		<BlobCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="16384" />
		<BlobCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="16384" />
		<BlobCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="NullVal"
				MaxLen="16384" />
		<BlobCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="16384" />
		<PrimaryIndex Name="BlobDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="blbdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="blbdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BlobDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BlobType"
			TableClassCode="BLBT"
			DbName="blbtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="BlobTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="blbtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="BlobTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="blbtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="blbtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BlobTypeIdIdx"
				ToIndex="BlobDef.BlobDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BoolDef"
			TableClassCode="BOLD"
			DbName="booldef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<BoolCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<BoolCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<StringCol Name="FalseString"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<StringCol Name="TrueString"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<StringCol Name="NullString"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<PrimaryIndex Name="BoolDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="booldef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="booldef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BoolDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BoolType"
			TableClassCode="BOLT"
			DbName="booltyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="BoolTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="booltyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="BoolTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="booltyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="booltyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BoolTypeIdIdx"
				ToIndex="BoolDef.BoolDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Chain"
			TableClassCode="CHN"
			DbName="chain_def"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="ChainUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ChainIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<TableCol Name="TableId"
				Label="Table Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<StringCol Name="Suffix"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1" />
		<TableCol Name="PrevRelationTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="prvreltentid"
				DataType="TenantIdGen" />
		<TableCol Name="PrevRelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="NextRelationTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="nxtreltentid"
				DataType="TenantIdGen" />
		<TableCol Name="NextRelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="ChainIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="chain_pk"
				Suffix="IdIdx"
				Label="ChainIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ChainTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="chain_xtent"
				Suffix="TenantIdx"
				Label="Tenant Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ChainTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="chain_xtbl"
				Suffix="ChainTableIdx"
				Label="TableIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ChainDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="chain_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ChainUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="chain_xuname"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ChainPrevRelIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="chain_xprevrel"
				Suffix="PrevRelIdx"
				Label="PrevRelationIdx" >
			<IndexCol Name="PrevRelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevRelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ChainNextRelIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="chain_xnextrel"
				Suffix="NextRelIdx"
				Label="NextRelationIdx" >
			<IndexCol Name="NextRelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextRelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>

		<JavaObjInterface>
    I$SchemaName$ProjectBaseObj getProject();
    I$SchemaName$TopDomainObj getCompany();
    I$SchemaName$SchemaDefObj getSchemaDef();
    I$SchemaName$VersionObj getVersionLeaf();
    String getVersionString();
    String getPackedVersionString();
	Boolean isColumnInOwnerRelation();
</JavaObjInterface>

		<JavaObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	WORKING: Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaObjImplementation>

		<JavaEditObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	WORKING: Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaEditObjImplementation>
	</Table>

	<Table Name="ClearDep"
			TableClassCode="CLRD"
			DbName="clr_dep"
			ShortName="ClearDep"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="RelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="ClearDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrdep_pk"
				Suffix="IdIdx"
				Label="ClearDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ClearDepRelationIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrdep_xrel"
				Suffix="ClearDepIdx"
				Label="Table Clearetion Dependancy Relation Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearDepDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrdep_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="clrdep_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ClearDepIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ClearSubDep1"
			TableClassCode="CLR1"
			DbName="clrsubdep1"
			ShortName="SubDep1"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ClearTopDepTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdeptid"
				DataType="TenantIdGen" />
		<TableCol Name="ClearTopDepId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdepid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="ClearSubDep1IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep1_pk"
				Suffix="IdIdx"
				Label="ClearSubDep1Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ClearSubDep1ClearTopDepIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrsubdep1_xcdeltopdep"
				Suffix="ClearTopDepIdx"
				Label="Clear Sub Dependancy 1 Container Top Clearetion Dependancy Index" >
			<IndexCol Name="ClearTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearTopDepId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearSubDep1UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep1_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="ClearTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearTopDepId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="clrsubdep1_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ClearSubDep1IdIdx"
				ToIndex="ClearDep.ClearDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ClearSubDep2"
			TableClassCode="CLR2"
			DbName="clrsubdep2"
			ShortName="SubDep2"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ClearSubDep1TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdep1tid"
				DataType="TenantIdGen" />
		<TableCol Name="ClearSubDep1Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdep1id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="ClearSubDep2IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep2_pk"
				Suffix="IdIdx"
				Label="ClearSubDep2Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ClearSubDep2ClearSubDep1Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrsubdep2_xcdeldep1"
				Suffix="ClearSubDep1Idx"
				Label="Clear Sub Dependancy 2 Container Clear Dependancy 1 Index" >
			<IndexCol Name="ClearSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearSubDep1Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearSubDep2UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep2_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="ClearSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearSubDep1Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="clrsubdep2_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ClearSubDep2IdIdx"
				ToIndex="ClearDep.ClearDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ClearSubDep3"
			TableClassCode="CLR3"
			DbName="clrsubdep3"
			ShortName="SubDep3"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ClearSubDep2TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdep2tid"
				DataType="TenantIdGen" />
		<TableCol Name="ClearSubDep2Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contclrdep2id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="ClearSubDep3IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep3_pk"
				Suffix="IdIdx"
				Label="ClearSubDep3Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ClearSubDep3ClearSubDep2Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrsubdep3_xcdeldep2"
				Suffix="ClearSubDep2Idx"
				Label="Clear Sub Dependancy 3 Container Clear Dependancy 2 Index" >
			<IndexCol Name="ClearSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearSubDep2Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearSubDep3UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrsubdep3_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="ClearSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ClearSubDep2Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="clrsubdep3_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ClearSubDep3IdIdx"
				ToIndex="ClearDep.ClearDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="ClearTopDep"
			TableClassCode="CLRT"
			DbName="clr_topdep"
			ShortName="ClrTopDep"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="TableTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="ClearTopDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrtop_pk"
				Suffix="IdIdx"
				Label="ClearTopDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ClearTopDepTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrtop_xctbl"
				Suffix="ClrTopDepTblIdx"
				Label="Table Top Clearetion Dependancy Container Table Index" >
			<IndexCol Name="TableTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearTopDepUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="clrtopdep_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="TableTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearTopDepPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrtopdep_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ClearTopDepNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="clrtopdep_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="clrtopdep_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ClearTopDepIdIdx"
				ToIndex="ClearDep.ClearDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DateDef"
			TableClassCode="DATD"
			DbName="dtdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<DateCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<DateCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<DateCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal" />
		<DateCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal" />
		<DateCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<DateCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="DateDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dtdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="dtdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DateDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DateType"
			TableClassCode="DATT"
			DbName="dttyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DateTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dttyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DateTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dttyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dttyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DateTypeIdIdx"
				ToIndex="DateDef.DateDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DelDep"
			TableClassCode="DELD"
			DbName="del_dep"
			ShortName="DelDep"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="RelationTenantId"
				Label="Relation Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="RelationId"
				Label="Relation Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DelDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="deldep_pk"
				Suffix="IdIdx"
				Label="DelDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DelDepDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="deldep_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelDepRelationIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="deldep_xrel"
				Suffix="DelDepIdx"
				Label="Table Deletion Dependancy Relation Index" >
			<IndexCol Name="RelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="deldep_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DelDepIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DelSubDep1"
			TableClassCode="DEL1"
			DbName="delsubdep1"
			ShortName="SubDep1"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DelTopDepTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DelTopDepId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contdeldepid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="DelSubDep1IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep1_pk"
				Suffix="IdIdx"
				Label="DelSubDep1Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DelSubDep1DelTopDepIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="delsubdep1_xcdeltopdep"
				Suffix="DelTopDepIdx"
				Label="Del Sub Dependancy 1 Container Top Deletion Dependancy Index" >
			<IndexCol Name="DelTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelTopDepId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelSubDep1UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep1_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="DelTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelTopDepId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="delsubdep1_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DelSubDep1IdIdx"
				ToIndex="DelDep.DelDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DelSubDep2"
			TableClassCode="DEL2"
			DbName="delsubdep2"
			ShortName="SubDep2"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DelSubDep1TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DelSubDep1Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contdeldep1id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="DelSubDep2IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep2_pk"
				Suffix="IdIdx"
				Label="DelSubDep2Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DelSubDep2DelSubDep1Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="delsubdep2_xcdeldep1"
				Suffix="ContDelDep1Idx"
				Label="Del Sub Dependancy 2 Container Del Dependancy 1 Index" >
			<IndexCol Name="DelSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelSubDep1Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelSubDep2UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep2_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="DelSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelSubDep1Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="delsubdep2_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DelSubDep2IdIdx"
				ToIndex="DelDep.DelDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DelSubDep3"
			TableClassCode="DEL3"
			DbName="delsubdep3"
			ShortName="SubDep3"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DelSubDep2TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DelSubDep2Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contdeldep2id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="DelSubDep3IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep3_pk"
				Suffix="IdIdx"
				Label="DelSubDep3Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DelSubDep3DelSubDep2Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="delsubdep3_xcdeldep2"
				Suffix="DelSubDep2Idx"
				Label="Del Sub Dependancy 3 Container Del Dependancy 2 Index" >
			<IndexCol Name="DelSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelSubDep2Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelSubDep3UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="delsubdep3_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="DelSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DelSubDep2Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="delsubdep3_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DelSubDep3IdIdx"
				ToIndex="DelDep.DelDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DelTopDep"
			TableClassCode="DELT"
			DbName="del_topdep"
			ShortName="TopDep"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<TableCol Name="TableTenantId"
				Label="Table Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="TableId"
				Label="Table Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="PrevTenantId"
				Label="Prev. Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				Label="Prev. Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="NextTenantId"
				Label="Next Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				Label="Next Id"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DelTopDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="deltop_pk"
				Suffix="IdIdx"
				Label="DelTopDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DelTopDepTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="deltop_xctbl"
				Suffix="DelTopDepTblIdx"
				Label="Table Top Deletion Dependancy Container Table Index" >
			<IndexCol Name="TableTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelTopDepUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="deltop_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="TableTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelTopDepPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="deltopdep_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="DelTopDepNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="deltopdep_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="deltopdep_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DelTopDepIdIdx"
				ToIndex="DelDep.DelDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DoubleDef"
			TableClassCode="DBLD"
			DbName="dbldef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<DoubleCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<DoubleCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<DoubleCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<DoubleCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<DoubleCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<DoubleCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="-22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
				MaxValue="22250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" />
		<PrimaryIndex Name="DoubleDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dbldef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="dbldef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DoubleDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DoubleType"
			TableClassCode="DBLT"
			DbName="dbltyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DoubleTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dbltyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DoubleTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dbltyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dbltyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DoubleTypeIdIdx"
				ToIndex="DoubleDef.DoubleDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="EnumTag"
			TableClassCode="ETG"
			DbName="enum_tag"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="EnumTagIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="EnumId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int16Col Name="EnumCode"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="32767"
				InitValue="0" />
		<StringCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1"
				InitValue="" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="EnumTagIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="EnumTagIdGen" />
		<PrimaryIndex Name="EnumTagIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="enumtag_pk"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="EnumTagTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtag_xtenant"
				Suffix="EnumTagTenantIdx"
				Label="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="EnumTagEnumIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtag_xenum"
				Suffix="EnumIdx"
				Label="EnumIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="EnumId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="EnumTagDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtag_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="EnumTagEnumNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="enumtag_uenumnm"
				Suffix="EnumNameIdx"
				Label="EnumNameIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="EnumId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="EnumTagPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtag_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="EnumTagNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtag_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="FloatDef"
			TableClassCode="FLTD"
			DbName="fltdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<FloatCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<FloatCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<FloatCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<FloatCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<FloatCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<FloatCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="-11739999965399884000000000000000000000"
				MaxValue="11739999965399884000000000000000000000" />
		<PrimaryIndex Name="FloatDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="fltdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="fltdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="FloatDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="FloatType"
			TableClassCode="FLTT"
			DbName="flttyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="FloatTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="flttyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FloatTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="flttyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="flttyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="FloatTypeIdIdx"
				ToIndex="FloatDef.FloatDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Index"
			TableClassCode="IDXD"
			DbName="idxdef"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="IndexUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<StringCol Name="Suffix"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1" />
		<BoolCol Name="IsUnique"
				Label="Is Unique"
				IsNullable="false"
				DefaultVisibility="true" />
		<BoolCol Name="IsDbMapped"
				Label="Is Db Mapped"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="IndexIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idxdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="IndexUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idxdef_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxdef_tenantidx"
				ShortName="TenantIdx"
				Suffix="IndexTenantIdx"
				Label="IndexTenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxdef_tableidx"
				ShortName="Table"
				Suffix="IdxTableIdx"
				Label="TableIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="index_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="index_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="IndexIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="IndexCol"
			TableClassCode="IDXC"
			DbName="idxcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="IndexColUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="IndexId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="IndexColIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<TableCol Name="ColumnId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<BoolCol Name="IsAscending"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="true" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="IndexColIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="IndexColIdGen" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="IndexColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idxcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="IndexColUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idxcol_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="IndexId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_tenantidx"
				ShortName="Tenant"
				Suffix="IdxColTenantIdx"
				Label="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColIndexIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_indexidx"
				ShortName="Index"
				Suffix="IndexIdx"
				Label="IndexIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="IndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColColumnIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_col_def"
				Suffix="ColIdx"
				Label="ColIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ColumnId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColIndexPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_xidxprev"
				Suffix="IdxPrevIdx"
				Label="IndexPrevIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="IndexId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="IndexColIndexNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idxcol_xidxnext"
				Suffix="IdxNextIdx"
				Label="IndexNextIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="IndexId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="Int16Def"
			TableClassCode="I16D"
			DbName="int16def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int16Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="-32768"
				MaxValue="32767" />
		<Int16Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="-32768"
				MaxValue="32767" />
		<Int16Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="-32768"
				MaxValue="32767" />
		<Int16Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="-32768"
				MaxValue="32767" />
		<Int16Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="-32768"
				MaxValue="32767" />
		<Int16Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="-32768"
				MaxValue="32767" />
		<PrimaryIndex Name="Int16DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int16def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="int16def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int16DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int16Type"
			TableClassCode="I16T"
			DbName="int16typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int16TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int16typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int16TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int16typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int16typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int16TypeIdIdx"
				ToIndex="Int16Def.Int16DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int32Def"
			TableClassCode="I32D"
			DbName="int32def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<Int32Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<Int32Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<Int32Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<Int32Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<Int32Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="-2147483648"
				MaxValue="2147483647" />
		<PrimaryIndex Name="Int32DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int32def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="int32def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int32DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int32Type"
			TableClassCode="I32T"
			DbName="int32typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int32TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int32typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int32TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int32typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int32typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int32TypeIdIdx"
				ToIndex="Int32Def.Int32DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int64Def"
			TableClassCode="I64D"
			DbName="int64def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int64Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<Int64Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<Int64Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<Int64Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<Int64Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<Int64Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="-9223372036854775808"
				MaxValue="9223372036854775807" />
		<PrimaryIndex Name="Int64DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int64def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="int64def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int64DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int64Type"
			TableClassCode="I64T"
			DbName="int64typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int64TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int64typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int64TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int64typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int64typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int64TypeIdIdx"
				ToIndex="Int64Def.Int64DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokenDef"
			TableClassCode="NTKD"
			DbName="nmtkndef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="2147483647"
				InitValue="0" />
		<NmTokenCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="64"
				ShowLines="1" />
		<NmTokenCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="64"
				ShowLines="1" />
		<NmTokenCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<NmTokenCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="64"
				ShowLines="1" />
		<Int16Col Name="ShowLines"
				Label="Show Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="300"
				InitValue="1" />
		<PrimaryIndex Name="NmTokenDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtkndef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtkndef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokenDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokenType"
			TableClassCode="NTKT"
			DbName="nmtkntyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NmTokenTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtkntyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NmTokenTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="nmtkntyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtkntyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokenTypeIdIdx"
				ToIndex="NmTokenDef.NmTokenDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokensDef"
			TableClassCode="NTSD"
			DbName="nmtknsdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="2147483647"
				InitValue="0" />
		<NmTokensCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="256"
				ShowLines="1" />
		<NmTokensCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="256"
				ShowLines="1" />
		<NmTokensCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="256"
				ShowLines="1" />
		<NmTokensCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="256"
				ShowLines="1" />
		<Int16Col Name="ShowLines"
				Label="Show Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="300"
				InitValue="1" />
		<PrimaryIndex Name="NmTokensDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtknsdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtknsdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokensDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokensType"
			TableClassCode="NTST"
			DbName="nmtknstyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NmTokensTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtknstyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NmTokensTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="nmtknstyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtknstyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokensTypeIdIdx"
				ToIndex="NmTokensDef.NmTokensDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NumberDef"
			TableClassCode="NUMD"
			DbName="numdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int16Col Name="Digits"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="31"
				InitValue="16" />
		<Int16Col Name="Precis"
				Label="Precision"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="30"
				InitValue="0" />
		<NumberCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				Digits="31"
				Precis="5" />
		<NumberCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				Digits="31"
				Precis="5" />
		<NumberCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				Digits="31"
				Precis="5" />
		<NumberCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				Digits="31"
				Precis="5" />
		<NumberCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="NullVal"
				Digits="31"
				Precis="5" />
		<NumberCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				Digits="31"
				Precis="5" />
		<PrimaryIndex Name="NumberDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="numdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="numdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NumberDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NumberType"
			TableClassCode="NUMT"
			DbName="numtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NumberTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="numtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NumberTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="numtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="numtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NumberTypeIdIdx"
				ToIndex="NumberDef.NumberDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Param"
			TableClassCode="SPRM"
			DbName="srvprm"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="ServerMethodId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="srvmeth_id"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ParamIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<BoolCol Name="IsNullable"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<TableCol Name="TypeTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="TpTentId"
				DataType="TenantIdGen" />
		<TableCol Name="TypeId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="TpId"
				DataType="ValueIdGen" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ParamIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ParamIdGen" />
		<PrimaryIndex Name="ParamIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvprm_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ParamUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvprm_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ServerMethodId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_tenantidx"
				ShortName="Tenant"
				Suffix="ValTentIdx"
				Label="ValueTenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamServerMethodIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_srvmethk"
				Suffix="ServerMethodIdx"
				Label="ServerMethodIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ServerMethodId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamTypeIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_typek"
				Suffix="ServerTypeIdx"
				Label="ServerTypeIdx" >
			<IndexCol Name="TypeTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TypeId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamContPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_xcontprev"
				Suffix="ContPrevIdx"
				Label="ContPrevIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ServerMethodId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="ParamContNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvprm_xcontnext"
				Suffix="ContNextIdx"
				Label="ContNextIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ServerMethodId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
	</Table>

	<Table Name="PopDep"
			TableClassCode="POPD"
			DbName="pop_dep"
			ShortName="PopDep"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="RelationTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="RelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="PopDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popdep_pk"
				Suffix="IdIdx"
				Label="PopDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PopDepRelationIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="popdep_xrel"
				Suffix="RelationIdx"
				Label="Relation Population Dependancy Relation Index" >
			<IndexCol Name="RelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PopDepDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="popdep_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="popdep_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="PopDepIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="PopSubDep1"
			TableClassCode="POP1"
			DbName="popsubdep1"
			ShortName="SubDep1"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="PopTopDepTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PopTopDepId"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contpopdepid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="PopSubDep1IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep1_pk"
				Suffix="IdIdx"
				Label="PopSubDep1Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PopSubDep1PopTopDepIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="popsubdep1_xcpoptopdep"
				Suffix="PopTopDepIdx"
				Label="Pop Sub Dependancy 1 Container Top Population Dependancy Index" >
			<IndexCol Name="PopTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopTopDepId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PopSubDep1UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep1_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="PopTopDepTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopTopDepId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="popsubdep1_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="PopSubDep1IdIdx"
				ToIndex="PopDep.PopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="PopSubDep2"
			TableClassCode="POP2"
			DbName="popsubdep2"
			ShortName="SubDep2"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="PopSubDep1TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PopSubDep1Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contpopdep1id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="PopSubDep2IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep2_pk"
				Suffix="IdIdx"
				Label="PopSubDep2Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PopSubDep2PopSubDep1Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="popsubdep2_xcpopdep1"
				Suffix="PopSubDep1Idx"
				Label="Pop Sub Dependancy 2 Container Pop Dependancy 1 Index" >
			<IndexCol Name="PopSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopSubDep1Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PopSubDep2UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep2_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="PopSubDep1TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopSubDep1Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="popsubdep2_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="PopSubDep2IdIdx"
				ToIndex="PopDep.PopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="PopSubDep3"
			TableClassCode="POP3"
			DbName="popsubdep3"
			ShortName="SubDep3"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="PopSubDep2TenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PopSubDep2Id"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="contpopdep2id"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="PopSubDep3IdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep3_pk"
				Suffix="IdIdx"
				Label="PopSubDep3Idx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PopSubDep3PopSubDep2Idx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="popsubdep3_xcpopdep2"
				Suffix="PopSubDep2Idx"
				Label="Pop Sub Dependancy 3 Container Pop Dependancy 2 Index" >
			<IndexCol Name="PopSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopSubDep2Id" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PopSubDep3UNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="popsubdep3_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="PopSubDep2TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PopSubDep2Id" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="popsubdep3_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="PopSubDep3IdIdx"
				ToIndex="PopDep.PopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="PopTopDep"
			TableClassCode="POPT"
			DbName="pop_topdep"
			ShortName="TopDep"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ContRelationTenantId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="ContRelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<PrimaryIndex Name="PopTopDepIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="poptop_pk"
				Suffix="IdIdx"
				Label="PopTopDepIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="PopTopDepContRelationIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="poptop_xcrel"
				Suffix="ContRelIdx"
				Label="Relation Top Population Dependancy Container Relation Index" >
			<IndexCol Name="ContRelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ContRelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="PopTopDepUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="poptop_uname"
				Suffix="UNameIdx" >
			<IndexCol Name="ContRelationTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ContRelationId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="poptop_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="PopTopDepIdIdx"
				ToIndex="PopDep.PopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Relation"
			TableClassCode="RELD"
			DbName="reldef"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="RelationUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<TableCol Name="RelationType"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="RelationTypeEnum" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<StringCol Name="Suffix"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="16"
				ShowLines="1" />
		<TableCol Name="FromIndexId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ToTableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="ToIndexId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<BoolCol Name="IsRequired"
				Label="Is Required"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="IsAbstract"
				Label="Is Abstract"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<BoolCol Name="IsXsdContainer"
				Label="Is XSD Container"
				IsNullable="false"
				DefaultVisibility="true"
				InitValue="false" />
		<TableCol Name="NarrowedTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NarrowedId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="RelationIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="reldef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="RelationUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="reldef_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_tenantidx"
				ShortName="TenantIdx"
				Suffix="RelnTenantIdx"
				Label="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_tableidx"
				ShortName="Table"
				Suffix="RelTableIdx"
				Label="TableIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationFromKeyIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_xfromkey"
				Suffix="FromKeyIdx"
				Label="FromKeyIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FromIndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationToTblIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_xtotbl"
				Suffix="ToTblIdx"
				Label="ToTblIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ToTableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationToKeyIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_xtokey"
				Suffix="ToKeyIdx"
				Label="ToKeyIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ToIndexId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationNarrowedIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="reldef_xnarrowed"
				Suffix="NarrowedIdx"
				Label="NarrowedIdx" >
			<IndexCol Name="NarrowedTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NarrowedId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="reldef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="RelationIdIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>

		<JavaObjInterface>
    I$SchemaName$ProjectBaseObj getProject();
    I$SchemaName$TopDomainObj getCompany();
    I$SchemaName$SchemaDefObj getSchemaDef();
    I$SchemaName$VersionObj getVersionLeaf();
    String getVersionString();
    String getPackedVersionString();
	Boolean isColumnInOwnerRelation();
</JavaObjInterface>

		<JavaObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaObjImplementation>

		<JavaEditObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaEditObjImplementation>
	</Table>

	<Table Name="RelationCol"
			TableClassCode="RELC"
			DbName="relcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			LookupIndex="RelationColUNameIdx"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="RelationId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="RelationColIdGen" />
		<TableCol Name="DefSchemaTenantId"
				Label="Defining Schema Tenant Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschtentid"
				DataType="TenantIdGen" />
		<TableCol Name="DefSchemaId"
				Label="Defining Schema Id"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="defschid"
				DataType="ScopeIdGen" />
		<TableCol Name="Name"
				DbName="safe_name"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="NameType" />
		<StringCol Name="ShortName"
				Label="Short Name"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_name"
				MaxLen="16"
				ShowLines="1" />
		<StringCol Name="Label"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<StringCol Name="ShortDescription"
				Label="Short Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="short_descr"
				MaxLen="128"
				ShowLines="1" />
		<StringCol Name="Description"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="descr"
				MaxLen="1023"
				ShowLines="1" />
		<TableCol Name="FromColId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="IndexColIdGen" />
		<TableCol Name="ToColId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="IndexColIdGen" />
		<TableCol Name="PrevTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="PrevId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="RelationColIdGen" />
		<TableCol Name="NextTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="NextId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="RelationColIdGen" />
		<BoolCol Name="DefaultVisibility"
				Label="Default Visibility"
				IsNullable="false"
				DefaultVisibility="true"
				DbName="dflt_vis"
				InitValue="true" />
		<PrimaryIndex Name="RelationColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="relcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="RelationColUNameIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="relcol_xuname"
				ShortName="UName"
				Suffix="UNameIdx"
				Label="Unique Name Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Name" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColTenantIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_tenantidx"
				ShortName="Tenant"
				Suffix="RelColTenantIdx"
				Label="TenantIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColRelationIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_relk"
				Suffix="RelationIdx"
				Label="RelationIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColDefSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_defschidx"
				ShortName="DefSchema"
				Suffix="DefSchemaIdx"
				Label="Defining Schema Index" >
			<IndexCol Name="DefSchemaTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DefSchemaId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColFromColIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_fromk"
				Suffix="FromColIdx"
				Label="FromColIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="FromColId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColToColIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_tok"
				Suffix="ToColIdx"
				Label="ToColIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="ToColId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_xprev"
				Suffix="PrevIdx"
				Label="PrevIdx" >
			<IndexCol Name="PrevTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_xnext"
				Suffix="NextIdx"
				Label="NextIdx" >
			<IndexCol Name="NextTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColRelationPrevIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_xrelprev"
				Suffix="RelPrevIdx"
				Label="RelationPrevIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="PrevId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="RelationColRelationNextIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="relcol_xrelnext"
				Suffix="RelNextIdx"
				Label="RelationNextIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RelationId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="NextId" IsAscending="true" DefaultVisibility="true" />
		</Index>

		<JavaObjInterface>
    I$SchemaName$ProjectBaseObj getProject();
    I$SchemaName$TopDomainObj getCompany();
    I$SchemaName$SchemaDefObj getSchemaDef();
    I$SchemaName$VersionObj getVersionLeaf();
    String getVersionString();
    String getPackedVersionString();
	Boolean isColumnInOwnerRelation();
</JavaObjInterface>

		<JavaObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaObjImplementation>

		<JavaEditObjImplementation>
    public I$SchemaName$ProjectBaseObj getProject()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope() ) {
            if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return ((I$SchemaName$ProjectBaseObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$TopDomainObj getCompany()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$TopDomainObj) {
                return ((I$SchemaName$TopDomainObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$SchemaDefObj getSchemaDef()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$SchemaDefObj) {
                return ((I$SchemaName$SchemaDefObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

    public I$SchemaName$VersionObj getVersionLeaf()
    {
        for (ICFLibAnyObj curDef = this; curDef != null; curDef = curDef.getObjScope()) {
            if (curDef instanceof I$SchemaName$MinorVersionObj) {
                return ((I$SchemaName$MinorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$MajorVersionObj) {
                return ((I$SchemaName$MajorVersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$VersionObj) {
                return ((I$SchemaName$VersionObj)curDef);
            }
            else if (curDef instanceof I$SchemaName$ProjectBaseObj) {
                return (null);
            }
            else if (curDef instanceof I$SchemaName$TldObj) {
                return (null);
            }
        }
        return (null);
    }

	protected String getVersionStringForLeafDef( I$SchemaName$VersionObj value ) {
		String ret;
		if( value instanceof I$SchemaName$MinorVersionObj ) {
			ret = ((I$SchemaName$MinorVersionObj)value).getRequiredName();
		}
		else if( value instanceof I$SchemaName$MajorVersionObj ) {
			ret = ((I$SchemaName$MajorVersionObj)value).getRequiredName();
		}
		else {
			ret = null;
		}
		return( ret );
	}

    public String getVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--)
        {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + &quot;-&quot; + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

    public String getPackedVersionString()
    {
        ICFLibAnyObj scopeDef;
        I$SchemaName$VersionObj versionLeafDef = getVersionLeaf();
        List&lt;String&gt; invertedNodeNames = new ArrayList&lt;String&gt;();
        while (versionLeafDef != null) {
            invertedNodeNames.add( getVersionStringForLeafDef( versionLeafDef ) );
            scopeDef = versionLeafDef.getObjScope();
            if (scopeDef == null) {
                versionLeafDef = null;
            }
            else if (scopeDef instanceof I$SchemaName$MinorVersionObj) {
                versionLeafDef = (I$SchemaName$MinorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$MajorVersionObj) {
                versionLeafDef = (I$SchemaName$MajorVersionObj)scopeDef;
            }
            else if (scopeDef instanceof I$SchemaName$VersionObj) {
                versionLeafDef = (I$SchemaName$VersionObj)scopeDef;
            }
            else {
                versionLeafDef = null;
            }
        }
        String ret = &quot;&quot;;
        for (int idx = invertedNodeNames.size() - 1; idx &gt;= 0; idx--) {
            if (ret.length() == 0) {
                ret = invertedNodeNames.get(idx);
            }
            else {
                ret = ret + invertedNodeNames.get(idx);
            }
        }
        return( ret );
    }

	/**
	 *	The core evaluation of ColumnInOwnerRelation is also to determine
	 *	if an index definition is in an owner relation.
	 *	&lt;P&gt;
	 *	Yes, I know.  This should be a business method instead
	 *	of copying the code in I$SchemaName$IndexObj and MSIsaGenBindColumnInOwnerRelation.
	 *
	 *	@param	genDef to be considered
	 *	@return	True if the column participates in an owner relation.
	 */
	public Boolean isColumnInOwnerRelation() {

		ICFLibAnyObj		focusDef;
		I$SchemaName$TableObj		tableDef;
		final String S_ProcName = &quot;isColumnInOwnerRelation() &quot;;

		if( this instanceof I$SchemaName$AtomObj ) {
			I$SchemaName$AtomObj atomDef = (I$SchemaName$AtomObj)this;
			ICFLibAnyObj atomScopeDef = atomDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)atomScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$TableColObj ) {
			I$SchemaName$TableColObj tableColDef = (I$SchemaName$TableColObj)this;
			ICFLibAnyObj tableColScopeDef = tableColDef.getObjScope();
			tableDef = (I$SchemaName$TableObj)tableColScopeDef;
			focusDef = this;
		}
		else if( this instanceof I$SchemaName$IndexColObj ) {
			I$SchemaName$IndexColObj indexColDef = (I$SchemaName$IndexColObj)this;
			focusDef = indexColDef.getRequiredLookupColumn();
			if( focusDef instanceof I$SchemaName$AtomObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$AtomObj)focusDef).getObjScope();
			}
			else if( focusDef instanceof I$SchemaName$TableColObj ) {
				tableDef = (I$SchemaName$TableObj)((I$SchemaName$TableColObj)focusDef).getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else if( this instanceof I$SchemaName$RelationColObj ) {
			I$SchemaName$RelationColObj relColDef = (I$SchemaName$RelationColObj)this;
			ICFLibAnyObj columnDef = relColDef.getRequiredLookupFromCol();
			if( columnDef instanceof I$SchemaName$AtomObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else if( columnDef instanceof I$SchemaName$TableColObj ) {
				focusDef = columnDef;
				tableDef = (I$SchemaName$TableObj)columnDef.getObjScope();
			}
			else {
				throw new RuntimeException(
					S_ProcName + &quot;genContext.getGenDef().getFromColumnDef() for a I$SchemaName$IndexColObj did not return a I$SchemaName$AtomObj&quot;
						+	&quot; nor a I$SchemaName$TableColObj&quot; );
			}
		}
		else {
			throw new RuntimeException(
				S_ProcName + &quot;genContext.getGenDef() did not return a I$SchemaName$AtomObj, I$SchemaName$TableColObj, nor I$SchemaName$IndexColObj instance&quot; );
		}

		List&lt;I$SchemaName$RelationObj&gt; ownerRelations = tableDef.getContainerOwnerRelations();
		if( ( ownerRelations == null )
		 || ( ( ownerRelations != null ) &amp;&amp; ( ownerRelations.size() == 0 ) ) )
		{
			return( false );
		}

		ListIterator&lt;I$SchemaName$RelationObj&gt; ownerEnumerator = ownerRelations.listIterator();

		I$SchemaName$RelationObj ownerRelation;
		I$SchemaName$RelationColObj ownerRelationCol;
		Iterator&lt;I$SchemaName$RelationColObj&gt; ownerRelationCols;

		while( ownerEnumerator.hasNext() ) {

			ownerRelation = ownerEnumerator.next();
			ownerRelationCols = ownerRelation.getOptionalComponentsColumns().iterator();
			
			while( ownerRelationCols.hasNext() ) {
				ownerRelationCol = ownerRelationCols.next();
				if( ownerRelationCol.getRequiredLookupFromCol() == focusDef ) {
					return( true );
				}
			}
		}

		return( false );
	}
</JavaEditObjImplementation>
	</Table>

	<Table Name="ServerListFunc"
			TableClassCode="SRVL"
			DbName="srvlfunc"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				GenerateId="true"
				DataType="ScopeIdGen" />
		<TableCol Name="RetTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="rettentid"
				DataType="TenantIdGen" />
		<TableCol Name="RetTableId"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="rettblid"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="ServerListFuncIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="srvlfunc_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="ServerListFuncRetTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="srvlfunc_rettblk"
				ShortName="RetTblIdx"
				Suffix="RetTblIdx"
				Label="RetTableIdx" >
			<IndexCol Name="RetTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="RetTableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="srvlfunc_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="ServerListFuncIdIdx"
				ToIndex="ServerMethod.ServerMethodIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="StringDef"
			TableClassCode="STRD"
			DbName="strdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="2147483647"
				InitValue="0" />
		<Int16Col Name="ShowLines"
				Label="Show Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="300"
				InitValue="1" />
		<StringCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="500"
				ShowLines="1" />
		<StringCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="500"
				ShowLines="1" />
		<StringCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="500"
				ShowLines="1" />
		<StringCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="500"
				ShowLines="1" />
		<PrimaryIndex Name="StringDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="strdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="strdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="StringDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="StringType"
			TableClassCode="STRT"
			DbName="strtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="StringTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="strtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="StringTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="strtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="strtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="StringTypeIdIdx"
				ToIndex="StringDef.StringDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZDateDef"
			TableClassCode="DAZD"
			DbName="dzdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TZDateCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<TZDateCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<TZDateCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal" />
		<TZDateCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal" />
		<TZDateCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<TZDateCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="TZDateDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dzdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="dzdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZDateDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZDateType"
			TableClassCode="DAZT"
			DbName="dztyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZDateTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dztyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZDateTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dztyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dztyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZDateTypeIdIdx"
				ToIndex="TZDateDef.TZDateDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimeDef"
			TableClassCode="TMZD"
			DbName="tmzdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TZTimeCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<TZTimeCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<TZTimeCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<TZTimeCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="TZTimeDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmzdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="tmzdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimeDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimeType"
			TableClassCode="TMZT"
			DbName="tmztyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZTimeTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmztyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZTimeTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tmztyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tmztyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimeTypeIdIdx"
				ToIndex="TZTimeDef.TZTimeDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimestampDef"
			TableClassCode="ZSTD"
			DbName="zsdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TZTimestampCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<TZTimestampCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<TZTimestampCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal" />
		<TZTimestampCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal" />
		<TZTimestampCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<TZTimestampCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="TZTimestampDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="zsdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="zsdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimestampDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimestampType"
			TableClassCode="ZSTT"
			DbName="zstyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZTimestampTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="zstyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZTimestampTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="zstyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="zstyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimestampTypeIdIdx"
				ToIndex="TZTimestampDef.TZTimestampDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TableCol"
			TableClassCode="TBLC"
			DbName="tblcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<StringCol Name="DbName"
				Label="Db Name"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="32"
				ShowLines="1" />
		<TableCol Name="DataTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DataId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<PrimaryIndex Name="TableColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tblcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TableColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tblcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<Index Name="TableColDataIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tablecol_xdata"
				Suffix="DataIdx"
				Label="DataIdx" >
			<IndexCol Name="DataTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DataId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tablecol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TableColIdIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TextDef"
			TableClassCode="TXTD"
			DbName="txtdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="2147483647"
				InitValue="0" />
		<Int16Col Name="ShowLines"
				Label="Show Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="300"
				InitValue="1" />
		<TextCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="65535"
				ShowLines="10" />
		<TextCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="65535"
				ShowLines="10" />
		<TextCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="65535"
				ShowLines="10" />
		<TextCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="65535"
				ShowLines="10" />
		<PrimaryIndex Name="TextDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="txtdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="txtdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TextDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TextType"
			TableClassCode="TXTT"
			DbName="txttyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TextTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="txttyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TextTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="txttyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="txttyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TextTypeIdIdx"
				ToIndex="TextDef.TextDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimeDef"
			TableClassCode="TIMD"
			DbName="tmdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TimeCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<TimeCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<TimeCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<TimeCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="TimeDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="tmdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimeDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimeType"
			TableClassCode="TIMT"
			DbName="tmtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TimeTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TimeTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tmtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tmtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimeTypeIdIdx"
				ToIndex="TimeDef.TimeDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimestampDef"
			TableClassCode="TSPD"
			DbName="tsdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TimestampCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<TimestampCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<TimestampCol Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal" />
		<TimestampCol Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal" />
		<TimestampCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true" />
		<TimestampCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="TimestampDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tsdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="tsdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimestampDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimestampType"
			TableClassCode="TSPT"
			DbName="tstyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TimestampTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tstyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TimestampTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tstyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tstyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimestampTypeIdIdx"
				ToIndex="TimestampDef.TimestampDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TokenDef"
			TableClassCode="TKND"
			DbName="tkndef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int32Col Name="MaxLen"
				DbName="db_max_len"
				Label="Max. Length"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="2147483647"
				InitValue="0" />
		<TokenCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MaxLen="64"
				ShowLines="1" />
		<TokenCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MaxLen="64"
				ShowLines="1" />
		<TokenCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MaxLen="64"
				ShowLines="1" />
		<TokenCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MaxLen="64"
				ShowLines="1" />
		<Int16Col Name="ShowLines"
				Label="Show Lines"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="300"
				InitValue="1" />
		<PrimaryIndex Name="TokenDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tkndef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="tkndef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TokenDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TokenType"
			TableClassCode="TKNT"
			DbName="tkntyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TokenTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tkntyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TokenTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tkntyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tkntyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TokenTypeIdIdx"
				ToIndex="TokenDef.TokenDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt16Def"
			TableClassCode="U16D"
			DbName="u16def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<UInt16Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="0" />
		<UInt16Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="0" />
		<UInt16Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="0" />
		<UInt16Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="0" />
		<UInt16Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="0" />
		<UInt16Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="0" />
		<PrimaryIndex Name="UInt16DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="ui16def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="ui16def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt16DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt16Type"
			TableClassCode="U16T"
			DbName="uint16typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt16TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint16typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt16TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint16typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint16typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt16TypeIdIdx"
				ToIndex="UInt16Def.UInt16DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt32Def"
			TableClassCode="U32D"
			DbName="u32def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<UInt32Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="0" />
		<UInt32Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="0" />
		<UInt32Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="0" />
		<UInt32Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="0" />
		<UInt32Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="0" />
		<UInt32Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="0" />
		<PrimaryIndex Name="UInt32DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="ui32def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="ui32def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt32DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt32Type"
			TableClassCode="U32T"
			DbName="uint32typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt32TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint32typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt32TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint32typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint32typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt32TypeIdIdx"
				ToIndex="UInt32Def.UInt32DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt64Def"
			TableClassCode="U64D"
			DbName="u64def"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<UInt64Col Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal"
				MinValue="0" />
		<UInt64Col Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal"
				MinValue="0" />
		<UInt64Col Name="MinValue"
				Label="Min. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MinVal"
				MinValue="0" />
		<UInt64Col Name="MaxValue"
				Label="Max. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="MaxVal"
				MinValue="0" />
		<UInt64Col Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				MinValue="0" />
		<UInt64Col Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal"
				MinValue="0" />
		<PrimaryIndex Name="UInt64DefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="ui64def_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="ui64def_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt64DefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt64Type"
			TableClassCode="U64T"
			DbName="uint64typ"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt64TypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint64typ_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt64TypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint64typ_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint64typ_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt64TypeIdIdx"
				ToIndex="UInt64Def.UInt64DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UuidDef"
			TableClassCode="UIDD"
			DbName="uuiddef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<UuidCol Name="InitValue"
				Label="Init. Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="InitVal" />
		<UuidCol Name="DefaultValue"
				Label="Default Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="DefVal" />
		<UuidCol Name="NullValue"
				Label="Null Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="NullVal" />
		<UuidCol Name="UnknownValue"
				Label="Unknown Value"
				IsNullable="true"
				DefaultVisibility="true"
				DbName="UnknownVal" />
		<PrimaryIndex Name="UuidDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uuiddef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="uuiddef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UuidDefIdIdx"
				ToIndex="Atom.AtomIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UuidType"
			TableClassCode="UIDT"
			DbName="uuidtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UuidTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uuidtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UuidTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uuidtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uuidtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UuidTypeIdIdx"
				ToIndex="UuidDef.UuidDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BlobCol"
			TableClassCode="BLBC"
			DbName="blbcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="BlobColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="blbcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="BlobColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="blbcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="blbcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BlobColIdIdx"
				ToIndex="BlobDef.BlobDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="BoolCol"
			TableClassCode="BOLC"
			DbName="boolcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="BoolColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="boolcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="BoolColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="boolcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="boolcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="BoolColIdIdx"
				ToIndex="BoolDef.BoolDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DateCol"
			TableClassCode="DATC"
			DbName="dtcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DateColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dtcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DateColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dtcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dtcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DateColIdIdx"
				ToIndex="DateDef.DateDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="DoubleCol"
			TableClassCode="DBLC"
			DbName="dblcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="DoubleColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dblcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="DoubleColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dblcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dblcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="DoubleColIdIdx"
				ToIndex="DoubleDef.DoubleDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="EnumDef"
			TableClassCode="ENMD"
			DbName="enumdef"
			DefaultVisibility="true"
			IsInstantiable="false"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<PrimaryIndex Name="EnumDefIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="enumdef_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="enumdef_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="EnumDefIdIdx"
				ToIndex="Int16Def.Int16DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="EnumType"
			TableClassCode="ENMT"
			DbName="enumtyp"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="SchemaDefId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="EnumTypeIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="enumtyp_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="EnumTypeSchemaDefIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="enumtyp_xschemadef"
				ShortName="SchIdx"
				Suffix="SchemaIdx"
				Label="Schema Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="SchemaDefId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="enumtyp_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="EnumTypeIdIdx"
				ToIndex="EnumDef.EnumDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="FloatCol"
			TableClassCode="FLTC"
			DbName="fltcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="FloatColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="fltcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="FloatColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="fltcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="fltcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="FloatColIdIdx"
				ToIndex="FloatDef.FloatDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Id16Gen"
			TableClassCode="IG16"
			DbName="idg16"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="DispenserTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DispenserId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<Int16Col Name="Slice"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="32767"
				InitValue="0" />
		<Int16Col Name="BlockSize"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="32767"
				InitValue="1" />
		<PrimaryIndex Name="Id16GenIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idg16_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Id16GenDispIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idg16_dpk_def"
				Suffix="DispIdx"
				Label="DispIdx" >
			<IndexCol Name="DispenserTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DispenserId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="idg16_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Id16GenIdIdx"
				ToIndex="Int16Type.Int16TypeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Id32Gen"
			TableClassCode="IG32"
			DbName="idg32"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="DispenserTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DispenserId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<Int16Col Name="Slice"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="32767"
				InitValue="0" />
		<Int32Col Name="BlockSize"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="2147483647"
				InitValue="1" />
		<PrimaryIndex Name="Id32GenIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idg32_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Id32GenDispIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idg32_dpk_def"
				Suffix="DispIdx"
				Label="DispIdx" >
			<IndexCol Name="DispenserTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DispenserId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="idg32_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Id32GenIdIdx"
				ToIndex="Int32Type.Int32TypeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Id64Gen"
			TableClassCode="IG64"
			DbName="idg64"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="DispenserTenantId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="DispenserId"
				IsNullable="true"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<Int16Col Name="Slice"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="32767"
				InitValue="0" />
		<Int64Col Name="BlockSize"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="9223372036854775807"
				InitValue="1" />
		<PrimaryIndex Name="Id64GenIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idg64_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Id64GenDispIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="idg64_dpk_def"
				Suffix="DispIdx"
				Label="DispIdx" >
			<IndexCol Name="DispenserTenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="DispenserId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="idg64_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Id64GenIdIdx"
				ToIndex="Int64Type.Int64TypeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int16Col"
			TableClassCode="I16C"
			DbName="int16col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int16ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int16col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int16ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int16col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int16col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int16ColIdIdx"
				ToIndex="Int16Def.Int16DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int32Col"
			TableClassCode="I32C"
			DbName="int32col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int32ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int32col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int32ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int32col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int32col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int32ColIdIdx"
				ToIndex="Int32Def.Int32DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="Int64Col"
			TableClassCode="I64C"
			DbName="int64col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="Int64ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="int64col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="Int64ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="int64col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="int64col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="Int64ColIdIdx"
				ToIndex="Int64Def.Int64DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokenCol"
			TableClassCode="NTKC"
			DbName="nmtkncol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NmTokenColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtkncol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NmTokenColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="nmtkncol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtkncol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokenColIdIdx"
				ToIndex="NmTokenDef.NmTokenDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NmTokensCol"
			TableClassCode="NTSC"
			DbName="nmtknscol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NmTokensColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="nmtknscol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NmTokensColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="nmtknscol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="nmtknscol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NmTokensColIdIdx"
				ToIndex="NmTokensDef.NmTokensDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="NumberCol"
			TableClassCode="NUMC"
			DbName="numcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="NumberColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="numcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="NumberColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="numcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="numcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="NumberColIdIdx"
				ToIndex="NumberDef.NumberDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="StringCol"
			TableClassCode="STRC"
			DbName="strcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="StringColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="strcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="StringColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="strcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="strcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="StringColIdIdx"
				ToIndex="StringDef.StringDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZDateCol"
			TableClassCode="DAZC"
			DbName="dzcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZDateColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="dzcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZDateColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="dzcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="dzcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZDateColIdIdx"
				ToIndex="TZDateDef.TZDateDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimeCol"
			TableClassCode="TMZC"
			DbName="tmzcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZTimeColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmzcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZTimeColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tmzcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tmzcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimeColIdIdx"
				ToIndex="TZTimeDef.TZTimeDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TZTimestampCol"
			TableClassCode="ZSTC"
			DbName="zscol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TZTimestampColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="zscol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TZTimestampColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="zscol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="zscol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TZTimestampColIdIdx"
				ToIndex="TZTimestampDef.TZTimestampDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TextCol"
			TableClassCode="TXTC"
			DbName="txtcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TextColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="txtcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TextColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="txtcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="txtcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TextColIdIdx"
				ToIndex="TextDef.TextDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimeCol"
			TableClassCode="TIMC"
			DbName="tmcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TimeColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tmcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TimeColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tmcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tmcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimeColIdIdx"
				ToIndex="TimeDef.TimeDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TimestampCol"
			TableClassCode="TSPC"
			DbName="tscol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TimestampColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tscol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TimestampColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tscol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tscol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TimestampColIdIdx"
				ToIndex="TimestampDef.TimestampDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="TokenCol"
			TableClassCode="TKNC"
			DbName="tkncol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="TokenColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="tkncol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="TokenColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="tkncol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="tkncol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="TokenColIdIdx"
				ToIndex="TokenDef.TokenDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt16Col"
			TableClassCode="U16C"
			DbName="uint16col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt16ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint16col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt16ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint16col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint16col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt16ColIdIdx"
				ToIndex="UInt16Def.UInt16DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt32Col"
			TableClassCode="U32C"
			DbName="uint32col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt32ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint32col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt32ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint32col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint32col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt32ColIdIdx"
				ToIndex="UInt32Def.UInt32DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UInt64Col"
			TableClassCode="U64C"
			DbName="uint64col"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UInt64ColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uint64col_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UInt64ColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uint64col_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uint64col_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UInt64ColIdIdx"
				ToIndex="UInt64Def.UInt64DefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UuidCol"
			TableClassCode="UIDC"
			DbName="uuidcol"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<TableCol Name="TableId"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ScopeIdGen" />
		<PrimaryIndex Name="UuidColIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="uuidcol_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<Index Name="UuidColTableIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="false"
				DbName="uuidcol_xtable"
				ShortName="TblIdx"
				Suffix="TableIdx"
				Label="Table Index" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="TableId" IsAscending="true" DefaultVisibility="true" />
		</Index>
		<SuperClassRelation Name="SuperClass"
				DbName="uuidcol_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UuidColIdIdx"
				ToIndex="UuidDef.UuidDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<Table Name="UuidGen"
			TableClassCode="IGUU"
			DbName="idguuid"
			DefaultVisibility="true"
			IsInstantiable="true"
			HasHistory="true"
			HasAuditColumns="true"
			QualTable="SchemaDef"
			LoaderBehaviour="Update"
			SecScope="Tenant" >
		<TableCol Name="TenantId"
				Label="Tenant Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="TenantIdGen" />
		<TableCol Name="Id"
				IsNullable="false"
				DefaultVisibility="true"
				DataType="ValueIdGen" />
		<Int16Col Name="Slice"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="0"
				MaxValue="32767"
				InitValue="0" />
		<Int32Col Name="BlockSize"
				IsNullable="false"
				DefaultVisibility="true"
				MinValue="1"
				MaxValue="2147483647"
				InitValue="1" />
		<PrimaryIndex Name="UuidGenIdIdx"
				DefaultVisibility="true"
				IsDbMapped="true"
				IsUnique="true"
				DbName="idguuid_pk"
				ShortName="PIdx"
				Suffix="IdIdx"
				Label="IdIdx" >
			<IndexCol Name="TenantId" IsAscending="true" DefaultVisibility="true" />
			<IndexCol Name="Id" IsAscending="true" DefaultVisibility="true" />
		</PrimaryIndex>
		<SuperClassRelation Name="SuperClass"
				DbName="idguuid_super"
				Label="SuperClass"
				Suffix="SuperClass"
				FromIndex="UuidGenIdIdx"
				ToIndex="UuidType.UuidTypeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="Id" DefaultVisibility="true" />
		</SuperClassRelation>
	</Table>

	<TableAddendum FromTable="Chain">
		<Relation Name="Tenant"
				DbName="chain_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="ChainTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Table"
				DbName="chain_table"
				RelationType="Container"
				Label="Table"
				Suffix="Table"
				FromIndex="ChainTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="chain_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="ChainDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PrevRelation"
				DbName="chain_prevrel"
				RelationType="Lookup"
				Label="Previous Relation"
				Suffix="PrevRel"
				FromIndex="ChainPrevRelIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="PrevRelationTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevRelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="NextRelation"
				DbName="chain_nextrel"
				RelationType="Lookup"
				Label="Next Relation"
				Suffix="NextRel"
				FromIndex="ChainNextRelIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="NextRelationTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextRelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearDep">
		<Relation Name="Relation"
				DbName="clrdep_reln"
				RelationType="Lookup"
				Label="Relation"
				Suffix="Relation"
				FromIndex="ClearDepRelationIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="clrdep_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="ClearDepDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearSubDep1">
		<Relation Name="ClearTopDep"
				DbName="clrsubdep1_topdep"
				RelationType="Container"
				Label="ClearTopDep"
				Suffix="ClearTopDep"
				FromIndex="ClearSubDep1ClearTopDepIdx"
				ToIndex="ClearTopDep.ClearTopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="ClearTopDepTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ClearTopDepId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ClearDep"
				DbName="clrsubdep1_clrdep"
				RelationType="Components"
				Label="Clear Dependency"
				Suffix="ClearDep"
				FromIndex="ClearSubDep1IdIdx"
				ToIndex="ClearSubDep2.ClearSubDep2ClearSubDep1Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="ClearSubDep1TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ClearSubDep1Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearSubDep2">
		<Relation Name="ClearSubDep1"
				DbName="clrsubdep2_subdep1"
				RelationType="Container"
				Label="ClearSubDep1"
				Suffix="ClearSubDep1"
				FromIndex="ClearSubDep2ClearSubDep1Idx"
				ToIndex="ClearSubDep1.ClearSubDep1IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="ClearSubDep1TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ClearSubDep1Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ClearDep"
				DbName="clrsubdep2_clrdep"
				RelationType="Components"
				Label="Clear Dependency"
				Suffix="ClearDep"
				FromIndex="ClearSubDep2IdIdx"
				ToIndex="ClearSubDep3.ClearSubDep3ClearSubDep2Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="ClearSubDep2TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ClearSubDep2Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearSubDep3">
		<Relation Name="ClearSubDep2"
				DbName="clrsubdep3_clrsubdep2"
				RelationType="Container"
				Label="ClearSubDep2"
				Suffix="ClearSubDep2"
				FromIndex="ClearSubDep3ClearSubDep2Idx"
				ToIndex="ClearSubDep2.ClearSubDep2IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="ClearSubDep2TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ClearSubDep2Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearTopDep">
		<Relation Name="Table"
				DbName="clrtopdep_table"
				RelationType="Container"
				Label="Table"
				Suffix="Table"
				FromIndex="ClearTopDepTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TableTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ClearDep"
				DbName="clrtopdep_clrdep"
				RelationType="Components"
				Label="Clear Dependency"
				Suffix="ClearDep"
				FromIndex="ClearTopDepIdIdx"
				ToIndex="ClearSubDep1.ClearSubDep1ClearTopDepIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="ClearTopDepTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ClearTopDepId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="clrtopdep_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="ClearTopDepPrevIdx"
				ToIndex="ClearTopDep.ClearTopDepIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="clrtopdep_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="ClearTopDepNextIdx"
				ToIndex="ClearTopDep.ClearTopDepIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DelDep">
		<Relation Name="Relation"
				DbName="deldep_reln"
				RelationType="Lookup"
				Label="Relation"
				Suffix="Relation"
				FromIndex="DelDepRelationIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="RelationTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="deldep_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="DelDepDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DelSubDep1">
		<Relation Name="DelTopDep"
				DbName="delsubdep1_topdep"
				RelationType="Container"
				Label="DelTopDep"
				Suffix="DelTopDep"
				FromIndex="DelSubDep1DelTopDepIdx"
				ToIndex="DelTopDep.DelTopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="DelTopDepTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DelTopDepId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DelDep"
				DbName="delsubdep1_deldep"
				RelationType="Components"
				Label="Deletion Dependency"
				Suffix="DelDep"
				FromIndex="DelSubDep1IdIdx"
				ToIndex="DelSubDep2.DelSubDep2DelSubDep1Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DelSubDep1TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DelSubDep1Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DelSubDep2">
		<Relation Name="DelSubDep1"
				DbName="delsubdep2_subdep1"
				RelationType="Container"
				Label="DelSubDep1"
				Suffix="DelSubDep1"
				FromIndex="DelSubDep2DelSubDep1Idx"
				ToIndex="DelSubDep1.DelSubDep1IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="DelSubDep1TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DelSubDep1Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DelDep"
				DbName="delsubdep2_deldep"
				RelationType="Components"
				Label="Deletion Dependency"
				Suffix="DelDep"
				FromIndex="DelSubDep2IdIdx"
				ToIndex="DelSubDep3.DelSubDep3DelSubDep2Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DelSubDep2TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DelSubDep2Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DelSubDep3">
		<Relation Name="DelSubDep2"
				DbName="delsubdep3_subdep2"
				RelationType="Container"
				Label="DelSubDep2"
				Suffix="DelSubDep2"
				FromIndex="DelSubDep3DelSubDep2Idx"
				ToIndex="DelSubDep2.DelSubDep2IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="DelSubDep2TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DelSubDep2Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DelTopDep">
		<Relation Name="Table"
				DbName="deltopdep_table"
				RelationType="Container"
				Label="Table"
				Suffix="Table"
				FromIndex="DelTopDepTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TableTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DelDep"
				DbName="deltopdep_deldep"
				RelationType="Components"
				Label="Deletion Dependency"
				Suffix="DelDep"
				FromIndex="DelTopDepIdIdx"
				ToIndex="DelSubDep1.DelSubDep1DelTopDepIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DelTopDepTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DelTopDepId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="deltopdep_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="DelTopDepPrevIdx"
				ToIndex="DelTopDep.DelTopDepIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="deltopdep_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="DelTopDepNextIdx"
				ToIndex="DelTopDep.DelTopDepIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Domain">
		<Relation Name="SchemaDef"
				DbName="dom_schemadef"
				RelationType="Components"
				Label="Schema Definition"
				Suffix="SchemaDef"
				FromIndex="DomainIdIdx"
				ToIndex="SchemaDef.SchemaDefDomainIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DomainId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="EnumDef">
		<Relation Name="Tags"
				DbName="enumdef_tags"
				RelationType="Components"
				Label="Component Enum Tags"
				Suffix="Tag"
				FromIndex="EnumDefIdIdx"
				ToIndex="EnumTag.EnumTagEnumIdx"
				IsRequired="true"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="EnumId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="EnumTag">
		<Relation Name="Tenant"
				DbName="enumtag_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="EnumTagTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="EnumDef"
				DbName="enumtag_enumdef"
				RelationType="Container"
				Label="Enumeration"
				Suffix="EnumDef"
				FromIndex="EnumTagEnumIdx"
				ToIndex="EnumDef.EnumDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="EnumId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="enumtag_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="EnumTagDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="enumtag_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="EnumTagPrevIdx"
				ToIndex="EnumTag.EnumTagIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="enumtag_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="EnumTagNextIdx"
				ToIndex="EnumTag.EnumTagIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Id16Gen">
		<Relation Name="Dispenser"
				DbName="id16g_dispenser"
				RelationType="Lookup"
				Label="Dispensing Table"
				Suffix="Dispenser"
				FromIndex="Id16GenDispIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DispenserTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DispenserId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Id32Gen">
		<Relation Name="Dispenser"
				DbName="id32g_dispenser"
				RelationType="Lookup"
				Label="Dispensing Table"
				Suffix="Dispenser"
				FromIndex="Id32GenDispIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DispenserTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DispenserId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Id64Gen">
		<Relation Name="Dispenser"
				DbName="id64g_dispenser"
				RelationType="Lookup"
				Label="Dispensing Table"
				Suffix="Dispenser"
				FromIndex="Id64GenDispIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DispenserTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DispenserId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Index">
		<Relation Name="Table"
				DbName="index_table"
				RelationType="Container"
				Label="Table"
				Suffix="Table"
				FromIndex="IndexTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="index_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="IndexDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Columns"
				DbName="index_cols"
				RelationType="Components"
				Label="Columns"
				Suffix="Columns"
				FromIndex="IndexIdIdx"
				ToIndex="IndexCol.IndexColIndexIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="IndexId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="IndexCol">
		<Relation Name="Tenant"
				DbName="idxcol_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="IndexColTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Index"
				DbName="idxcol_index"
				RelationType="Container"
				Label="Containing Index"
				Suffix="Index"
				FromIndex="IndexColIndexIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="IndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="idxcol_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="IndexColDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ReferencingRelFromCols"
				DbName="idxcol_reffromcols"
				RelationType="Children"
				Label="Referencing Relation From Columns"
				Suffix="RefRelFromCol"
				FromIndex="IndexColIdIdx"
				ToIndex="RelationCol.RelationColFromColIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="FromColId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ReferencingRelToCols"
				DbName="idxcol_reftocols"
				RelationType="Children"
				Label="Referencing Relation To Columns"
				Suffix="RefRelToCol"
				FromIndex="IndexColIdIdx"
				ToIndex="RelationCol.RelationColToColIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ToColId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="idxcol_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="IndexColPrevIdx"
				ToIndex="IndexCol.IndexColIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="idxcol_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="IndexColNextIdx"
				ToIndex="IndexCol.IndexColIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Param">
		<Relation Name="ServerMethod"
				DbName="param_srvmeth"
				RelationType="Container"
				Label="Containing Server Method"
				Suffix="ServerMeth"
				FromIndex="ParamServerMethodIdx"
				ToIndex="ServerMethod.ServerMethodIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ServerMethodId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Tenant"
				DbName="param_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="ParamTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="param_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="ParamDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="param_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="ParamPrevIdx"
				ToIndex="Param.ParamIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="param_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="ParamNextIdx"
				ToIndex="Param.ParamIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PopDep">
		<Relation Name="Relation"
				DbName="popdep_reln"
				RelationType="Lookup"
				Label="Relation"
				Suffix="Relation"
				FromIndex="PopDepRelationIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="RelationTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="popdep_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="PopDepDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PopSubDep1">
		<Relation Name="PopTopDep"
				DbName="popsubdep1_topdep"
				RelationType="Container"
				Label="ContPopTopDep"
				Suffix="ContPopTopDep"
				FromIndex="PopSubDep1PopTopDepIdx"
				ToIndex="PopTopDep.PopTopDepIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="PopTopDepTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PopTopDepId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PopDep"
				DbName="popsubdep1_popdep"
				RelationType="Components"
				Label="Population Dependency"
				Suffix="PopDep"
				FromIndex="PopSubDep1IdIdx"
				ToIndex="PopSubDep2.PopSubDep2PopSubDep1Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="PopSubDep1TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="PopSubDep1Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PopSubDep2">
		<Relation Name="PopSubDep1"
				DbName="popsubdep2_subdep1"
				RelationType="Container"
				Label="PopSubDep1"
				Suffix="PopSubDep1"
				FromIndex="PopSubDep2PopSubDep1Idx"
				ToIndex="PopSubDep1.PopSubDep1IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="PopSubDep1TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PopSubDep1Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PopDep"
				DbName="popsubdep2_popdep"
				RelationType="Components"
				Label="Population Dependency"
				Suffix="PopDep"
				FromIndex="PopSubDep2IdIdx"
				ToIndex="PopSubDep3.PopSubDep3PopSubDep2Idx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="PopSubDep2TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="PopSubDep2Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PopSubDep3">
		<Relation Name="PopSubDep2"
				DbName="popsubdep3_subdep2"
				RelationType="Container"
				Label="PopSubDep2"
				Suffix="PopSubDep2"
				FromIndex="PopSubDep3PopSubDep2Idx"
				ToIndex="PopSubDep2.PopSubDep2IdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="PopSubDep2TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PopSubDep2Id" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="PopTopDep">
		<Relation Name="ContRelation"
				DbName="poptopdep_contreln"
				RelationType="Container"
				Label="ContRelation"
				Suffix="ContRelation"
				FromIndex="PopTopDepContRelationIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="ContRelationTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ContRelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PopDep"
				DbName="poptopdep_popdep"
				RelationType="Components"
				Label="Population Dependency"
				Suffix="PopDep"
				FromIndex="PopTopDepIdIdx"
				ToIndex="PopSubDep1.PopSubDep1PopTopDepIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="PopTopDepTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="PopTopDepId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Relation">
		<Relation Name="DefSchema"
				DbName="reln_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="RelationDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FromTable"
				DbName="reln_fmtable"
				RelationType="Container"
				Label="From Table"
				Suffix="FromTable"
				FromIndex="RelationTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Columns"
				DbName="reln_cols"
				RelationType="Components"
				Label="Columns"
				Suffix="Columns"
				FromIndex="RelationIdIdx"
				ToIndex="RelationCol.RelationColRelationIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="RelationId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PopDep"
				DbName="reln_popdep"
				RelationType="Components"
				Label="Population Dependency"
				Suffix="PopDep"
				FromIndex="RelationIdIdx"
				ToIndex="PopTopDep.PopTopDepContRelationIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="ContRelationTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ContRelationId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="RelationCol">
		<Relation Name="Relation"
				DbName="relcol_reln"
				RelationType="Container"
				Label="Containing Relation"
				Suffix="Relation"
				FromIndex="RelationColRelationIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RelationId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Tenant"
				DbName="relcol_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="RelationColTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="relcol_defschema"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="RelationColDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="relcol_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="RelationColPrevIdx"
				ToIndex="RelationCol.RelationColIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="relcol_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="RelationColNextIdx"
				ToIndex="RelationCol.RelationColIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="SchemaDef">
		<Relation Name="Domain"
				DbName="schdef_dom"
				RelationType="Container"
				Label="Domain"
				Suffix="Domain"
				FromIndex="SchemaDefDomainIdx"
				ToIndex="Domain.DomainIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DomainId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Tables"
				DbName="schdef_tables"
				RelationType="Components"
				Label="Table Definitions"
				Suffix="Tables"
				FromIndex="SchemaDefIdIdx"
				ToIndex="Table.TableSchemaDefIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="SchemaDefId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Types"
				DbName="schdef_types"
				RelationType="Components"
				Label="Type Definitions"
				Suffix="Types"
				FromIndex="SchemaDefIdIdx"
				ToIndex="Value.ValueScopeIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ScopeId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefaultLicense"
				DbName="schdef_licn"
				RelationType="Lookup"
				Label="Default License"
				Suffix="DefaultLicense"
				FromIndex="SchemaDefaultLicenseIdx"
				ToIndex="License.LicenseIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefaultLicenseTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefaultLicenseId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="SchemaRefs"
				DbName="schdef_schrefs"
				RelationType="Components"
				Label="Schema References"
				Suffix="SchemaRefs"
				FromIndex="SchemaDefIdIdx"
				ToIndex="SchemaRef.SchemaRefSchemaIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="SchemaId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="SchemaRef">
		<Relation Name="Schema"
				DbName="schref_schdef"
				RelationType="Container"
				Label="Schema"
				Suffix="Schema"
				FromIndex="SchemaRefSchemaIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="RefSchema"
				DbName="schref_refschdef"
				RelationType="Lookup"
				Label="Referenced Schema"
				Suffix="RefSchema"
				FromIndex="SchemaRefRefSchemaIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="RefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="schref_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="SchemaRefPrevIdx"
				ToIndex="SchemaRef.SchemaRefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="schref_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="SchemaRefNextIdx"
				ToIndex="SchemaRef.SchemaRefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Scope">
		<Relation Name="Tenant"
				DbName="scop_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="ScopeTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ServerListFunc">
		<Relation Name="RetTable"
				DbName="srvlstfn_rettbl"
				RelationType="Lookup"
				Label="Ret Table"
				Suffix="RetTable"
				FromIndex="ServerListFuncRetTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="RetTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RetTableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ServerMethod">
		<Relation Name="DefSchema"
				DbName="srvmeth_defsch"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="ServerMethodDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ForTable"
				DbName="srvmeth_fortbl"
				RelationType="Container"
				Label="For Table"
				Suffix="ForTable"
				FromIndex="ServerMethodTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Params"
				DbName="srvmeth_params"
				RelationType="Components"
				Label="Parameters"
				Suffix="Params"
				FromIndex="ServerMethodIdIdx"
				ToIndex="Param.ParamServerMethodIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ServerMethodId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ServerObjFunc">
		<Relation Name="RetTable"
				DbName="srvobjfn_rettbl"
				RelationType="Lookup"
				Label="Ret Table"
				Suffix="RetTable"
				FromIndex="ServerObjFuncRetTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="RetTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="RetTableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Table">
		<Relation Name="SchemaDef"
				DbName="table_schdef"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TableSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="table_defsch"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="TableDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TableRelation"
				DbName="table_reln"
				RelationType="Components"
				Label="Relation Definitions"
				Suffix="Relation"
				FromIndex="TableIdIdx"
				ToIndex="Relation.RelationTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="LookupIndex"
				DbName="table_lkidx"
				RelationType="Lookup"
				Label="Lookup Index"
				Suffix="LookupIndex"
				FromIndex="TableLookupIndexIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="LookupIndexTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="LookupIndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="AltIndex"
				DbName="table_altidx"
				RelationType="Lookup"
				Label="Alt Index"
				Suffix="AltIndex"
				FromIndex="TableAltIndexIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="AltIndexTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="AltIndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="QualifyingTable"
				DbName="table_qualtbl"
				RelationType="Lookup"
				Label="Qualifying Table"
				Suffix="QualTable"
				FromIndex="TableQualifyingTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="QualifyingTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="QualifyingTableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="TableIndex"
				DbName="table_idx"
				RelationType="Components"
				Label="Index Definitions"
				Suffix="Index"
				FromIndex="TableIdIdx"
				ToIndex="Index.IndexTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="PrimaryIndex"
				DbName="table_primidx"
				RelationType="Lookup"
				Label="Primary Index"
				Suffix="PrimaryIndex"
				FromIndex="TablePrimaryIndexIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="false"
				DefaultVisibility="true"
				PopDepChain="TableIndex" >
			<RelationCol Name="PrimaryIndexTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrimaryIndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Columns"
				DbName="table_cols"
				RelationType="Components"
				Label="Columns"
				Suffix="Columns"
				FromIndex="TableIdIdx"
				ToIndex="Value.ValueScopeIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ScopeId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ReverseRelations"
				DbName="table_revrel"
				RelationType="Children"
				Label="Reverse Relations"
				Suffix="ReverseRelations"
				FromIndex="TableIdIdx"
				ToIndex="Relation.RelationToTblIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ToTableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Chains"
				DbName="table_chains"
				RelationType="Components"
				Label="Chains"
				Suffix="Chains"
				FromIndex="TableIdIdx"
				ToIndex="Chain.ChainTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DelDep"
				DbName="table_deldep"
				RelationType="Components"
				Label="Deletion Dependency"
				Suffix="DelDep"
				FromIndex="TableIdIdx"
				ToIndex="DelTopDep.DelTopDepTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TableTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ClearDep"
				DbName="table_clrdep"
				RelationType="Components"
				Label="Clear Relationships Dependency"
				Suffix="ClearDep"
				FromIndex="TableIdIdx"
				ToIndex="ClearTopDep.ClearTopDepTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TableTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DispensedId16Gen"
				DbName="table_dispid16g"
				RelationType="Children"
				Label="Dispensed Id16 Generators"
				Suffix="DispId16Gen"
				FromIndex="TableIdIdx"
				ToIndex="Id16Gen.Id16GenDispIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DispenserTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DispenserId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DispensedId32Gen"
				DbName="table_dispid32g"
				RelationType="Children"
				Label="Dispensed Id32 Generators"
				Suffix="DispId32Gen"
				FromIndex="TableIdIdx"
				ToIndex="Id32Gen.Id32GenDispIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DispenserTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DispenserId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DispensedId64Gen"
				DbName="table_dispid64g"
				RelationType="Children"
				Label="Dispensed Id64 Generators"
				Suffix="DispId64Gen"
				FromIndex="TableIdIdx"
				ToIndex="Id64Gen.Id64GenDispIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DispenserTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DispenserId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ServerMethods"
				DbName="table_srvmeth"
				RelationType="Components"
				Label="Server Methods"
				Suffix="ServerMethods"
				FromIndex="TableIdIdx"
				ToIndex="ServerMethod.ServerMethodTableIdx"
				IsRequired="false"
				IsXsdContainer="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="TableId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Tenant">
		<Relation Name="TenantSchema"
				DbName="tenant_schdef"
				RelationType="Components"
				Label="Schema Definitions"
				Suffix="Schema"
				FromIndex="TenantIdIdx"
				ToIndex="SchemaDef.SchemaDefCTenantIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="Id" ToCol="TenantId" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Value">
		<Relation Name="Tenant"
				DbName="value_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="Tenant"
				FromIndex="ValueTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Scope"
				DbName="value_scope"
				RelationType="Container"
				Label="Containing Scope"
				Suffix="Scope"
				FromIndex="ValueScopeIdx"
				ToIndex="Scope.ScopeIdIdx"
				IsRequired="true"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ScopeId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DefSchema"
				DbName="value_defsch"
				RelationType="Lookup"
				Label="Defining Schema Definition"
				Suffix="DefSchema"
				FromIndex="ValueDefSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="DefSchemaTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DefSchemaId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ReferencingTableCols"
				DbName="value_reftblcol"
				RelationType="Children"
				Label="Referencing Table Columns"
				Suffix="RefTableCol"
				FromIndex="ValueIdIdx"
				ToIndex="TableCol.TableColDataIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="DataTenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="DataId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ReferencingIndexCols"
				DbName="value_refidxcol"
				RelationType="Children"
				Label="Referencing Index Columns"
				Suffix="RefIndexCol"
				FromIndex="ValueIdIdx"
				ToIndex="IndexCol.IndexColColumnIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="Id" ToCol="ColumnId" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Prev"
				DbName="value_prev"
				RelationType="Lookup"
				Label="Previous"
				Suffix="Prev"
				FromIndex="ValuePrevIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="PrevTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="PrevId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="Next"
				DbName="value_next"
				RelationType="Lookup"
				Label="Next"
				Suffix="Next"
				FromIndex="ValueNextIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="false"
				DefaultVisibility="true" >
			<RelationCol Name="NextTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NextId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="BlobCol">
		<Relation Name="Table"
				DbName="blbcol_table"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="BlobColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="BlobType">
		<Relation Name="SchemaDef"
				DbName="blbtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="BlobTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="BoolCol">
		<Relation Name="Table"
				DbName="boolcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="BoolColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="BoolType">
		<Relation Name="SchemaDef"
				DbName="bootyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="BoolTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DateCol">
		<Relation Name="Table"
				DbName="dtcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="DateColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DateType">
		<Relation Name="SchemaDef"
				DbName="dttyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="DateTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DoubleCol">
		<Relation Name="Table"
				DbName="dblcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="DoubleColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="DoubleType">
		<Relation Name="SchemaDef"
				DbName="dbltyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="DoubleTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="EnumType">
		<Relation Name="SchemaDef"
				DbName="enumtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="EnumTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FloatCol">
		<Relation Name="Table"
				DbName="fltcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="FloatColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="FloatType">
		<Relation Name="SchemaDef"
				DbName="flttyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="FloatTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Index">
		<Relation Name="IndexTenant"
				DbName="index_tenant"
				RelationType="Owner"
				Label="Tenant"
				Suffix="IdxTenant"
				FromIndex="IndexTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Scope.Tenant" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="IndexCol">
		<Relation Name="Column"
				DbName="idxcol_col"
				RelationType="Lookup"
				Label="Column"
				Suffix="Column"
				FromIndex="IndexColColumnIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="Index.Table.Columns" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ColumnId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int16Col">
		<Relation Name="Table"
				DbName="i16col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="Int16ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int16Type">
		<Relation Name="SchemaDef"
				DbName="i16typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="Int16TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int32Col">
		<Relation Name="Table"
				DbName="i32col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="Int32ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int32Type">
		<Relation Name="SchemaDef"
				DbName="i32typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="Int32TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int64Col">
		<Relation Name="Table"
				DbName="i64col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="Int64ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Int64Type">
		<Relation Name="SchemaDef"
				DbName="i64typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="Int64TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NmTokenCol">
		<Relation Name="Table"
				DbName="nmtokcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="NmTokenColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NmTokenType">
		<Relation Name="SchemaDef"
				DbName="nmtoktyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="NmTokenTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NmTokensCol">
		<Relation Name="Table"
				DbName="nmtkscol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="NmTokensColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NmTokensType">
		<Relation Name="SchemaDef"
				DbName="nmtkstyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="NmTokensTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NumberCol">
		<Relation Name="Table"
				DbName="numcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="NumberColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="NumberType">
		<Relation Name="SchemaDef"
				DbName="numtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="NumberTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Param">
		<Relation Name="Type"
				DbName="param_typ"
				RelationType="Lookup"
				Label="Type Specification"
				Suffix="Type"
				FromIndex="ParamTypeIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="ServerMethod.ForTable.SchemaDef.Types" >
			<RelationCol Name="TypeTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TypeId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="Relation">
		<Relation Name="RelTenant"
				DbName="reln_reltenant"
				RelationType="Owner"
				Label="Relation Tenant"
				Suffix="RelTenant"
				FromIndex="RelationTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Scope.Tenant" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="FromIndex"
				DbName="reln_fmidx"
				RelationType="Lookup"
				Label="From Index"
				Suffix="FromIndex"
				FromIndex="RelationFromKeyIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="FromTable.TableIndex" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FromIndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ToTable"
				DbName="reln_totbl"
				RelationType="Lookup"
				Label="To Table"
				Suffix="ToTable"
				FromIndex="RelationToTblIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="FromTable.SchemaDef.Tables" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ToTableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="ToIndex"
				DbName="reln_toidx"
				RelationType="Lookup"
				Label="To Index"
				Suffix="ToIndex"
				FromIndex="RelationToKeyIdx"
				ToIndex="Index.IndexIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="ToTable.TableIndex" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ToIndexId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="NarrowedRelation"
				DbName="reln_narreln"
				RelationType="Lookup"
				Label="Narrowed Relation"
				Suffix="Narrowed"
				FromIndex="RelationNarrowedIdx"
				ToIndex="Relation.RelationIdIdx"
				IsRequired="false"
				DefaultVisibility="true"
				PopDepChain="FromTable.TableRelation" >
			<RelationCol Name="NarrowedTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="NarrowedId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="RelationCol">
		<Relation Name="LookupFromCol"
				DbName="relncol_fmcol"
				RelationType="Lookup"
				Label="From Column"
				Suffix="FromCol"
				FromIndex="RelationColFromColIdx"
				ToIndex="IndexCol.IndexColIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="Relation.FromIndex.Columns" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="FromColId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="LookupToCol"
				DbName="relncol_tocol"
				RelationType="Lookup"
				Label="To Column"
				Suffix="ToCol"
				FromIndex="RelationColToColIdx"
				ToIndex="IndexCol.IndexColIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="Relation.ToIndex.Columns" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="ToColId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="SchemaDef">
		<Relation Name="CTenant"
				DbName="schdef_ctenant"
				RelationType="Owner"
				Label="Containing Tenant"
				Suffix="CTenant"
				FromIndex="SchemaDefCTenantIdx"
				ToIndex="Tenant.TenantIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Scope.Tenant" >
			<RelationCol Name="TenantId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="StringCol">
		<Relation Name="Table"
				DbName="strcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="StringColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="StringType">
		<Relation Name="SchemaDef"
				DbName="strtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="StringTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZDateCol">
		<Relation Name="Table"
				DbName="tzdtcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TZDateColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZDateType">
		<Relation Name="SchemaDef"
				DbName="tzdttyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TZDateTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZTimeCol">
		<Relation Name="Table"
				DbName="tztmcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TZTimeColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZTimeType">
		<Relation Name="SchemaDef"
				DbName="tztmtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TZTimeTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZTimestampCol">
		<Relation Name="Table"
				DbName="tztscol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TZTimestampColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TZTimestampType">
		<Relation Name="SchemaDef"
				DbName="tztstyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TZTimestampTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TableCol">
		<Relation Name="Table"
				DbName="tblcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TableColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
		<Relation Name="DataType"
				DbName="tblcol_dttyp"
				RelationType="Parent"
				Label="Column Data Type"
				Suffix="DataType"
				FromIndex="TableColDataIdx"
				ToIndex="Value.ValueIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				PopDepChain="Table.SchemaDef.Types" >
			<RelationCol Name="DataTenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="DataId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TextCol">
		<Relation Name="Table"
				DbName="txtcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TextColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TextType">
		<Relation Name="SchemaDef"
				DbName="txttyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TextTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TimeCol">
		<Relation Name="Table"
				DbName="tmcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TimeColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TimeType">
		<Relation Name="SchemaDef"
				DbName="tmtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TimeTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TimestampCol">
		<Relation Name="Table"
				DbName="tscol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TimestampColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TimestampType">
		<Relation Name="SchemaDef"
				DbName="tstyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TimestampTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TokenCol">
		<Relation Name="Table"
				DbName="tkcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="TokenColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="TokenType">
		<Relation Name="SchemaDef"
				DbName="tktyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="TokenTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt16Col">
		<Relation Name="Table"
				DbName="ui16col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="UInt16ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt16Type">
		<Relation Name="SchemaDef"
				DbName="ui16typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="UInt16TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt32Col">
		<Relation Name="Table"
				DbName="ui32col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="UInt32ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt32Type">
		<Relation Name="SchemaDef"
				DbName="ui32typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="UInt32TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt64Col">
		<Relation Name="Table"
				DbName="ui64col_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="UInt64ColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UInt64Type">
		<Relation Name="SchemaDef"
				DbName="ui64typ_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="UInt64TypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UuidCol">
		<Relation Name="Table"
				DbName="uuidcol_tbl"
				RelationType="Container"
				Label="Containing Table"
				Suffix="Table"
				FromIndex="UuidColTableIdx"
				ToIndex="Table.TableIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="TableId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="UuidType">
		<Relation Name="SchemaDef"
				DbName="uuidtyp_sch"
				RelationType="Container"
				Label="Containing Schema Definition"
				Suffix="SchemaDef"
				FromIndex="UuidTypeSchemaDefIdx"
				ToIndex="SchemaDef.SchemaDefIdIdx"
				IsRequired="true"
				DefaultVisibility="true"
				Narrowed="Value.Scope" >
			<RelationCol Name="TenantId" ToCol="TenantId" DefaultVisibility="true" />
			<RelationCol Name="SchemaDefId" ToCol="Id" DefaultVisibility="true" />
		</Relation>
	</TableAddendum>

	<TableAddendum FromTable="ClearTopDep">
		<Chain Name="DepOrder"
				ShortName="DepOrd"
				Label="Dependency Order"
				Suffix="DepOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="DelTopDep">
		<Chain Name="DepOrder"
				ShortName="DepOrd"
				Label="Dependency Order"
				Suffix="DepOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="EnumTag">
		<Chain Name="TagOrder"
				ShortName="TagOrd"
				Label="Tag Order"
				Suffix="TagOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="IndexCol">
		<Chain Name="ColumnOrder"
				ShortName="ColOrd"
				Label="Column Order"
				Suffix="ColOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="Param">
		<Chain Name="ColumnOrder"
				ShortName="ColOrd"
				Label="Column Order"
				Suffix="ColOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="RelationCol">
		<Chain Name="ColumnOrder"
				ShortName="ColOrd"
				Label="Column Order"
				Suffix="ColOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="SchemaRef">
		<Chain Name="ColumnOrder"
				ShortName="ColOrd"
				Label="Column Order"
				Suffix="ColOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="Value">
		<Chain Name="ColumnOrder"
				ShortName="ColOrd"
				Label="Column Order"
				Suffix="ColOrd"
				DefaultVisibility="true"
				PrevRel="Prev"
				NextRel="Next" />
	</TableAddendum>

	<TableAddendum FromTable="SchemaDef">
		<ClearDep Name="ClearTableRelationNarrowed" ClearDepChain="Tables.TableRelation.NarrowedRelation" />
		<ClearDep Name="ClearTypeReferences" ClearDepChain="Types.ReferencingTableCols.DataType" />
	</TableAddendum>

	<TableAddendum FromTable="Tenant">
		<ClearDep Name="ClearTableRelationNarrowed" ClearDepChain="TenantSchema.Tables.TableRelation.NarrowedRelation" />
	</TableAddendum>

	<TableAddendum FromTable="Domain">
		<DelDep Name="DelDomSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="Index">
		<DelDep Name="DelIndexCol" DelDepChain="Columns" />
		<DelDep Name="DelIndexRefRelToCols" DelDepChain="Columns.ReferencingRelToCols" />
		<DelDep Name="DelIndexRefRelFromCols" DelDepChain="Columns.ReferencingRelFromCols" />
	</TableAddendum>

	<TableAddendum FromTable="IndexCol">
		<DelDep Name="DelRefRelToCols" DelDepChain="ReferencingRelToCols" />
		<DelDep Name="DelRefRelFromCols" DelDepChain="ReferencingRelFromCols" />
	</TableAddendum>

	<TableAddendum FromTable="MajorVersion">
		<DelDep Name="DelMajVerSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="MinorVersion">
		<DelDep Name="DelMinVerSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="RealProject">
		<DelDep Name="DelRealProjSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="Relation">
		<DelDep Name="DelRelationCol" DelDepChain="Columns" />
		<DelDep Name="DelRelationPopDep" DelDepChain="PopDep" />
	</TableAddendum>

	<TableAddendum FromTable="SchemaDef">
		<DelDep Name="DelTypeDef" DelDepChain="Types" />
		<DelDep Name="DelTypeRefs" DelDepChain="Types.ReferencingTableCols" />
		<DelDep Name="DelTable" DelDepChain="Tables" />
		<DelDep Name="DelTableDispensedId16Gen" DelDepChain="Tables.DispensedId16Gen" />
		<DelDep Name="DelTableDispensedId32Gen" DelDepChain="Tables.DispensedId32Gen" />
		<DelDep Name="DelTableDispensedId64Gen" DelDepChain="Tables.DispensedId64Gen" />
		<DelDep Name="DelTableColumns" DelDepChain="Tables.Columns" />
		<DelDep Name="DelTableRefIndexColumns" DelDepChain="Tables.Columns.ReferencingIndexCols" />
		<DelDep Name="DelTableIndexes" DelDepChain="Tables.TableIndex" />
		<DelDep Name="DelTableIndexCols" DelDepChain="Tables.TableIndex.Columns" />
		<DelDep Name="DelTableIndexRefRelToCol" DelDepChain="Tables.TableIndex.Columns.ReferencingRelToCols" />
		<DelDep Name="DelTableIndexRefRelFmCol" DelDepChain="Tables.TableIndex.Columns.ReferencingRelFromCols" />
		<DelDep Name="DelTableRelation" DelDepChain="Tables.TableRelation" />
		<DelDep Name="DelTableRelationCol" DelDepChain="Tables.TableRelation.Columns" />
		<DelDep Name="DelTableRelationPopDep" DelDepChain="Tables.TableRelation.PopDep" />
		<DelDep Name="DelTableChain" DelDepChain="Tables.Chains" />
		<DelDep Name="DelTableClearDep" DelDepChain="Tables.ClearDep" />
		<DelDep Name="DelTableDelDep" DelDepChain="Tables.DelDep" />
		<DelDep Name="DelTableMethods" DelDepChain="Tables.ServerMethods" />
	</TableAddendum>

	<TableAddendum FromTable="ServerProc">
		<DelDep Name="DelParams" DelDepChain="Params" />
	</TableAddendum>

	<TableAddendum FromTable="SubProject">
		<DelDep Name="DelSubProjSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="Table">
		<DelDep Name="DelDispensedId16Gen" DelDepChain="DispensedId16Gen" />
		<DelDep Name="DelDispensedId32Gen" DelDepChain="DispensedId32Gen" />
		<DelDep Name="DelDispensedId64Gen" DelDepChain="DispensedId64Gen" />
		<DelDep Name="DelTableColumns" DelDepChain="Columns" />
		<DelDep Name="DelTableRefIndexColumns" DelDepChain="Columns.ReferencingIndexCols" />
		<DelDep Name="DelTableIndex" DelDepChain="TableIndex" />
		<DelDep Name="DelTableIndexCol" DelDepChain="TableIndex.Columns" />
		<DelDep Name="DelTableIndexRefRelToCol" DelDepChain="TableIndex.Columns.ReferencingRelToCols" />
		<DelDep Name="DelTableIndexRefRelFmCol" DelDepChain="TableIndex.Columns.ReferencingRelFromCols" />
		<DelDep Name="DelTableRelation" DelDepChain="TableRelation" />
		<DelDep Name="DelTableRelationCol" DelDepChain="TableRelation.Columns" />
		<DelDep Name="DelTableRelationPopDep" DelDepChain="TableRelation.PopDep" />
		<DelDep Name="DelTableChain" DelDepChain="Chains" />
		<DelDep Name="DelTableClearDep" DelDepChain="ClearDep" />
		<DelDep Name="DelTableDelDep" DelDepChain="DelDep" />
		<DelDep Name="DelTableMethods" DelDepChain="ServerMethods" />
	</TableAddendum>

	<TableAddendum FromTable="Tenant">
		<DelDep Name="DelSchemaDef" DelDepChain="TenantSchema" />
		<DelDep Name="DelTypeDef" DelDepChain="TenantSchema.Types" />
		<DelDep Name="DelTable" DelDepChain="TenantSchema.Tables" />
		<DelDep Name="DelTableRelation" DelDepChain="TenantSchema.Tables.TableRelation" />
		<DelDep Name="DelTableRelationCol" DelDepChain="TenantSchema.Tables.TableRelation.Columns" />
		<DelDep Name="DelTableChain" DelDepChain="TenantSchema.Tables.Chains" />
	</TableAddendum>

	<TableAddendum FromTable="TopDomain">
		<DelDep Name="DelTopDomSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

	<TableAddendum FromTable="TopProject">
		<DelDep Name="DelTopProjSchemaDefs" DelDepChain="SchemaDef" />
	</TableAddendum>

</SchemaDef>
						</MinorVersion>
					</MajorVersion>
				</SubProject>
			</TopProject>
		</TopDomain>
	</Tld>
</MSSBam>
