Merge branch 'master' of gitea.azcona-becker.net:mochapowered/mocha-common

This commit is contained in:
Michael Becker 2024-11-01 22:57:56 -04:00
commit 007bbcd885
39 changed files with 702 additions and 142525 deletions

View File

@ -4,6 +4,37 @@ if [ ! -d output ]; then
mkdir output
fi
./yaml2mcl --export-entities=output/net.alcetech.Mocha.Core.css -o output/net.alcetech.Mocha.Core.mcl data/libraries/yaml/net.alcetech.Mocha.Core
./yaml2mcl --export-entities=output/net.alcetech.Mocha.System.cs -o output/net.alcetech.Mocha.System.mcl data/libraries/yaml/net.alcetech.Mocha.System
./yaml2mcl --reference output/net.alcetech.Mocha.System.mcl --export-entities=output/net.alcetech.Mocha.Web.cs -o output/net.alcetech.Mocha.Web.mcl data/libraries/yaml/net.alcetech.Mocha.Web
PROJECTS="net.alcetech.Mocha.Core net.alcetech.Mocha.System"
PROJECTS_WITH_SYSTEM_REFS="net.alcetech.Mocha.Web"
if [ "$1" != "" ]; then
PROJECT_SELECTED="$1"
fi
for p in $PROJECTS; do
if [ "$PROJECT_SELECTED" != "" ]; then
if [ "$p" != "$PROJECT_SELECTED" ]; then
continue
fi
fi
./yaml2mcl --export-entities=output/$p.cs -o output/$p.mcl data/libraries/yaml/$p
if [ ! $? -eq 0 ]; then
echo "error MCX9911 : build failed"
exit
fi
done
for p in $PROJECTS_WITH_SYSTEM_REFS; do
if [ "$PROJECT_SELECTED" != "" ]; then
if [ "$p" != "$PROJECT_SELECTED" ]; then
continue
fi
fi
./yaml2mcl --reference output/net.alcetech.Mocha.System.mcl --export-entities=output/$p.cs -o output/$p.mcl data/libraries/yaml/$p
done

File diff suppressed because one or more lines are too long

View File

@ -18,4 +18,4 @@
- IDC_ExecutableBuildingResponse: '{bb416328-f1d4-44d6-b6d9-eb94d56d1d6d}'
- IDC_WorkData: '{05e8f023-88cb-416b-913e-75299e665eb2}'
- IDC_WorkSet: '{c4c171d8-994b-485b-b0ac-053d11b963ab}'
- IDC_WorkSet: '{c4c171d8-994b-485b-b0ac-053d11b963ab}'

View File

@ -1,4 +1,10 @@
---
- entityDefinitions:
- IDR_Get_Referenced_Attribute_Method__uses__Accumulation_Function: '{68888355-a162-40b3-8dd6-532bf84d219a}'
- IDR_Accumulation_Function__used_by__Get_Referenced_Attribute_Method: '{a3af2e78-78ab-4c99-a2d2-f359aa7966cd}'
- IDR_Get_Referenced_Attribute_Method__uses_order__Executable_returning_Attribute: '{ee8e21c4-1afc-403a-a3f0-4c1544285f5c}'
- IDR_Executable_returning_Attribute__order_used_by__Get_Referenced_Attribute_Method: '{dec00186-e3c8-4440-ae23-dc9e91bccb49}'
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_GetReferencedAttributeMethod;'
@ -84,3 +90,35 @@
destinationClassId: '&IDC_GetReferencedAttributeMethod;'
siblingRelationshipId: '&IDR_Get_Referenced_Attribute_Method__uses_answer__Executable_returning_Attribute;'
singular: no
- relationship: '&IDR_Get_Referenced_Attribute_Method__uses__Accumulation_Function;'
index: 81
sourceClassId: '&IDC_GetReferencedAttributeMethod;'
type: 'uses'
destinationClassId: '&IDC_AccumulationFunction;'
siblingRelationshipId: '&IDR_Accumulation_Function__used_by__Get_Referenced_Attribute_Method;'
singular: yes
- relationship: '&IDR_Accumulation_Function__used_by__Get_Referenced_Attribute_Method;'
index: 82
sourceClassId: '&IDC_AccumulationFunction;'
type: 'used by'
destinationClassId: '&IDC_GetReferencedAttributeMethod;'
siblingRelationshipId: '&IDR_Get_Referenced_Attribute_Method__uses__Accumulation_Function;'
singular: no
- relationship: '&IDR_Get_Referenced_Attribute_Method__uses_order__Executable_returning_Attribute;'
index: 12532
sourceClassId: '&IDC_GetReferencedAttributeMethod;'
type: 'uses order'
destinationClassId: '&IDC_ExecutableReturningAttribute;'
siblingRelationshipId: '&IDR_Executable_returning_Attribute__order_used_by__Get_Referenced_Attribute_Method;'
singular: yes
- relationship: '&IDR_Executable_returning_Attribute__order_used_by__Get_Referenced_Attribute_Method;'
index: 12533
sourceClassId: '&IDC_ExecutableReturningAttribute;'
type: 'used by'
destinationClassId: '&IDC_GetReferencedAttributeMethod;'
siblingRelationshipId: '&IDR_Get_Referenced_Attribute_Method__uses_order__Executable_returning_Attribute;'
singular: no

