major updates to ensure all tests are passing again

This commit is contained in:
Michael Becker 2024-10-03 22:15:45 -04:00
parent 59c2b49e97
commit ae2379b2af
36 changed files with 623 additions and 142530 deletions

View File

@ -13,25 +13,23 @@ fi
for p in $PROJECTS; do for p in $PROJECTS; do
if [ $PROJECT_SELECTED != "" ]; then if [ "$PROJECT_SELECTED" != "" ]; then
if [ "$p" != "$PROJECT_SELECTED" ]; then if [ "$p" != "$PROJECT_SELECTED" ]; then
continue continue
fi fi
fi fi
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 ./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 done
for p in $PROJECTS_WITH_SYSTEM_REFS; do for p in $PROJECTS_WITH_SYSTEM_REFS; do
if [ $PROJECT_SELECTED != "" ]; then if [ "$PROJECT_SELECTED" != "" ]; then
if [ "$p" != "$PROJECT_SELECTED" ]; then if [ "$p" != "$PROJECT_SELECTED" ]; then
continue continue
fi fi

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_ExecutableBuildingResponse: '{bb416328-f1d4-44d6-b6d9-eb94d56d1d6d}'
- IDC_WorkData: '{05e8f023-88cb-416b-913e-75299e665eb2}' - 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;' - library: '&IDL_MochaBaseSystem;'
instances: instances:
- class: '&IDC_GetReferencedAttributeMethod;' - class: '&IDC_GetReferencedAttributeMethod;'
@ -84,3 +90,35 @@
destinationClassId: '&IDC_GetReferencedAttributeMethod;' destinationClassId: '&IDC_GetReferencedAttributeMethod;'
siblingRelationshipId: '&IDR_Get_Referenced_Attribute_Method__uses_answer__Executable_returning_Attribute;' siblingRelationshipId: '&IDR_Get_Referenced_Attribute_Method__uses_answer__Executable_returning_Attribute;'
singular: no 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: - entityDefinitions:
- IDC_SelectionFunction: '{bdaef55d-9905-4d24-84c2-7439d43a79df}' - 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;' - library: '&IDL_MochaBaseSystem;'
instances: instances:
- class: '&IDC_SelectionFunction;' - class: '&IDC_SelectionFunction;'
name: Selection Function 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;' - class: '&IDC_SystemAttributeRoutine;'
name: System Attribute Routine name: System Attribute Routine
index: 70 index: 70
customTagName: 'systemAttributeRoutine'
attributes: attributes:
- instance: '&IDA_Name;' - instance: '&IDA_Name;'
customTagName: '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}' - IDMB_Instance__get__Parent_Class: '{ff202817-0b0d-430a-af5f-e49755c91fbb}'
- library: '&IDL_MochaBaseSystem;' - library: '&IDL_MochaBaseSystem;'
instances: instances:
- getReferencedInstanceSetMethod: '&IDM_Instance__get__Parent_Class;' - getRelationshipMethod: '&IDM_Instance__get__Parent_Class;'
# initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)'
forClassId: '&IDC_Instance;' forClassId: '&IDC_Instance;'
returnsWorkSetId: '&IDI_WorkSet_ParentClass;' returnsWorkSetId: '&IDI_WorkSet_ParentClass;'
verb: 'get' verb: 'get'
name: 'Parent Class' name: 'Parent Class'
accessModifierId: '&IDI_AccessModifier_RootA2;' accessModifierId: '&IDI_AccessModifier_RootA2;'
referenceInstanceSet: '&IDC_Instance;' returnsRelationshipId: '&IDR_Instance__for__Class;'
answerInstanceSet: '&IDR_Instance__for__Class;'
singular: yes singular: yes
- returnInstanceSetMethodBinding: '&IDMB_Instance__get__Parent_Class;' - 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 - order: f
executes: '&IDMB_Common_Text__get__Open_Parenthesis;' #( executes: '&IDMB_Common_Text__get__Open_Parenthesis;' #(
- order: g - order: g
executes: '&IDMB_Method__get__Method_Type;' # GRA, GSI, etc. executes: '&IDMB_Method__get__Abbreviation;' # GRA, GSI, etc.
- order: h - order: h
executes: '&IDMB_Common_Text__get__Close_Parenthesis;' #) executes: '&IDMB_Common_Text__get__Close_Parenthesis;' #)
- order: i - 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: - entityDefinitions:
- IDM_Method__get__Method_Type: '{ddb62bd1-df5a-4c9d-9991-ff9a827717e9}' - IDM_Method__get__Abbreviation: '{ddb62bd1-df5a-4c9d-9991-ff9a827717e9}'
- IDMB_Method__get__Method_Type: '{b82b5b35-a88f-48b9-80aa-2b2ba9737e31}' - IDMB_Method__get__Abbreviation: '{b82b5b35-a88f-48b9-80aa-2b2ba9737e31}'
- library: '&IDL_MochaBaseSystem;' - library: '&IDL_MochaBaseSystem;'
instances: instances:
- conditionalSelectAttributeMethod: '&IDM_Method__get__Method_Type;' - conditionalSelectAttributeMethod: '&IDM_Method__get__Abbreviation;'
# initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)'
forClassId: '&IDC_Method;' forClassId: '&IDC_Method;'
returnsAttributeId: '&IDA_MethodType;' returnsAttributeId: '&IDA_MethodType;'
@ -12,6 +12,12 @@
name: 'Method Type' name: 'Method Type'
accessModifierId: '&IDI_AccessModifier_RootA2;' accessModifierId: '&IDI_AccessModifier_RootA2;'
cases: 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}' - globalIdentifier: '{dc60fe34-bdb4-4372-a0b7-cc913606e215}'
trueConditions: trueConditions:
- instance: '&IDMB_Method__is__GRS;' - instance: '&IDMB_Method__is__GRS;'
@ -96,9 +102,15 @@
returnsAttributeId: '&IDMB_Method__get__SS_Method_Suffix;' returnsAttributeId: '&IDMB_Method__get__SS_Method_Suffix;'
comment: 'If Method is SS, return the "SS" 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}' - globalIdentifier: '{570dd2ff-38d6-4615-b033-880b8dda9f5b}'
returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;' returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;'
comment: 'If nothing else matches, just return empty string' comment: 'If nothing else matches, just return empty string'
- returnAttributeMethodBinding: '&IDMB_Method__get__Method_Type;' - returnAttributeMethodBinding: '&IDMB_Method__get__Abbreviation;'
executesMethod: '&IDM_Method__get__Method_Type;' 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__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__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;'