View File

@ -0,0 +1,21 @@
---
- entityDefinitions:
- IDC_AccumulationFunction: '{64f1b972-63c8-46c9-94a5-17a3cab957fe}'
- IDI_AccumulationFunction_Sum: '{c84c3615-c418-4273-8212-cb7766d95ee4}'
- IDI_AccumulationFunction_Average: '{57eb3ded-96fe-4faa-98af-3edd9ed13ab4}'
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_AccumulationFunction;'
name: Accumulation Function
index: 48
customTagName: 'accumulationFunction'
attributes:
- instance: '&IDA_Name;'
customTagName: 'name'
- accumulationFunction: '&IDI_AccumulationFunction_Sum;'
name: 'Sum'
- accumulationFunction: '&IDI_AccumulationFunction_Average;'
name: 'Average'

View File

@ -1,9 +1,21 @@
---
- entityDefinitions:
- IDC_SelectionFunction: '{bdaef55d-9905-4d24-84c2-7439d43a79df}'
- IDI_SelectionFunction_Minimum: '{1ff7be8c-fe48-4154-9028-8ee84b7dc367}'
- IDI_SelectionFunction_Maximum: '{dda6c31d-5bea-41a9-a6bc-0e5c189784da}'
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_SelectionFunction;'
name: Selection Function
index: 49
index: 49
customTagName: 'selectionFunction'
attributes:
- instance: '&IDA_Name;'
customTagName: 'name'
- selectionFunction: '&IDI_SelectionFunction_Minimum;'
name: 'Minimum'
- selectionFunction: '&IDI_SelectionFunction_Maximum;'
name: 'Maximum'

View File

@ -7,6 +7,7 @@
- class: '&IDC_SystemAttributeRoutine;'
name: System Attribute Routine
index: 70
customTagName: 'systemAttributeRoutine'
attributes:
- instance: '&IDA_Name;'
customTagName: 'name'

View File

@ -1,7 +0,0 @@
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningWorkData;'
name: Executable returning Work Data
index: 77
abstract: yes

View File

@ -1,7 +0,0 @@
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningInstanceSet;'
name: Executable returning Instance Set
index: 78
abstract: yes

View File

@ -1,7 +0,0 @@
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningAttribute;'
name: Executable returning Attribute
index: 79
abstract: yes

View File

@ -1,7 +0,0 @@
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningElement;'
name: Executable returning Element
index: 80
abstract: yes

View File

@ -0,0 +1,24 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_Executable;'
name: Executable
index: 119
abstract: yes

View File

@ -0,0 +1,26 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningWorkData;'
name: Executable returning Work Data
index: 120
abstract: yes
superclasses:
- instance: '&IDC_Executable;'

View File

@ -0,0 +1,26 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningInstanceSet;'
name: Executable returning Instance Set
index: 121
abstract: yes
superclasses:
- instance: '&IDC_Executable;'

View File

@ -0,0 +1,26 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningAttribute;'
name: Executable returning Attribute
index: 122
abstract: yes
superclasses:
- instance: '&IDC_Executable;'

View File

@ -0,0 +1,26 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableReturningElement;'
name: Executable returning Element
index: 123
abstract: yes
superclasses:
- instance: '&IDC_Executable;'

View File

@ -0,0 +1,26 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_ExecutableBuildingResponse;'
name: Executable building a Response
index: 124
abstract: yes
superclasses:
- instance: '&IDC_Executable;'

View File

@ -0,0 +1,68 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- entityDefinitions:
- IDR_Get_Relationship_Method__returns__Relationship: '{321581d6-60c1-4547-8344-9d5bda027adc}'
- IDR_Relationship__returned_by__Get_Relationship_Method: '{174242ec-7615-42d9-9639-c70ff6e84e0d}'
- library: '&IDL_MochaBaseSystem;'
instances:
- class: '&IDC_GetRelationshipMethod;'
inherits: '&IDC_Method;'
name: GR - Get Relationship Method
index: 207
customTagName: getRelationshipMethod
superclasses:
- instance: '&IDC_Method;'
#- instance: '&IDC_ExecutableReturningElement;'
attributes:
- instance: '&IDA_Verb;'
customTagName: 'verb'
- instance: '&IDA_Name;'
customTagName: 'name'
- instance: '&IDA_Static;'
customTagName: 'static'
- instance: '&IDA_Final;'
customTagName: 'final'
- instance: '&IDA_Singular;'
customTagName: 'singular'
relationships:
- instance: '&IDR_Instance__for__Module;'
customTagName: 'moduleId'
- instance: '&IDR_Method__for__Class;'
customTagName: 'forClassId'
- instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;'
customTagName: 'accessModifierId'
- instance: '&IDR_Get_Relationship_Method__returns__Relationship;'
customTagName: 'returnsRelationshipId'
- relationship: '&IDR_Get_Relationship_Method__returns__Relationship;'
index: 521
sourceClassId: '&IDC_GetRelationshipMethod;'
type: 'returns'
destinationClassId: '&IDC_Relationship;'
siblingRelationshipId: '&IDR_Relationship__returned_by__Get_Relationship_Method;'
singular: yes
- relationship: '&IDR_Relationship__returned_by__Get_Relationship_Method;'
index: 522
sourceClassId: '&IDC_Relationship;'
type: 'returned by'
destinationClassId: '&IDC_GetRelationshipMethod;'
siblingRelationshipId: '&IDR_Get_Relationship_Method__returns__Relationship;'
singular: no

View File

@ -0,0 +1,43 @@
# Copyright (C) 2024 Michael Becker <alcexhim@gmail.com>
#
# This file is part of Mocha.NET.
#
# Mocha.NET 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.
#
# Mocha.NET 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 Mocha.NET. If not, see <https://www.gnu.org/licenses/>.
---
- entityDefinitions:
- IDM_Common_Numeric__get__Random_Number: '{84b8b8eb-a2a5-4f87-9e7e-237658fa1c1f}'
- IDMB_Common_Numeric__get__Random_Number: '{58017a30-6075-4c3f-9071-73ad385a1159}'
- IDI_SystemAttributeRoutine_GetRandomNumber: '{8f7945da-4cad-49cb-9838-85f3524a5adb}' # {4f842244-e326-4a51-87c1-55cf041e355b}
- IDA_Seed: '{ee6f8b91-e471-4281-8bbe-ad858388bcc2}'
- library: '&IDL_MochaBaseSystem;'
instances:
- getAttributeBySystemRoutineMethod: '&IDM_Common_Numeric__get__Random_Number;'
forClassId: '&IDC_CommonNumeric;'
verb: 'get'
name: 'Random Number'
accessModifierId: '&IDI_AccessModifier_Public;'
returnsAttributeId: '&IDA_Value;'
systemAttributeRoutineId: '&IDI_SystemAttributeRoutine_GetRandomNumber;'
moduleId: '&IDI_Module_MochaBaseSystem;'
- returnAttributeMethodBinding: '&IDMB_Common_Numeric__get__Random_Number;'
executesMethod: '&IDM_Common_Numeric__get__Random_Number;'
- systemAttributeRoutine: '&IDI_SystemAttributeRoutine_GetRandomNumber;'
name: 'Get Random Number'
- numericAttribute: '&IDA_Seed;'
name: 'Seed'

View File

@ -3,15 +3,14 @@
- IDMB_Instance__get__Parent_Class: '{ff202817-0b0d-430a-af5f-e49755c91fbb}'
- library: '&IDL_MochaBaseSystem;'
instances:
- getReferencedInstanceSetMethod: '&IDM_Instance__get__Parent_Class;'
- getRelationshipMethod: '&IDM_Instance__get__Parent_Class;'
# initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)'
forClassId: '&IDC_Instance;'
returnsWorkSetId: '&IDI_WorkSet_ParentClass;'
verb: 'get'
name: 'Parent Class'
accessModifierId: '&IDI_AccessModifier_RootA2;'
referenceInstanceSet: '&IDC_Instance;'
answerInstanceSet: '&IDR_Instance__for__Class;'
returnsRelationshipId: '&IDR_Instance__for__Class;'
singular: yes
- returnInstanceSetMethodBinding: '&IDMB_Instance__get__Parent_Class;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method__get__AA_Method_Suffix: '{226ffc30-4034-4592-9a11-3be37ba347d1}'
- IDMB_Method__get__AA_Method_Suffix: '{36148f84-f781-4789-b726-95e3783da749}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method__get__AA_Method_Suffix;'
forClassId: '&IDC_Method;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'AA Method Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'AA'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method__get__AA_Method_Suffix;'
executesMethod: '&IDM_Method__get__AA_Method_Suffix;'

View File

@ -25,7 +25,7 @@
- order: f
executes: '&IDMB_Common_Text__get__Open_Parenthesis;' #(
- order: g
executes: '&IDMB_Method__get__Method_Type;' # GRA, GSI, etc.
executes: '&IDMB_Method__get__Abbreviation;' # GRA, GSI, etc.
- order: h
executes: '&IDMB_Common_Text__get__Close_Parenthesis;' #)
- order: i

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method__get__GR_Method_Suffix: '{43df6b59-e926-4a16-b000-3f5571f05750}'
- IDMB_Method__get__GR_Method_Suffix: '{b5080231-47ad-4b28-902a-239eaaa9a80a}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method__get__GR_Method_Suffix;'
forClassId: '&IDC_Method;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'GR Method Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'GR'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method__get__GR_Method_Suffix;'
executesMethod: '&IDM_Method__get__GR_Method_Suffix;'

View File

@ -1,10 +1,10 @@
- entityDefinitions:
- IDM_Method__get__Method_Type: '{ddb62bd1-df5a-4c9d-9991-ff9a827717e9}'
- IDMB_Method__get__Method_Type: '{b82b5b35-a88f-48b9-80aa-2b2ba9737e31}'
- IDM_Method__get__Abbreviation: '{ddb62bd1-df5a-4c9d-9991-ff9a827717e9}'
- IDMB_Method__get__Abbreviation: '{b82b5b35-a88f-48b9-80aa-2b2ba9737e31}'
- library: '&IDL_MochaBaseSystem;'
instances:
- conditionalSelectAttributeMethod: '&IDM_Method__get__Method_Type;'
- conditionalSelectAttributeMethod: '&IDM_Method__get__Abbreviation;'
# initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)'
forClassId: '&IDC_Method;'
returnsAttributeId: '&IDA_MethodType;'
@ -12,6 +12,12 @@
name: 'Method Type'
accessModifierId: '&IDI_AccessModifier_RootA2;'
cases:
- globalIdentifier: '{8ec615a4-17a4-4111-8cd4-b5d435a001d4}'
trueConditions:
- instance: '&IDMB_Method__is__AA;'
returnsAttributeId: '&IDMB_Method__get__AA_Method_Suffix;'
comment: 'If Method is AA, return the "AA" suffix'
- globalIdentifier: '{dc60fe34-bdb4-4372-a0b7-cc913606e215}'
trueConditions:
- instance: '&IDMB_Method__is__GRS;'
@ -96,9 +102,15 @@
returnsAttributeId: '&IDMB_Method__get__SS_Method_Suffix;'
comment: 'If Method is SS, return the "SS" suffix'
- globalIdentifier: '{7f33e149-f5f9-4dcc-87a1-1fa22959c5ed}'
trueConditions:
- instance: '&IDMB_Method__is__GR;'
returnsAttributeId: '&IDMB_Method__get__GR_Method_Suffix;'
comment: 'If Method is GR, return the "GR" suffix'
- globalIdentifier: '{570dd2ff-38d6-4615-b033-880b8dda9f5b}'
returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;'
comment: 'If nothing else matches, just return empty string'
- returnAttributeMethodBinding: '&IDMB_Method__get__Method_Type;'
executesMethod: '&IDM_Method__get__Method_Type;'
- returnAttributeMethodBinding: '&IDMB_Method__get__Abbreviation;'
executesMethod: '&IDM_Method__get__Abbreviation;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method__is__AA: '{3101a6f0-fe18-4bea-addc-2785834da4d2}'
- IDMB_Method__is__AA: '{9a29f5b3-4867-436e-9f85-7a644b94920e}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method__is__AA;'
forClassId: '&IDC_Method;'
verb: 'is'
name: 'AA'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_AssignAttributeMethod;'
- returnAttributeMethodBinding: '&IDMB_Method__is__AA;'
executesMethod: '&IDM_Method__is__AA;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method__is__GR: '{60b658eb-6660-46bb-827b-0bb5800a0c01}'
- IDMB_Method__is__GR: '{8dbd6bb3-b196-46ee-a34e-45a24f4798ff}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method__is__GR;'
forClassId: '&IDC_Method;'
verb: 'is'
name: 'GR'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_GetRelationshipMethod;'
- returnAttributeMethodBinding: '&IDMB_Method__is__GR;'
executesMethod: '&IDM_Method__is__GR;'

View File

@ -0,0 +1,44 @@
- entityDefinitions:
- IDM_Method_Binding__get__Abbreviation: '{4c7a3419-7ed3-4b0b-99ab-f499807871a1}'
- IDMB_Method_Binding__get__Abbreviation: '{b54dbab2-a345-48be-85b9-36f4615b69aa}'
- library: '&IDL_MochaBaseSystem;'
instances:
- conditionalSelectAttributeMethod: '&IDM_Method_Binding__get__Abbreviation;'
# initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'Abbreviation'
accessModifierId: '&IDI_AccessModifier_RootA2;'
cases:
- globalIdentifier: '{afb46520-1681-42c3-9345-7551492a52c7}'
trueConditions:
- instance: '&IDMB_Method_Binding__is__RSMB;'
returnsAttributeId: '&IDMB_Method_Binding__get__RSMB_Suffix;'
comment: 'If Method Binding is RSMB, return the "RSMB" suffix'
- globalIdentifier: '{80169afd-b847-4ef5-89c6-89378750165e}'
trueConditions:
- instance: '&IDMB_Method_Binding__is__RAMB;'
returnsAttributeId: '&IDMB_Method_Binding__get__RAMB_Suffix;'
comment: 'If Method is RAMB, return the "RAMB" suffix'
- globalIdentifier: '{aed9169a-0f42-4b03-844e-ca16bcdee21e}'
trueConditions:
- instance: '&IDMB_Method_Binding__is__EUMB;'
returnsAttributeId: '&IDMB_Method_Binding__get__EUMB_Suffix;'
comment: 'If Method is EUMB, return the "EUMB" suffix'
- globalIdentifier: '{a04e0eee-ddf9-4bae-9773-43cbfa9e31d3}'
trueConditions:
- instance: '&IDMB_Method_Binding__is__PUMB;'
returnsAttributeId: '&IDMB_Method_Binding__get__PUMB_Suffix;'
comment: 'If Method is PUMB, return the "PUMB" suffix'
- globalIdentifier: '{6091faf2-e22d-4ca3-b67d-f1f0f30a68e2}'
returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;'
comment: 'If nothing else matches, just return empty string'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__Abbreviation;'
executesMethod: '&IDM_Method_Binding__get__Abbreviation;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method_Binding__get__BRMB_Suffix: '{0b7353b5-5e5f-45b5-ab66-12cc5981ff57}'
- IDMB_Method_Binding__get__BRMB_Suffix: '{fb281776-890c-4285-babc-ee0ddc6ff369}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method_Binding__get__BRMB_Suffix;'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'BRMB Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'brmb'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__BRMB_Suffix;'
executesMethod: '&IDM_Method_Binding__get__BRMB_Suffix;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method_Binding__get__EUMB_Suffix: '{f8dfba67-15aa-4b58-b3c3-22263272c894}'
- IDMB_Method_Binding__get__EUMB_Suffix: '{4298efe9-8ac9-4bf1-85e4-dcc452b09730}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method_Binding__get__EUMB_Suffix;'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'EUMB Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'eumb'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__EUMB_Suffix;'
executesMethod: '&IDM_Method_Binding__get__EUMB_Suffix;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method_Binding__get__PUMB_Suffix: '{da39861f-3300-49df-aa99-4a51a870cb89}'
- IDMB_Method_Binding__get__PUMB_Suffix: '{ccb448b0-54e5-483a-88c7-233c9eafa541}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method_Binding__get__PUMB_Suffix;'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'PUMB Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'pumb'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__PUMB_Suffix;'
executesMethod: '&IDM_Method_Binding__get__PUMB_Suffix;'

View File

@ -0,0 +1,10 @@
- entityDefinitions:
- IDMB_Method_Binding__get__Parent_Class: '{34662963-6650-4fc6-9a59-f78488a9dbb3}'
- library: '&IDL_MochaBaseSystem;'
instances:
- returnInstanceSetMethodBinding: '&IDMB_Method_Binding__get__Parent_Class;'
executesMethod: '&IDM_Instance__get__Parent_Class;'
parameterAssignments:
- globalIdentifier: '{2132099c-b700-4c44-9fec-0c12fb46a85b}'
assignsToParameter: '&IDC_Instance;'
assignsFromWorkData: '&IDC_MethodBinding;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method_Binding__get__RAMB_Suffix: '{ae96c7e2-921a-46a6-a0df-27c634b8fd96}'
- IDMB_Method_Binding__get__RAMB_Suffix: '{a61fc7d2-676d-4112-8f1a-125c77db979e}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method_Binding__get__RAMB_Suffix;'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'RAMB Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'ramb'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__RAMB_Suffix;'
executesMethod: '&IDM_Method_Binding__get__RAMB_Suffix;'

View File

@ -0,0 +1,16 @@
- entityDefinitions:
- IDM_Method_Binding__get__RSMB_Suffix: '{6294d18d-6149-445d-b409-29effa97e556}'
- IDMB_Method_Binding__get__RSMB_Suffix: '{1493df5f-7860-475b-be08-fcb68fff3f55}'
- library: '&IDL_MochaBaseSystem;'
instances:
- buildAttributeMethod: '&IDM_Method_Binding__get__RSMB_Suffix;'
forClassId: '&IDC_MethodBinding;'
returnsAttributeId: '&IDA_MethodType;'
verb: 'get'
name: 'RSMB Suffix'
accessModifierId: '&IDI_AccessModifier_Public;'
initialValue: 'rsmb'
static: yes
- returnAttributeMethodBinding: '&IDMB_Method_Binding__get__RSMB_Suffix;'
executesMethod: '&IDM_Method_Binding__get__RSMB_Suffix;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method_Binding__is__BRMB: '{18b483f7-55c3-45ae-a13d-1db33672f1b4}'
- IDMB_Method_Binding__is__BRMB: '{d66fb10d-cea4-45a3-a08d-173d1b4bacdb}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method_Binding__is__BRMB;'
forClassId: '&IDC_MethodBinding;'
verb: 'is'
name: 'BRMB'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method_Binding__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_BuildResponseMethodBinding;'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__is__BRMB;'
executesMethod: '&IDM_Method_Binding__is__BRMB;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method_Binding__is__EUMB: '{d517b916-d589-4ae5-9afa-fba106abd827}'
- IDMB_Method_Binding__is__EUMB: '{d73bffed-cdcc-4b26-9cf5-7c40129ea832}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method_Binding__is__EUMB;'
forClassId: '&IDC_MethodBinding;'
verb: 'is'
name: 'EUMB'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method_Binding__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_ExecuteUpdateMethodBinding;'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__is__EUMB;'
executesMethod: '&IDM_Method_Binding__is__EUMB;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method_Binding__is__PUMB: '{ab399237-6039-4c78-b49c-e8ca0dc3d0a2}'
- IDMB_Method_Binding__is__PUMB: '{c2759919-86d8-41f4-b1e5-a168d4a5e1e5}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method_Binding__is__PUMB;'
forClassId: '&IDC_MethodBinding;'
verb: 'is'
name: 'PUMB'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method_Binding__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_ExecuteUpdateMethodBinding;'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__is__PUMB;'
executesMethod: '&IDM_Method_Binding__is__PUMB;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method_Binding__is__RAMB: '{c50c76c7-96e1-4523-935f-058581d881bd}'
- IDMB_Method_Binding__is__RAMB: '{7dcd2d89-612f-45d6-8af5-6dbbd2e78cd3}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method_Binding__is__RAMB;'
forClassId: '&IDC_MethodBinding;'
verb: 'is'
name: 'RAMB'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method_Binding__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_ReturnAttributeMethodBinding;'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__is__RAMB;'
executesMethod: '&IDM_Method_Binding__is__RAMB;'

View File

@ -0,0 +1,18 @@
- entityDefinitions:
- IDM_Method_Binding__is__RSMB: '{3ef7949a-6abc-47f0-8f2d-a4463d8b31d4}'
- IDMB_Method_Binding__is__RSMB: '{da07b820-4d38-4015-ba94-34c5f2625593}'
- library: '&IDL_MochaBaseSystem;'
instances:
- evaluateBooleanExpressionMethod: '&IDM_Method_Binding__is__RSMB;'
forClassId: '&IDC_MethodBinding;'
verb: 'is'
name: 'RSMB'
accessModifierId: '&IDI_AccessModifier_RootA2;'
returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;'
source: '&IDMB_Method_Binding__get__Parent_Class;'
operator: '&IDI_RelationalOperator_ExactMatch;'
target: '&IDC_ReturnInstanceSetMethodBinding;'
- returnAttributeMethodBinding: '&IDMB_Method_Binding__is__RSMB;'
executesMethod: '&IDM_Method_Binding__is__RSMB;'

View File

@ -10,6 +10,9 @@
- IDR_Tenant__has__Route_Table: '{1af6c245-2faa-4f31-9368-4148b3051c04}'
- IDR_Route_Table__for__Tenant: '{e55755c3-3574-41f5-b8e7-ed634050fe67}'
- IDR_Route__processed_by__Control_Transaction_Method: '{6b9ad17e-69a2-42bf-8197-5ab266c76cd1}'
- IDR_Control_Transaction_Method__processes__Route: '{d1c3aa8a-0928-4c46-9aba-9a368b3dea5a}'
- library: '&IDL_MochaWeb;'
instances:
@ -66,6 +69,20 @@
siblingRelationshipId: '&IDR_Tenant__has__Route_Table;'
singular: no
- relationship: '&IDR_Route__processed_by__Control_Transaction_Method;'
sourceClassId: '&IDC_Route;'
type: 'processed by'
destinationClassId: '&IDC_ControlTransactionMethod;'
siblingRelationshipId: '&IDR_Control_Transaction_Method__processes__Route;'
singular: yes
- relationship: '&IDR_Control_Transaction_Method__processes__Route;'
sourceClassId: '&IDC_ControlTransactionMethod;'
type: 'processes'
destinationClassId: '&IDC_Route;'
siblingRelationshipId: '&IDR_Route__processed_by__Control_Transaction_Method;'
singular: no
- routeTable: '{641ea97b-a1c2-4005-9bda-c0111a254365}'
routes:
- instance: '{1184d102-0710-4632-bf64-6362b9485a0f}'