diff --git a/common/admin/mocha-libexec/internal/librarymanager/LibraryManager.py b/common/admin/mocha-libexec/internal/librarymanager/LibraryManager.py index c918d29..8ed6e24 100644 --- a/common/admin/mocha-libexec/internal/librarymanager/LibraryManager.py +++ b/common/admin/mocha-libexec/internal/librarymanager/LibraryManager.py @@ -25,9 +25,13 @@ class MochaLibraryManager: self.db = MySQLdb.connect(host=hostname, user=username, passwd=password, db=database) def commit(self): - for (class_gid, inst_gid, classIndex, index) in self._instances: - op = PrepareInstanceOperation(Guid(class_gid), Guid(inst_gid), classIndex, index) - op.execute(self.db) + for (class_gid, inst_gid, class_index, index) in self._instances: + if class_index is None and class_gid is not None: + # class_index = self.db.query("SELECT inst_id FROM mocha_instances WHERE tenant_id = 1 AND id = mocha_get_instance_by_global_identifier(mocha_normalize_uuid('" + class_gid + "'))") + + # class_index = (SELECT inst_id FROM mocha_instances WHERE tenant_id = p_tenant_id AND id = mocha_get_instance_by_global_identifier(p_class_global_identifier)); + op = PrepareInstanceOperation(Guid(class_gid), Guid(inst_gid), class_index, index) + op.execute(self.db) for op in self._operations: op.execute(self.db) @@ -139,13 +143,51 @@ class MochaLibraryManager: for yaml_file in yaml_files: yl.load_entity_definitions_from_file(yaml_file) - # then, load instance definitions (also loads sugar elements into memory for later use) - for yaml_file in yaml_files: - yl.load_instances_from_file(yaml_file) - - # finally, apply syntactic sugar - yl.apply_sugar() + try: + # then, load instance definitions (also loads sugar elements into memory for later use) + for yaml_file in yaml_files: + yl.load_instances_from_file(yaml_file) + + # finally, apply syntactic sugar + yl.apply_sugar() + return True + + except NameError as ex: + + print (ex) + + rgx = "&(.*);" + + # go through and get all entity references across all files + import re + import fileinput + + stuff = [] + + for yaml_file in yaml_files: + f = open(yaml_file, "r") + text = f.read() + matches = re.findall(rgx, text) + for match in matches: + stuff.append(match) + f.close() + + missingEntities = [] + for stuf in stuff: + if not stuf in self.entityReferences: + if not stuf in missingEntities: + missingEntities.append(stuf) + + if len(missingEntities) > 0: + print("\nNOTE: there were undefined referenced entities:\n") + for missingEntity in missingEntities: + print("\t" + missingEntity) + print("\n") + + return False + + def register_entity_reference(self, name, value): self.entityReferences[name] = value def define_entity_reference(self, name): @@ -175,3 +217,10 @@ class MochaLibraryManager: def add_instance(self, classGid : Guid, instGid : Guid, classIndex : int, index : int): print("adding instance for class '" + classGid.get_value() + "' with globalid '" + instGid.get_value() + "' [" + str(index) + "]") self._instances.append((classGid.get_value(), instGid.get_value(), classIndex, index)) + + # assign relationship `Instance.for Class` + self.assign_relationship(instGid, Guid('494D5A6D04BE477B8763E3F57D0DD8C8'), classGid) + + # assign relationship `Class.has Instance` + self.assign_relationship(classGid, Guid('7EB41D3C2AE9488483A4E59441BCAEFB'), instGid) + \ No newline at end of file diff --git a/common/admin/mocha-libexec/internal/librarymanager/libraryparser/YAMLLibraryParser.py b/common/admin/mocha-libexec/internal/librarymanager/libraryparser/YAMLLibraryParser.py index 4b28bee..89c12b5 100644 --- a/common/admin/mocha-libexec/internal/librarymanager/libraryparser/YAMLLibraryParser.py +++ b/common/admin/mocha-libexec/internal/librarymanager/libraryparser/YAMLLibraryParser.py @@ -60,9 +60,10 @@ class YAMLLibraryParser (LibraryParser): for elem in doc: if "entityDefinitions" in elem: entities = elem["entityDefinitions"] - for entity in entities: - for key in entity: - self.manager.register_entity_reference(key, entity[key]) + if not entities is None: + for entity in entities: + for key in entity: + self.manager.register_entity_reference(key, entity[key]) def load_instance_with_template(self, elem, template): (parentCreatorKey, parentInstanceId) = self.find_custom_tag_name(template) @@ -258,11 +259,11 @@ class YAMLLibraryParser (LibraryParser): if creatorKey == 'class': #FIXME: remove this special-case behavior print("creating class " + instanceId.get_value()) - # assign relationship `Instance.for Class` - self.manager.assign_relationship(instanceId, Guid('494D5A6D04BE477B8763E3F57D0DD8C8'), Guid('B9C9B9B7AD8A4CBDAA6BE05784630B6B')) + # # assign relationship `Instance.for Class` + # self.manager.assign_relationship(instanceId, Guid('494D5A6D04BE477B8763E3F57D0DD8C8'), Guid('B9C9B9B7AD8A4CBDAA6BE05784630B6B')) - # assign relationship `Class.has Instance` - self.manager.assign_relationship(Guid('B9C9B9B7AD8A4CBDAA6BE05784630B6B'), Guid('7EB41D3C2AE9488483A4E59441BCAEFB'), instanceId) + # # assign relationship `Class.has Instance` + # self.manager.assign_relationship(Guid('B9C9B9B7AD8A4CBDAA6BE05784630B6B'), Guid('7EB41D3C2AE9488483A4E59441BCAEFB'), instanceId) if "instances" in elem: classInsts = elem["instances"] @@ -272,11 +273,11 @@ class YAMLLibraryParser (LibraryParser): else: print("creating instance " + instanceId.get_value() + " (of class " + classId.get_value() + ")") - # assign relationship `Instance.for Class` - self.manager.assign_relationship(instanceId, Guid('494D5A6D04BE477B8763E3F57D0DD8C8'), classId) + # # assign relationship `Instance.for Class` + # self.manager.assign_relationship(instanceId, Guid('494D5A6D04BE477B8763E3F57D0DD8C8'), classId) - # assign relationship `Class.has Instance` - self.manager.assign_relationship(classId, Guid('7EB41D3C2AE9488483A4E59441BCAEFB'), instanceId) + # # assign relationship `Class.has Instance` + # self.manager.assign_relationship(classId, Guid('7EB41D3C2AE9488483A4E59441BCAEFB'), instanceId) # self.manager.create_instance_of(classId, instanceId, classIndex, index) diff --git a/common/admin/mocha-libexec/internal/mocha-install-library.py b/common/admin/mocha-libexec/internal/mocha-install-library.py index 8dd0ce6..b188ce5 100644 --- a/common/admin/mocha-libexec/internal/mocha-install-library.py +++ b/common/admin/mocha-libexec/internal/mocha-install-library.py @@ -38,6 +38,9 @@ if __name__ == "__main__": mlm.connect('localhost', dbname, dbuser, dbpass) mlm.select_tenant(tenantName) - mlm.install_from_path(path) - mlm.commit() + result = mlm.install_from_path(path) + + if result: + mlm.commit() + mlm.close() \ No newline at end of file diff --git a/common/images/icons/attribute-boolean.svg b/common/images/icons/attribute-boolean.svg new file mode 100755 index 0000000..3ca640d --- /dev/null +++ b/common/images/icons/attribute-boolean.svg @@ -0,0 +1,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/attribute-date.svg b/common/images/icons/attribute-date.svg new file mode 100644 index 0000000..319f068 --- /dev/null +++ b/common/images/icons/attribute-date.svg @@ -0,0 +1,381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/attribute-numeric.svg b/common/images/icons/attribute-numeric.svg new file mode 100755 index 0000000..972b385 --- /dev/null +++ b/common/images/icons/attribute-numeric.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + # + + diff --git a/common/images/icons/attribute-text.svg b/common/images/icons/attribute-text.svg new file mode 100755 index 0000000..7792494 --- /dev/null +++ b/common/images/icons/attribute-text.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T + + diff --git a/common/images/icons/class.svg b/common/images/icons/class.svg new file mode 100755 index 0000000..e30e04c --- /dev/null +++ b/common/images/icons/class.svg @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/element.svg b/common/images/icons/element.svg new file mode 100755 index 0000000..10f5ef9 --- /dev/null +++ b/common/images/icons/element.svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/method-getrelationship.svg b/common/images/icons/method-getrelationship.svg new file mode 100755 index 0000000..443833e --- /dev/null +++ b/common/images/icons/method-getrelationship.svg @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/methodbinding-returnattribute.svg b/common/images/icons/methodbinding-returnattribute.svg new file mode 100755 index 0000000..857b982 --- /dev/null +++ b/common/images/icons/methodbinding-returnattribute.svg @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/images/icons/methodbinding-returninstanceset.svg b/common/images/icons/methodbinding-returninstanceset.svg new file mode 100755 index 0000000..ca98265 --- /dev/null +++ b/common/images/icons/methodbinding-returninstanceset.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/000-Libraries.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/000-Libraries.yaml new file mode 100644 index 0000000..14b617a --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/000-Libraries.yaml @@ -0,0 +1,2 @@ +- entityDefinitions: + - IDL_MochaBaseSystem: '{2826E41F-763A-413F-B239-3D9698AB629F}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/001-Classes.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/001-Classes.yaml index fbf7f92..f6ac17a 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/001-Classes.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/001-Classes.yaml @@ -43,6 +43,10 @@ - IDC_InstancePrompt: '{F3ECBF1E-E732-4370-BE05-8FA7CC520F50}' - IDC_BooleanPrompt: '{a7b49c03-c9ce-4a79-a4b2-e94fc8cd8b29}' + - IDC_ConditionGroup: '{df2059e6-650c-49a8-8188-570ccbe4fd2d}' + + - IDC_BooleanOperator: '{fb85933c-e2ad-4b1c-ac2a-f92c9cc57e1c}' + - IDC_Method: '{D2813913-80B6-4DD6-9AD6-56D989169734}' #- IDC_MethodCall: '{084A6D58-32C9-4A5F-9D2B-86C46F74E522}' @@ -51,6 +55,7 @@ - IDC_ConditionalSelectAttributeCase: '{a1115690-c400-4e3e-9c8f-24e2a9477e8f}' - IDC_AccessModifier: '{ca4fcc11-16c8-4872-a712-82e589d382ce}' + - IDC_MetadataWithAccessModifier: '{9c6c2ff1-6b3c-489e-b9d4-a796af8f49a9}' - IDC_MethodBinding: '{CB36098E-B9BF-4D22-87FA-4186EC632C89}' - IDC_ReturnAttributeMethodBinding: '{30FB6BA6-2BBB-41D2-B91A-709C00A07790}' @@ -146,16 +151,17 @@ - IDC_Theme: '{7c2cc4b5-8323-4478-863b-1759d7adf62e}' - - IDC_CommonText: '{a48a5fb2-f80c-47f9-bc47-7adef34d061b}' - - IDC_CommonBoolean: '{5b025da3-b7bd-45a9-b084-48c4a922bf72}' - IDC_CommonNumeric: '{553c196e-0439-4be9-b8fb-4dee6f0530fd}' - - IDC_CommonDate: '{cb077f5b-f58d-4f6a-aa01-659bea754b6e}' + - IDC_CommonText: '{a48a5fb2-f80c-47f9-bc47-7adef34d061b}' + - IDC_CommonStaticMethods: '{309dbaff-c0bf-4b54-8165-20e734efae59}' + - IDC_CommonBoolean: '{5b025da3-b7bd-45a9-b084-48c4a922bf72}' - IDC_CommonInstanceSet: '{3382da21-4fc5-45dc-bbd1-f7ba3ece1a1b}' + - IDC_CommonDate: '{cb077f5b-f58d-4f6a-aa01-659bea754b6e}' - IDC_OMS: '{1ddf9a56-ebb8-4992-ab68-1820acf6bfc8}' - IDC_SystemInstanceSetRoutine: '{d17a6d27-da03-4b5d-9256-f67f978f403d}' - + - IDC_SystemAttributeRoutine: '{117f4b9c-2678-4747-aced-78d93c25dcd7}' - IDI_Tenant_Singleton: '{F2C9D4A9-9EFB-4263-84DB-66A9DA65AD00}' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/002-Attributes.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/002-Attributes.yaml index 982c3cd..12f22b2 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/002-Attributes.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/002-Attributes.yaml @@ -4,6 +4,7 @@ - IDA_Verb: '{61345a5d-3397-4a96-8797-8863f03a476c}' - IDA_Singular: '{F1A06573-C447-4D85-B4E7-54A438C4A960}' - IDA_Value: '{041DD7FD-2D9C-412B-8B9D-D7125C166FE0}' + - IDA_GlobalIdentifier: '{032dc723-2f30-446e-8d5c-63c43691077d}' - IDA_DisplayID: '{5c54acdd-bd00-4003-96d7-37921b885b1c}' - IDA_ClassName: '{c7e8d78e-cfac-4dac-ae24-2ac67a0ba9d3}' - IDA_Expression: '{1289868e-add8-4be0-995b-ea3ba5a4bc87}' @@ -33,6 +34,7 @@ - IDA_Editable: '{957fd8b3-fdc4-4f35-87d6-db1c0682f53c}' - IDA_Static: '{9A3A0719-64C2-484F-A55E-22CD4597D9FD}' - IDA_Singular: '{F1A06573-C447-4D85-B4E7-54A438C4A960}' + - IDA_Final: '{adaba7c7-0f14-46c6-9f87-10be712c889f}' - IDA_Required: '{4061c1c4-7ec3-439b-b72d-59c7df344a76}' - IDA_Null: '{745c6c38-594e-4528-82c9-e25b023705e4}' - IDA_Visible: '{ff73c8f6-f706-4944-b562-43a0acb7eade}' @@ -43,6 +45,8 @@ - IDA_Set: '{7dc6d936-498a-43e9-8909-ef2838719c43}' - IDA_Build: '{09D23735-7067-4560-843E-1092F0A57BD6}' - IDA_True: '{9F6F4296-2FCD-4B7E-AB09-D25F47D0C54C}' + - IDA_MethodType: '{47ae57a9-7723-48a8-80f2-dd410d929e14}' + - IDA_MethodBindingType: '{73f39297-79e3-4480-8416-56ab3e228f64}' - IDA_ThisInstanceEqualToInstanceParm: '{7410EC44-4A40-43B9-BCFC-CFDB8979F992}' - IDA_AllowNegative: '{E61F769D-E1FB-4A70-835A-4ACB010DBE6E}' - IDA_StaticOnly: '{06AA6922-360A-49A5-AC17-BC0C91149C24}' @@ -78,4 +82,5 @@ - IDA_AccountDisabled: '{0b8f2ca3-f558-4a69-a8b0-de548914dc27}' - IDA_GivenName: '{94a3ab09-3db7-4207-9e66-9526eb738669}' - - IDA_FamilyName: '{b84f602d-6bfc-4898-9d44-4d49af44cbb4}' \ No newline at end of file + - IDA_FamilyName: '{b84f602d-6bfc-4898-9d44-4d49af44cbb4}' + - IDA_MethodIsOfTypeSpecified: '{6e9df667-0f95-4320-a4be-5cdb00f1d4ee}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/003-Relationships.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/003-Relationships.yaml index f0ffade..4e9acb8 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/003-Relationships.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/003-Relationships.yaml @@ -106,6 +106,11 @@ - IDR_Get_Attribute_Method__returns__Attribute: "{5eca9b3f-be75-4f6e-8495-781480774833}" - IDR_Attribute__returned_by__Get_Attribute_Method: "{e82ace2e-84b7-4912-89ed-7b8efd63bb5d}" + - IDR_Get_Attribute_by_System_Routine_Method__returns__Attribute: "{e19cf181-b5bf-4595-b5c6-b9098a7a41bb}" + - IDR_Attribute__returned_by__Get_Attribute_by_System_Routine_Method: "{b6f2981f-d324-4d4a-b2df-1d866825e75e}" + - IDR_Get_Attribute_by_System_Routine_Method__uses__System_Attribute_Routine: "{f7aaac2c-0bfd-4b31-8c8c-3a76e9522574}" + - IDR_System_Attribute_Routine__used_by__Get_Attribute_by_System_Routine_Method: "{57b3a574-9f0c-4723-a32f-bde523d7e773}" + - IDR_Get_Referenced_Instance_Set_Method__returns__Work_Set: "{72057f5b-9b49-497d-852f-cd7e5e258d6c}" - IDR_Work_Set__returned_by__Get_Referenced_Instance_Set_Method: "{ac6092e6-e098-40a3-a9fb-f27312cffa7c}" - IDR_Get_Referenced_Instance_Set_Method__uses_reference__Executable_returning_Instance_Set: "{2978238f-7cb0-4ba3-8c6f-473df782cfef}" # Loop on Instance Set @@ -125,14 +130,14 @@ - IDR_Get_Specified_Instances_Method__uses__Instance: "{dea1aa0b-2bef-4bac-b4f9-0ce8cf7006fc}" - IDR_Instance__used_by__Get_Specified_Instances_Method: "{13978b33-dd35-4d96-9414-4cb929b549e9}" - - IDR_Evaluate_Boolean_Expression_Method__has_source_attribute__Method: "{45d76d56-01ed-4641-9f68-cfe0c7d0d265}" - - IDR_Evaluate_Boolean_Expression_Method__equal_to_attribute__Method: "{0646df91-7e3e-4d59-be71-b978a22ced8e}" - - IDR_Prompt_Value__has__Prompt: "{7CD62362-DDCE-4BFC-87B9-B5499B0BC141}" - IDR_User__has_display_name__Translatable_Text_Constant: "{6C29856C-3B10-4F5B-A291-DD3CA4C04A2F}" - IDR_User_Login__has__User: "{85B40E4B-849B-4006-A9C0-4E201B25975F}" + - IDR_System_Account__for__Person: "{f0c07f27-7601-4760-ab3d-851395aa325e}" + - IDR_Person__has__System_Account: "{20145a08-fe0e-4630-90f2-6a8a5a7a5fcb}" + - IDR_User__has_default__Page: "{f00cda6f-eded-4e0f-b6c5-9675ed664a75}" - IDR_Dashboard__has__Dashboard_Content: "{d26acf18-afa5-4ccd-8629-e1d9dac394ed}" @@ -224,17 +229,14 @@ - IDR_Integration_ID__has__Integration_ID_Usage: "{6cd30735-df83-4253-aabe-360d6e1a3701}" - IDR_Integration_ID_Usage__for__Integration_ID: "{d8d981ec-7686-40da-b89f-006c85042444}" - - IDR_Conditional_Method__has__Conditional_Method_Case: "{df2059e6-650c-49a8-8188-570ccbe4fd2d}" - - IDR_Conditional_Method_Case__for__Conditional_Method: "{be7a6285-d700-40f3-868e-c0878a3e94a6}" + - IDR_Conditional_Select_from_Instance_Set_Method__has__Conditional_Select_from_Instance_Set_Case: "{b6715132-b438-4073-b81d-3ecf19584b7d}" + - IDR_Conditional_Select_from_Instance_Set_Case__for__Conditional_Select_from_Instance_Set_Method: "{1c868a06-8fb7-432d-839b-7a5a02a50eb6}" - - IDR_Conditional_Method_Case__has_return_attribute__Method_Binding: "{b6715132-b438-4073-b81d-3ecf19584b7d}" - - IDR_Method_Binding__returns_attribute_for__Conditional_Method_Case: "{1c868a06-8fb7-432d-839b-7a5a02a50eb6}" + - IDR_Condition_Group__has_true_condition__Executable_returning_Work_Data: "{d955da3f-7ef4-4374-8b86-167c73434f75}" + - IDR_Executable_returning_Work_Data__true_condition_for__Condition_Group: "{1acdefd1-e1b4-45bb-99e1-bf73dea71da5}" - - IDR_Conditional_Method_Case__has_true_condition__Method_Binding: "{d955da3f-7ef4-4374-8b86-167c73434f75}" - - IDR_Method_Binding__true_condition_for__Conditional_Method_Case: "{1acdefd1-e1b4-45bb-99e1-bf73dea71da5}" - - - IDR_Conditional_Method_Case__has_false_condition__Method_Binding: "{e46dbc4f-ae8d-4ad8-b9e6-10cedfa68b73}" - - IDR_Method_Binding__false_condition_for__Conditional_Method_Case: "{633af008-bf7f-4da1-94d6-67a9a80586d6}" + - IDR_Condition_Group__has_false_condition__Executable_returning_Work_Data: "{e46dbc4f-ae8d-4ad8-b9e6-10cedfa68b73}" + - IDR_Executable_returning_Work_Data__false_condition_for__Condition_Group: "{633af008-bf7f-4da1-94d6-67a9a80586d6}" - IDR_Audit_Line__has__Instance: "{c91807ed-0d73-4729-990b-d90750764fb5}" - IDR_Audit_Line__has__User: "{7c1e048d-3dcb-4473-9f2e-e21014a76aa5}" @@ -305,9 +307,6 @@ - IDR_Control_Transaction_Method__processes__Element: "{24bc1dc0-d6cc-44ff-86ba-1360ebd59f3a}" - IDR_Element__processed_by__Control_Transaction_Method: "{0f182291-6784-47b3-a8d3-d2f6ebf3950c}" - - IDR_Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute: "{53cf2cb6-f5f2-499f-9f18-26b86bf671c4}" - - IDR_Boolean_Attribute__returned_by__Evaluate_Boolean_Expression_Method: "{24397b98-65da-4f5a-93a3-e933bab1f59b}" - - IDR_Build_Attribute_Method__returns__Attribute: "{dadbf0f3-7af0-4387-a6b7-a1724a216d88}" - IDR_Attribute__returned_by__Build_Attribute_Method: "{d5a6062b-2e84-46a1-8f54-da630ef6a48c}" @@ -326,11 +325,21 @@ - IDR_Derived_Element_Content__update_with__Executable_returning_Work_Data: "{4151911a-485c-4488-8e19-1560f489d411}" - IDR_Executable_returning_Work_Data__used_by__Derived_Element_Content: "{75fdacf8-163c-45ac-86eb-80677ff738ad}" + - IDR_Work_Data__in__Namespace: '{c06e6d4d-c0e3-4e87-b2b5-76fedb979318}' + + - IDR_Parameter_Assignment__assigns_from__Executable_returning_Work_Data: '{6f3687ed-7d88-4ece-914e-c47c57c1146d}' + - IDR_Executable_returning_Work_Data__assigned_from__Parameter_Assignment: '{40540642-69b3-4713-ac55-6946060bd385}' + - IDR_Parameter_Assignment__assigns_to__Work_Data: '{51c37636-35d2-4528-99ca-50cf09fa1427}' + - IDR_Work_Data__assigned_by__Parameter_Assignment: '{b9e0cc99-ef20-435f-b7b2-e19c5cd44916}' + - IDR_System_Account__has__User_Preferences: "{ada4deb2-adfd-409f-b13a-9856fabd5522}" - IDR_User_Preferences__for__System_Account: "{ab2372a5-a4c7-488a-89f6-67e5834f8c83}" - - IDR_System_Account__has_preferred_display__Person_Name: "{fb389a4e-4b0e-4742-a7b4-1408403eebc9}" - - IDR_Person_Name__preferred_display_for__System_Account: "{13f8bedd-34b6-4343-bf86-6d33171cbc27}" + - IDR_Person__has__Person_Name: "{fb389a4e-4b0e-4742-a7b4-1408403eebc9}" + - IDR_Person_Name__for__Person: "{13f8bedd-34b6-4343-bf86-6d33171cbc27}" + + - IDR_Person__has_image__File: "{b1ea6983-ef5b-447e-9a64-d1ffa93a003d}" + - IDR_File__image_for__Person: "{612ceb91-794b-49bc-9da3-59df8cfa7539}" - IDR_Instance__has__Instance_Source: '{B62F9B81-799B-4ABE-A4AF-29B45347DE54}' - IDR_Instance_Source__for__Instance: '{FBB9391D-C4A2-4326-9F85-7801F377253C}' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/005-MethodClasses.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/005-MethodClasses.yaml index 3b61223..50a91cd 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/005-MethodClasses.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/005-MethodClasses.yaml @@ -5,7 +5,6 @@ - IDC_PerformSystemRoutineMethod: "{8a882eb4-3126-4a45-bfb3-5b61a32cac9d}" # 1$13 - IDC_GetReferencedAttributeMethod: "{9205c54e-921a-484c-9be2-3d3deb877474}" # 1$18 - IDC_SelectFromInstanceSetMethod: "{130637B4-17A7-4394-8F4D-E83A79114E6C}" # 1$19 - - IDC_EvaluateBooleanExpressionMethod: "{e1529108-2f84-4a4c-89b3-a647bc3e41d7}" # 1$24 - IDC_AssignRelationshipMethod: "{3791fc36-3c5c-4ba0-83f4-70c050fa33a7}" # 1$25 - IDC_GetReferencedInstanceSetMethod: "{bcfd0d64-3eba-4a97-9622-f3a960877d24}" # 1$26 - IDC_BuildElementMethod: "{c8f25550-0895-4e05-b4a0-f319a7ffcc4c}" # 1$29 diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/007-TaskClasses.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/007-TaskClasses.yaml index 15cda14..c13193d 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/007-TaskClasses.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/007-TaskClasses.yaml @@ -2,6 +2,7 @@ - IDI_Task_ViewElement: '{64e9c8f6-c3d7-4915-98c8-83b91c211a8d}' - IDI_Task_ViewElementContent: '{9c90e09a-2efc-4ebd-92e6-c0767ac3fbfd}' - IDI_Task_ViewClass: '{cd9366be-08d7-4b32-8963-3c42753fa8d9}' + - IDI_Task_EditClass: '{a0eb7af0-45f4-40fb-beb3-3fe3c48e2ffd}' #- IDC_SequenceTask: "{74c26737-000e-4bda-a1af-ad6d59bcc4b2}" #- IDC_ConvenienceTask: "{8a9fb632-6d04-49ff-8271-1f41dce1f254}" - IDI_SequenceTask_TestMethodBinding: '{3e55af17-00a9-418d-ae6f-7e52ec11148e}' @@ -11,3 +12,11 @@ - IDI_SequenceTask_ViewSystemUser: '{5fd32c2b-7169-4db7-9379-6d8cb479c60e}' - IDI_SequenceTask_EditSystemUser: '{4d4536c9-4afb-4f42-b7a6-e0eaef5c93bf}' - IDI_SequenceTask_ManageSystemUserCredentials: '{2cab9794-397a-4d59-b61d-9b7f97ed297a}' + - IDI_Task_ViewWorkData: '{08eba215-f46b-41c9-953d-63b74f30bf3c}' + - IDI_Task_EditWorkData: '{9fb77470-06ed-4151-8ae4-a928d3df1e5f}' + - IDI_Task_ViewWorkSet: '{3944bce9-ed15-476c-b698-55e051d0d7ac}' + - IDI_Task_EditWorkSet: '{b4e06599-e7ef-46a9-addf-63dfa971ccb5}' + - IDI_Task_ViewReturnAttributeMethodBinding: '{9d4b8259-1141-4b83-8a02-8b3b269fb1d3}' + - IDI_Task_EditReturnAttributeMethodBinding: '{f4b7c06a-14c0-4b69-bdd4-7f8e8f63a4d7}' + - IDI_Task_ViewGetAttributeBySystemRoutineMethod: '{0157179b-32b4-4938-b5c7-3d55326029a2}' + - IDI_Task_EditGetAttributeBySystemRoutineMethod: '{2338b9cc-da97-4388-b037-5d562dae48e8}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/008-Elements.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/008-Elements.yaml index 556333c..0e4f5eb 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/008-Elements.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/008-Elements.yaml @@ -6,4 +6,19 @@ - IDE_ViewElementContent_Summary: '{a639e587-f8a5-4503-afb6-08e98cb40a09}' - IDE_ViewElement: '{f39280f4-a62a-4fb3-9f58-3a4abe57cee9}' - - IDE_ElementStart: '{3abffca7-b904-4988-9583-cf7f4fc4146e}' \ No newline at end of file + - IDE_ElementStart: '{3abffca7-b904-4988-9583-cf7f4fc4146e}' + + - IDE_ViewClass: '{7eb5d182-f572-4f1b-b29b-9ca602ae5d2d}' + - IDE_EditClass: '{c90e502e-b02d-42f6-828c-a52579c99a93}' + - IDE_Class_Structure: '{78f9a2b2-e947-4b26-b81c-951a6c45fa42}' + + - IDE_WorkData_View: '{9eafffc7-a7a3-4898-b476-8865bdb5e72d}' + - IDE_WorkData_Subedits: '{58b4a41e-c7f6-4f15-9496-30fc9c2453b5}' + - IDE_WorkData_Edit: '{431ee115-ac85-4a55-9d1a-cad8bb7f1485}' + + - IDE_ReturnAttributeMethodBinding_View: '{9321f1a4-b4a1-4111-a506-a086d255466d}' + - IDE_ReturnAttributeMethodBinding_Edit: '{f52c400c-0ee6-4c67-b556-803d01f10bec}' + - IDE_ReturnAttributeMethodBinding_Definition: '{40fcfd90-b2e9-48cb-a67f-920f0dca713f}' + + + - IDE_Method_Common_Definition: '{8bcfbbd9-5716-4c7e-a15d-f132c9b4aeb9}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/009-MethodBindings.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/009-MethodBindings.yaml index 31ac63b..8f740f8 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/009-MethodBindings.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/009-MethodBindings.yaml @@ -16,9 +16,68 @@ - IDMB_User__get__Preferred_Display_Name_Formatted: '{84a7c1af-b07d-4a58-b7f3-8420836a5038}' - IDM_Common_Text__get__Forward_Slash: '{b727d9f4-42e5-4be2-9411-0f794bfe773e}' + - IDMB_Common_Text__get__Forward_Slash: '{a55dc586-fec3-4be7-8cbb-2fccea870667}' - IDM_Common_Text__get__Single_Space: '{94297e64-f210-4777-bd94-a4a19e5fed2c}' + - IDMB_Common_Text__get__Single_Space: '{baf793bb-a52b-4777-a625-4f2a2fe0823d}' + - IDM_Common_Text__get__Open_Bracket: '{2ea7454a-8236-4ca8-bf92-667141c5d25f}' + - IDMB_Common_Text__get__Open_Bracket: '{b215f516-25d5-44f2-ac1b-e627b53e8e26}' + - IDM_Common_Text__get__Close_Bracket: '{deabc444-d5f8-44c0-bdc9-89982e65a13c}' + - IDMB_Common_Text__get__Close_Bracket: '{0e478142-ada9-4135-8776-561eff443f7e}' + - IDM_Common_Text__get__At_Sign: '{b5958bec-45cd-4021-9585-b7fa1243354f}' + - IDMB_Common_Text__get__At_Sign: '{07049616-c4a1-4a8f-93c3-29e36339a1b9}' + - IDM_Common_Text__get__Empty_String: '{ac421a7e-9214-4e59-ba5e-1f3fb619acc8}' + - IDMB_Common_Text__get__Empty_String: '{be98c916-8a1f-47d2-aecd-00000b7c4a8a}' + - IDM_Common_Text__get__Open_Parenthesis: '{944f94ef-e6e8-400e-b1a1-473fef50045c}' + - IDMB_Common_Text__get__Open_Parenthesis: '{7d9b360b-7020-44ba-8028-9f8bf288a130}' + - IDM_Common_Text__get__Close_Parenthesis: '{c7af10b7-c8a7-45f1-a710-d12adca60f67}' + - IDMB_Common_Text__get__Close_Parenthesis: '{c70ac831-5fab-4b0a-950e-0d53c30f600d}' + + - IDMB_Method_Binding__get__RAMB: '{6cd0800f-4bd0-4ea9-898c-aac1999b48b5}' + - IDM_Method_Binding__get__RAMB: '{c6af21f0-a69f-4bd4-a047-39185748fc3a}' + - IDMB_Method_Binding__get__RSMB: '{04d83f19-8df7-4792-a363-033d55595364}' + - IDM_Method_Binding__get__RSMB: '{0f6b0d2a-6d6d-43a4-bdeb-eb90e27e82e0}' + + - IDMB_Method_Binding__get__Executes_Method: '{a409c3e3-a745-42ad-a9e7-8a5396dbf9ee}' + - IDM_Method_Binding__get__Executes_Method: '{13f917e1-54dd-4a8c-9dc1-f0ff8ab0a007}' + + - IDMB_Method_Binding__get__Executes_Method_Name: '{368d4582-8209-483c-98ba-661c56a8e9d7}' + - IDM_Method_Binding__get__Executes_Method_Name: '{469eb674-4618-468f-aa35-7afeef5bdbb6}' + + - IDM_Method_Binding__get__Executes_Method_and_Method_Type: '{328ca13f-b290-4817-bb33-13b617030564}' + - IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RAMB: '{3fdf0d20-f7c2-4306-b0d7-81a6e6d8d1b6}' + - IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RSMB: '{9bcede10-cf13-4682-903b-5561b926f90a}' - IDM_User__get__Preferred_Display_Name_-_Given_Name: '{f33cb57c-5162-46b3-9271-3e8f610984fd}' - IDMB_User__get__Preferred_Display_Name_-_Given_Name: '{12a1ce0e-2eb8-4e55-8539-d092c89d293b}' - IDM_User__get__Preferred_Display_Name_-_Family_Name: '{3dc5bfc9-8f9c-49ff-a36c-4eb904e09773}' - - IDMB_User__get__Preferred_Display_Name_-_Family_Name: '{0fb4c89e-360c-4a23-9fba-da65b73849ca}' \ No newline at end of file + - IDMB_User__get__Preferred_Display_Name_-_Family_Name: '{0fb4c89e-360c-4a23-9fba-da65b73849ca}' + + - IDMB_User__get__Person: '{65bbf741-7ed0-4658-81c8-3174b4ad2e2a}' + - IDM_User__get__Person: '{79527af1-a763-46e8-90da-4a4d5df20a6b}' + + - IDM_Class__get__Name: '{e85787f3-9539-499d-abf6-b1ef1ac29381}' + - IDMB_Class__get__Name: '{b7b6eb6d-f021-4a71-a2f9-9a273e718298}' + + - IDM_Instance__get__Global_Identifier: '{4c63e13a-29c3-434a-a7e0-5fbe4a3c27b1}' + - IDMB_Instance__get__Global_Identifier: '{41635a5a-a1eb-4918-919a-84cae7dd2fef}' + + - IDM_Method__get__Name: '{b20e4735-0433-4606-9ce6-d51ce977f28b}' + - IDMB_Method__get__Name: '{370a44ea-b2cc-4b6c-9e85-ce2423facfdb}' + + - IDM_Method__get__Class_Name: '{560b174c-2408-4ef6-adbb-af42f0c9e5f2}' + - IDMB_Method__get__Class_Name: '{538b8cd4-9a2b-4c43-8336-01f6a386d2fd}' + + - IDM_Method__get__Verb: '{c674fa6c-dd2d-46ce-b342-3a8dfde4ce02}' + - IDMB_Method__get__Verb: '{2d7dd873-50b1-4bdb-91b5-3e297f4c5391}' + + - IDM_Method__get__GRS_Method_Suffix: '{61325e65-f8a4-4589-a1cb-bec732fcae44}' + - IDMB_Method__get__GRS_Method_Suffix: '{7505d66c-2e93-498f-b5a3-ed61acfda5cd}' + + - IDM_Method__get__GRA_Method_Suffix: '{05ae62a8-ade5-494b-a651-204cf8ecfc24}' + - IDMB_Method__get__GRA_Method_Suffix: '{7e77b704-4142-4bed-8097-d7c700dea94d}' + + - IDM_Method__get__BA_Method_Suffix: '{960e4a05-4e1c-4b37-ac06-9f9e9fd5a43d}' + - IDMB_Method__get__BA_Method_Suffix: '{a4c882c9-d14e-48e2-9e9a-fdda926b0673}' + + - IDM_Method__get__GA_Method_Suffix: '{e0b9c679-fd86-4a69-88b2-8165e31dffff}' + - IDMB_Method__get__GA_Method_Suffix: '{d85a274f-2ba4-456d-b25c-f05893a3fb92}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemInstanceSetRoutines.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemInstanceSetRoutines.yaml deleted file mode 100644 index f70184e..0000000 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemInstanceSetRoutines.yaml +++ /dev/null @@ -1,2 +0,0 @@ -- entityDefinitions: - - IDI_SystemInstanceSetRoutine_GetUserForUserNameParm: '{430f572d-d116-4b04-97b2-65a9e9230ce5}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemRoutines.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemRoutines.yaml new file mode 100644 index 0000000..d61b1d2 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/010-SystemRoutines.yaml @@ -0,0 +1,3 @@ +- entityDefinitions: + - IDI_SystemInstanceSetRoutine_GetUserForUserNameParm: '{430f572d-d116-4b04-97b2-65a9e9230ce5}' + - IDI_SystemAttributeRoutine_GetGlobalIdentifier: '{1a7ebec3-dc02-4c9b-a5df-0c72646453c9}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/013-WorkSets.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/013-WorkSets.yaml index a8e5051..434294e 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/013-WorkSets.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/013-WorkSets.yaml @@ -1,4 +1,11 @@ - entityDefinitions: - IDI_WorkSet_ClassForEditClassTask: '{b56ac9b9-efce-4a40-8c04-ffdf90174285}' - IDI_WorkSet_PreferredDisplayName: '{86149123-6d32-4f48-b128-8f773cdb2b0e}' - - IDI_WorkSet_RelatedInstance: '{d9634929-0bb4-482a-85cc-9c8f1251556f}' \ No newline at end of file + - IDI_WorkSet_RelatedInstance: '{d9634929-0bb4-482a-85cc-9c8f1251556f}' + - IDI_WorkSet_Person: '{23026091-2841-4abd-b0d9-f6758e443bd2}' + - IDI_WorkSet_MethodSingular: '{9e44ae02-3008-4b84-9295-aa4c37ee53aa}' + - IDI_WorkSet_ClassSingular: '{4b1fc1e1-46d6-4fe5-bd7e-8ea5c3380efe}' + - IDI_WorkSet_ClassForMethod: '{d8eeff45-acbc-4031-8b09-bf9b8085c185}' + - IDI_WorkSet_ParentClass: '{98da8ac1-1fea-4cb4-a278-0c5460e625fd}' + - IDI_WorkSet_AccessModifierSingular: '{73251409-5060-4983-896a-00dee10d3f6c}' + - IDI_WorkSet_AccessModifierNonsingular: '{686a3322-03a5-4da6-ab00-33548cc03b98}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/016-TaskCategories.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/016-TaskCategories.yaml index fd4384d..e6293bb 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/016-TaskCategories.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/000-EntityDefinitions/016-TaskCategories.yaml @@ -7,4 +7,15 @@ - IDI_TaskCategory_Debugging: '{8f6e81be-9663-4226-85c3-253588126ea2}' - IDI_TaskCategory_IntegrationIDs: '{79449821-89d6-4f83-b3dd-0e780b0a9fef}' - IDI_TaskCategory_Element: '{7ac1d803-7007-4b3d-b06e-886d62f758c9}' - - IDI_TaskCategory_SystemUser: '{c425d5cb-82b2-41d1-ab3c-db446e3b1b8e}' \ No newline at end of file + - IDI_TaskCategory_SystemUser: '{c425d5cb-82b2-41d1-ab3c-db446e3b1b8e}' + - IDI_TaskCategory_WorkData: '{b4da7bd3-e919-46a6-8382-ed6cec922594}' + - IDI_TaskCategory_WorkSet: '{d3163d41-d195-4b7d-bddc-709e2c0136ac}' + - IDI_TaskCategory_ReturnAttributeMethodBinding: '{e37ff1e2-7aca-45e7-bf9c-017ccb6bcbac}' + - IDI_TaskCategory_GetReferencedAttributeMethod: '{12a9697e-9cbe-4c86-ba93-4a6df2ee6f9a}' + - IDI_TaskCategory_BuildAttributeMethod: '{7c8abbd7-0a53-4d3c-9442-2ce8616442ca}' + - IDI_TaskCategory_GetAttributeMethod: '{2531ba2f-1efa-4945-a192-482ed54e30bf}' + - IDI_TaskCategory_GetReferencedInstanceSetMethod: '{758bca86-562e-4f66-9523-c1043ae0e233}' + - IDI_TaskCategory_ReturnInstanceSetMethodBinding: '{4416ac6b-e6f0-4ff7-92aa-979944c3838a}' + - IDI_TaskCategory_ConditionalSelectAttributeMethod: '{c97b5a7c-1d34-48bc-9f9e-a043922fa9d8}' + - IDI_TaskCategory_EvaluateBooleanExpressionMethod: '{a50ee5a3-bede-4f6e-999d-7be9978b9bf9}' + - IDI_TaskCategory_AccessModifier: '{13d2b4c8-6c46-42d4-9328-d326406aa620}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00001-Class.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00001-Class.yaml index ae7d212..e4f9737 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00001-Class.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00001-Class.yaml @@ -27,4 +27,5 @@ index: 1 defaultTask: '&IDI_Task_ViewClass;' relatedTasks: - - instance: '&IDI_Task_ViewClass;' \ No newline at end of file + - instance: '&IDI_Task_ViewClass;' + - instance: '&IDI_Task_EditClass;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00003-Relationship.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00003-Relationship.yaml index 468e17b..bb48fb1 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00003-Relationship.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00003-Relationship.yaml @@ -301,7 +301,7 @@ singular: no - relationship: '&IDR_Class__has_related__Task;' - index: 7948 # was: Related Menu Item.uses object of Class + index: 7991 # was: Class.instances have Related Menu Item (3$7991) # was: Related Menu Item.uses object of Class (3$7948) sourceClassId: '&IDC_Class;' type: 'has related' destinationClassId: '&IDC_Task;' @@ -309,7 +309,7 @@ singular: no - relationship: '&IDR_Task__related_for__Class;' - index: 7949 # was: Related Menu Item.for UI Task + index: 7990 # was: Related Menu Item.for any instance of Class (3$7990) # was: Class.object for Related Menu Item (3$7949) sourceClassId: '&IDC_Task;' type: 'related for' destinationClassId: '&IDC_Class;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00004-TextAttribute.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00004-TextAttribute.yaml index 2340b4c..a262676 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00004-TextAttribute.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00004-TextAttribute.yaml @@ -56,6 +56,9 @@ - textAttribute: '&IDA_Label;' name: 'Label' index: 22 + - textAttribute: '&IDA_MethodType;' + name: 'Method Type' + index: 29 - textAttribute: '&IDA_Token;' name: 'Token' index: 33 @@ -88,6 +91,10 @@ - textAttribute: '&IDA_CSSValue;' index: 57 + - textAttribute: '&IDA_MethodBindingType;' + name: 'Method Binding Type' + index: 60 + - textAttribute: '&IDA_NewPassword;' name: 'New Password' index: 84 @@ -99,6 +106,10 @@ name: 'Email Address' index: 160 + - textAttribute: '&IDA_GlobalIdentifier;' + name: 'Global Identifier' + index: 3456 + - textAttribute: '&IDA_NotificationEmailAddress;' name: 'Email Address for Notifications' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00005-BooleanAttribute.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00005-BooleanAttribute.yaml index 55cdecc..038e581 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00005-BooleanAttribute.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00005-BooleanAttribute.yaml @@ -82,6 +82,12 @@ index: 24 - instance: '&IDA_ShowSpreadsheetButtonOnSelection;' index: 27 + - instance: '&IDA_Final;' + index: 31 + - instance: '&IDA_MethodIsOfTypeSpecified;' + index: 40 + name: 'Method is of Type Specified' + - instance: '&IDA_RequireChangePasswordAtNextSignIn;' name: Require Password Change At Next Sign In index: 112 diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00010-Method.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00010-Method.yaml index 1c30cb8..6257676 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00010-Method.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00010-Method.yaml @@ -5,6 +5,7 @@ name: Method index: 10 abstract: yes + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name;' translations: - relationship: '&IDR_Class__has_title__Translation;' values: @@ -12,4 +13,6 @@ value: 'Method' relationships: - instance: '&IDR_Method__for__Class;' - customTagName: 'forClassId' \ No newline at end of file + customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00012-GetAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00012-GetAttributeMethod.yaml index dc1d490..1f55e09 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00012-GetAttributeMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00012-GetAttributeMethod.yaml @@ -6,14 +6,25 @@ name: GA - Get Attribute Method index: 12 customTagName: getAttributeMethod + defaultTask: '&IDI_Task_ViewGetAttributeMethod;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_GA;' + relatedTasks: + - instance: '&IDI_Task_ViewGetAttributeMethod;' + - instance: '&IDI_Task_EditGetAttributeMethod;' attributes: - instance: '&IDA_Verb;' customTagName: 'verb' - instance: '&IDA_Name;' customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - instance: '&IDR_Method__for__Class;' customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' - instance: '&IDR_Get_Attribute_Method__returns__Attribute;' customTagName: 'returnsAttributeId' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00015-WorkSet.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00015-WorkSet.yaml index 540b08e..450ed8e 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00015-WorkSet.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00015-WorkSet.yaml @@ -5,6 +5,11 @@ name: Work Set index: 15 customTagName: workSet + defaultTask: '&IDI_Task_ViewWorkSet;' + relatedTasks: + - instance: '&IDI_Task_ViewWorkData;' + - instance: '&IDI_Task_EditWorkData;' + - instance: '&IDI_Task_ViewWorkSet;' attributes: - instance: '&IDA_Name;' customTagName: 'name' @@ -29,4 +34,26 @@ singular: no - workSet: '&IDI_WorkSet_RelatedInstance;' - name: 'Related Instance' \ No newline at end of file + name: 'Related Instance' + - workSet: '&IDI_WorkSet_Person;' + name: 'Person' + validClasses: + - instance: '&IDC_Person;' + - workSet: '&IDI_WorkSet_MethodSingular;' + name: 'Method [Singular]' + singular: yes + - workSet: '&IDI_WorkSet_ClassSingular;' + name: 'Class [Singular]' + singular: yes + - workSet: '&IDI_WorkSet_ClassForMethod;' + name: 'Class for Method' + singular: yes + - workSet: '&IDI_WorkSet_ParentClass;' + name: 'Parent Class' + singular: yes + - workSet: '&IDI_WorkSet_AccessModifierSingular;' + name: 'Access Modifier [Singular]' + singular: yes + - workSet: '&IDI_WorkSet_AccessModifierNonsingular;' + name: 'Access Modifier [Nonsingular]' + singular: no \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00018-GetReferencedAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00018-GetReferencedAttributeMethod.yaml index 2461dc3..212ef78 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00018-GetReferencedAttributeMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00018-GetReferencedAttributeMethod.yaml @@ -6,9 +6,25 @@ name: GRA - Get Referenced Attribute Method index: 18 customTagName: getReferencedAttributeMethod + defaultTask: '&IDI_Task_ViewGetReferencedAttributeMethod;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_GRA;' + relatedTasks: + - instance: '&IDI_Task_ViewGetReferencedAttributeMethod;' + - instance: '&IDI_Task_EditGetReferencedAttributeMethod;' + attributes: + - instance: '&IDA_Verb;' + customTagName: 'verb' + - instance: '&IDA_Name;' + customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - instance: '&IDR_Method__for__Class;' customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' - instance: '&IDR_Get_Referenced_Attribute_Method__returns__Attribute;' customTagName: 'returnsAttributeId' - instance: '&IDR_Get_Referenced_Attribute_Method__uses_reference__Executable_returning_Instance_Set;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00024-EvaluateBooleanExpressionMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00024-EvaluateBooleanExpressionMethod.yaml index d295b61..af42860 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00024-EvaluateBooleanExpressionMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00024-EvaluateBooleanExpressionMethod.yaml @@ -1,4 +1,17 @@ --- +- entityDefinitions: + - IDC_EvaluateBooleanExpressionMethod: "{e1529108-2f84-4a4c-89b3-a647bc3e41d7}" # 1$24 + + - IDR_Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute: "{53cf2cb6-f5f2-499f-9f18-26b86bf671c4}" + - IDR_Boolean_Attribute__returned_by__Evaluate_Boolean_Expression_Method: "{24397b98-65da-4f5a-93a3-e933bab1f59b}" + + - IDR_Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data: '{45d76d56-01ed-4641-9f68-cfe0c7d0d265}' + - IDR_Executable_returning_Work_Data__source_for__Evaluate_Boolean_Expression_Method: '{eef048af-179e-4375-8a85-2856bb14aea3}' + - IDR_Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data: '{0646df91-7e3e-4d59-be71-b978a22ced8e}' + - IDR_Executable_returning_Work_Data__target_for__Evaluate_Boolean_Expression_Method: '{be7a6285-d700-40f3-868e-c0878a3e94a6}' + - IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator: '{aa9e17a2-e4d9-4598-bcfc-2d729031d11c}' + - IDR_Boolean_Operator__used_by__Evaluate_Boolean_Expression_Method: '{1e9915a9-3c91-4532-ab9c-82419660e31a}' + - library: '&IDL_MochaBaseSystem;' instances: - class: '&IDC_EvaluateBooleanExpressionMethod;' @@ -6,22 +19,94 @@ name: EBE - Evaluate Boolean Expression Method index: 24 customTagName: evaluateBooleanExpressionMethod + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_EBE;' + defaultTask: '&IDI_Task_ViewEvaluateBooleanExpressionMethod;' + relatedTasks: + - instance: '&IDI_Task_ViewEvaluateBooleanExpressionMethod;' + - instance: '&IDI_Task_EditEvaluateBooleanExpressionMethod;' + attributes: + - instance: '&IDA_Name;' + customTagName: 'name' + - instance: '&IDA_Verb;' + customTagName: 'verb' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - - instance: '&IDR_Get_Attribute_Method__returns__Attribute;' + - instance: '&IDR_Method__for__Class;' + customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' + - instance: '&IDR_Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute;' customTagName: 'returnsAttributeId' + - instance: '&IDR_Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data;' + customTagName: 'source' + - instance: '&IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator;' + customTagName: 'operator' + - instance: '&IDR_Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data;' + customTagName: 'target' - relationship: '&IDR_Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute;' index: 24 - sourceClassId: '&IDC_GetAttributeMethod;' + sourceClassId: '&IDC_EvaluateBooleanExpressionMethod;' type: 'returns' destinationClassId: '&IDC_BooleanAttribute;' siblingRelationshipId: '&IDR_Boolean_Attribute__returned_by__Evaluate_Boolean_Expression_Method;' - singular: no + singular: yes - relationship: '&IDR_Boolean_Attribute__returned_by__Evaluate_Boolean_Expression_Method;' index: 25 sourceClassId: '&IDC_BooleanAttribute;' type: 'returned by' - destinationClassId: '&IDC_GetAttributeMethod;' + destinationClassId: '&IDC_EvaluateBooleanExpressionMethod;' siblingRelationshipId: '&IDR_Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute;' singular: no + + - relationship: '&IDR_Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data;' + index: 221 + sourceClassId: '&IDC_EvaluateBooleanExpressionMethod;' + type: 'has source' + destinationClassId: '&IDC_ExecutableReturningWorkData;' + siblingRelationshipId: '&IDR_Executable_returning_Work_Data__source_for__Evaluate_Boolean_Expression_Method;' + singular: yes + + - relationship: '&IDR_Executable_returning_Work_Data__source_for__Evaluate_Boolean_Expression_Method;' + index: 222 + sourceClassId: '&IDC_ExecutableReturningWorkData;' + type: 'source for' + destinationClassId: '&IDC_EvaluateBooleanExpressionMethod;' + siblingRelationshipId: '&IDR_Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data;' + singular: no + + - relationship: '&IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator;' + index: 223 + sourceClassId: '&IDC_EvaluateBooleanExpressionMethod;' + type: 'uses' + destinationClassId: '&IDC_BooleanOperator;' + siblingRelationshipId: '&IDR_Boolean_Operator__used_by__Evaluate_Boolean_Expression_Method;' + singular: yes + + - relationship: '&IDR_Boolean_Operator__used_by__Evaluate_Boolean_Expression_Method;' + index: 224 + sourceClassId: '&IDC_BooleanOperator;' + type: 'used by' + destinationClassId: '&IDC_EvaluateBooleanExpressionMethod;' + siblingRelationshipId: '&IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator;' + singular: no + + - relationship: '&IDR_Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data;' + index: 225 + sourceClassId: '&IDC_EvaluateBooleanExpressionMethod;' + type: 'has target' + destinationClassId: '&IDC_ExecutableReturningWorkData;' + siblingRelationshipId: '&IDR_Executable_returning_Work_Data__target_for__Evaluate_Boolean_Expression_Method;' + singular: yes + + - relationship: '&IDR_Executable_returning_Work_Data__target_for__Evaluate_Boolean_Expression_Method;' + index: 226 + sourceClassId: '&IDC_ExecutableReturningWorkData;' + type: 'target for' + destinationClassId: '&IDC_EvaluateBooleanExpressionMethod;' + siblingRelationshipId: '&IDR_Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data;' + singular: no diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00026-GetReferencedInstanceSetMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00026-GetReferencedInstanceSetMethod.yaml index 2248892..20ad08a 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00026-GetReferencedInstanceSetMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00026-GetReferencedInstanceSetMethod.yaml @@ -6,9 +6,25 @@ name: GRS - Get Referenced Instance Set Method index: 26 customTagName: getReferencedInstanceSetMethod + defaultTask: '&IDI_Task_ViewGetReferencedInstanceSetMethod;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_GRS;' + relatedTasks: + - instance: '&IDI_Task_ViewGetReferencedInstanceSetMethod;' + - instance: '&IDI_Task_EditGetReferencedInstanceSetMethod;' + attributes: + - instance: '&IDA_Name;' + customTagName: 'name' + - instance: '&IDA_Verb;' + customTagName: 'verb' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - instance: '&IDR_Method__for__Class;' customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' - instance: '&IDR_Get_Referenced_Instance_Set_Method__returns__Work_Set;' customTagName: 'returnsWorkSetId' - instance: '&IDR_Get_Referenced_Instance_Set_Method__uses_reference__Executable_returning_Instance_Set;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00027-MethodBinding.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00027-MethodBinding.yaml index b1f425f..2cfb08e 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00027-MethodBinding.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00027-MethodBinding.yaml @@ -28,4 +28,20 @@ type: 'executed by' destinationClassId: '&IDC_MethodBinding;' siblingRelationshipId: '&IDR_Method_Binding__executes__Method;' + singular: no + + - relationship: '&IDR_Method_Binding__has__Parameter_Assignment;' + index: 34 + sourceClassId: '&IDC_MethodBinding;' + type: 'has' + destinationClassId: '&IDC_ParameterAssignment;' + siblingRelationshipId: '&IDR_Parameter_Assignment__for__Method_Binding;' + singular: no + + - relationship: '&IDR_Parameter_Assignment__for__Method_Binding;' + index: 35 + sourceClassId: '&IDC_ParameterAssignment;' + type: 'for' + destinationClassId: '&IDC_MethodBinding;' + siblingRelationshipId: '&IDR_Method_Binding__has__Parameter_Assignment;' singular: no \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00028-ParameterAssignment.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00028-ParameterAssignment.yaml new file mode 100644 index 0000000..9c7e70e --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00028-ParameterAssignment.yaml @@ -0,0 +1,49 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ParameterAssignment;' + name: Parameter Assignment + index: 28 + registerForTemplate: yes + translations: + - relationship: '&IDR_Class__has_title__Translation;' + values: + - languageInstanceId: '&IDI_Language_English;' + value: 'Parameter Assignment' + relationships: + - instance: '&IDR_Parameter_Assignment__assigns_from__Executable_returning_Work_Data;' + customTagName: 'assignsFromWorkData' + - instance: '&IDR_Parameter_Assignment__assigns_to__Work_Data;' + customTagName: 'assignsToParameter' + + - relationship: '&IDR_Parameter_Assignment__assigns_from__Executable_returning_Work_Data;' + index: 37 + sourceClassId: '&IDC_ParameterAssignment;' + type: 'assigns from' + destinationClassId: '&IDC_ExecutableReturningWorkData;' + siblingRelationshipId: '&IDR_Executable_returning_Work_Data__assigned_from__Parameter_Assignment;' + singular: yes + + - relationship: '&IDR_Executable_returning_Work_Data__assigned_from__Parameter_Assignment;' + index: 36 + sourceClassId: '&IDC_ExecutableReturningWorkData;' + type: 'assigned from' + destinationClassId: '&IDC_ParameterAssignment;' + siblingRelationshipId: '&IDR_Parameter_Assignment__assigns_from__Executable_returning_Work_Data;' + singular: no + + - relationship: '&IDR_Parameter_Assignment__assigns_to__Work_Data;' + index: 115 + sourceClassId: '&IDC_ParameterAssignment;' + type: 'assigns to' + destinationClassId: '&IDC_WorkData;' + siblingRelationshipId: '&IDR_Work_Data__assigned_by__Parameter_Assignment;' + singular: yes + + - relationship: '&IDR_Work_Data__assigned_by__Parameter_Assignment;' + index: 116 + sourceClassId: '&IDC_WorkData;' + type: 'assigned by' + destinationClassId: '&IDC_ParameterAssignment;' + siblingRelationshipId: '&IDR_Parameter_Assignment__assigns_to__Work_Data;' + singular: no \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00029-BuildElementMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00029-BuildElementMethod.yaml index 302fff2..99912c4 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00029-BuildElementMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00029-BuildElementMethod.yaml @@ -11,6 +11,10 @@ customTagName: 'verb' - instance: '&IDA_Name;' customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - instance: '&IDR_Build_Element_Method__has__BEM_Process;' customTagName: 'hasBemProcess' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00030-BuildAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00030-BuildAttributeMethod.yaml index 318fa7d..c349688 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00030-BuildAttributeMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00030-BuildAttributeMethod.yaml @@ -6,14 +6,27 @@ name: BA - Build Attribute Method index: 30 customTagName: buildAttributeMethod + defaultTask: '&IDI_Task_ViewBuildAttributeMethod;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_BA;' + relatedTasks: + - instance: '&IDI_Task_ViewBuildAttributeMethod;' + - instance: '&IDI_Task_EditBuildAttributeMethod;' attributes: - instance: '&IDA_Verb;' customTagName: 'verb' - instance: '&IDA_Name;' customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' - instance: '&IDA_Value;' customTagName: 'initialValue' relationships: + - instance: '&IDR_Method__for__Class;' + customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' - instance: '&IDR_Build_Attribute_Method__returns__Attribute;' customTagName: 'returnsAttributeId' - instance: '&IDR_Build_Attribute_Method__builds_with__Executable_returning_Attribute;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00033-Person.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00033-Person.yaml index f7ce927..18da15d 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00033-Person.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00033-Person.yaml @@ -4,10 +4,43 @@ - class: '&IDC_Person;' name: Person index: 33 + customTagName: 'person' relationships: - instance: '&IDR_Person__has__Person_Name;' customTagName: 'names' - instances: - - instance: '&IDI_Element_AddMetadataInstance;' - name: add metadata instance - index: 1 + customTagNameCreatesInstanceOf: '&IDC_PersonName;' + - instance: '&IDR_Person__has_image__File;' + customTagName: 'images' + customTagNameCreatesInstanceOf: '&IDC_File;' + + - relationship: '&IDR_Person__has__Person_Name;' + index: 963 + sourceClassId: '&IDC_Person;' + type: 'has' + destinationClassId: '&IDC_PersonName;' + siblingRelationshipId: '&IDR_Person_Name__for__Person;' + singular: no + + - relationship: '&IDR_Person_Name__for__Person;' + index: 964 + sourceClassId: '&IDC_PersonName;' + type: 'for' + destinationClassId: '&IDC_Person;' + siblingRelationshipId: '&IDR_Person__has__Person_Name;' + singular: no + + - relationship: '&IDR_Person__has_image__File;' + index: 2579 + sourceClassId: '&IDC_Person;' + type: 'has image' + destinationClassId: '&IDC_File;' + siblingRelationshipId: '&IDR_File__image_for__Person;' + singular: no + + - relationship: '&IDR_File__image_for__Person;' + index: 2580 + sourceClassId: '&IDC_File;' + type: 'image for' + destinationClassId: '&IDC_Person;' + siblingRelationshipId: '&IDR_Person__has_image__File;' + singular: no diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00038-CommonDate.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00038-CommonDate.yaml new file mode 100644 index 0000000..4f19f71 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00038-CommonDate.yaml @@ -0,0 +1,8 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_CommonDate;' + name: 'Common Date' + index: 38 + abstract: no + static: yes + \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00039-SystemUser.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00039-SystemUser.yaml index 2a14d3d..867533f 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00039-SystemUser.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00039-SystemUser.yaml @@ -16,9 +16,6 @@ relationships: - instance: '&IDR_System_Account__has__User_Preferences;' customTagName: 'hasUserPreferences' - - instance: '&IDR_System_Account__has_preferred_display__Person_Name;' - customTagName: 'preferredDisplayName' - customTagNameCreatesInstanceOf: '&IDC_PersonName;' relatedTasks: - instance: '&IDI_SequenceTask_ViewSystemUser;' - instance: '&IDI_SequenceTask_EditSystemUser;' @@ -44,19 +41,19 @@ # destinationClassId: '&IDC_UserLogin;' # siblingRelationshipId: '&IDR_User_Login__has__User;' # singular: no - - - relationship: '&IDR_System_Account__has_preferred_display__Person_Name;' - index: 963 + + - relationship: '&IDR_System_Account__for__Person;' + index: 1249 sourceClassId: '&IDC_User;' - type: 'has preferred display' - destinationClassId: '&IDC_PersonName;' - # siblingRelationshipId: '&IDR_User__for__User_Login;' - singular: no + type: 'for' + destinationClassId: '&IDC_Person;' + siblingRelationshipId: '&IDR_Person__has__System_Account;' + singular: yes - - relationship: '&IDR_Person_Name__preferred_display_for__System_Account;' - index: 964 - sourceClassId: '&IDC_User;' - type: 'preferred display for' + - relationship: '&IDR_Person__has__System_Account;' + index: 1250 + sourceClassId: '&IDC_Person;' + type: 'has' destinationClassId: '&IDC_User;' - # siblingRelationshipId: '&IDR_User__for__User_Login;' - singular: no + siblingRelationshipId: '&IDR_System_Account__for__Person;' + singular: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00042-WorkData.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00042-WorkData.yaml index 45c3154..e6e92a4 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00042-WorkData.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00042-WorkData.yaml @@ -4,4 +4,4 @@ - class: '&IDC_WorkData;' name: Work Data index: 42 - abstract: yes + abstract: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00050-BooleanOperator.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00050-BooleanOperator.yaml new file mode 100644 index 0000000..bf61d4e --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00050-BooleanOperator.yaml @@ -0,0 +1,6 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_BooleanOperator;' + index: 50 + description: operator that is the target of an EBE - Evaluate Boolean Expression Method + abstract: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00058-CommonNumeric.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00058-CommonNumeric.yaml index 7f0fa91..68f67d6 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00058-CommonNumeric.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00058-CommonNumeric.yaml @@ -3,4 +3,6 @@ - class: '&IDC_CommonNumeric;' name: 'Common Numeric' index: 58 + abstract: no + static: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00066-GetAttributeBySystemRoutineMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00066-GetAttributeBySystemRoutineMethod.yaml new file mode 100644 index 0000000..7ab6139 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00066-GetAttributeBySystemRoutineMethod.yaml @@ -0,0 +1,57 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_GetAttributeBySystemRoutineMethod;' + name: GAS - Get Attribute by System Routine Method + index: 66 + customTagName: getAttributeBySystemRoutineMethod + inherits: '&IDC_Method;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name;' + defaultTask: '&IDI_Task_ViewGetAttributeBySystemRoutineMethod;' + relatedTasks: + - instance: '&IDI_Task_ViewGetAttributeBySystemRoutineMethod;' + - instance: '&IDI_Task_EditGetAttributeBySystemRoutineMethod;' + # - instance: '&IDI_Task_TestMethodBinding;' + # - instance: '&IDI_Task_CloneMethodBinding;' + translations: + - relationship: '&IDR_Class__has_title__Translation;' + values: + - languageInstanceId: '&IDI_Language_English;' + value: 'GAS - Get Attribute by System Routine Method' + relationships: # FIXME: remove this when we can properly inherit definitions in zq-python + - instance: '&IDR_Get_Attribute_by_System_Routine_Method__returns__Attribute;' + customTagName: 'returnsAttributeId' + - instance: '&IDR_Get_Attribute_by_System_Routine_Method__uses__System_Attribute_Routine;' + customTagName: 'systemAttributeRoutine' + + - relationship: '&IDR_Get_Attribute_by_System_Routine_Method__returns__Attribute;' + index: 127 + sourceClassId: '&IDC_GetAttributeBySystemRoutineMethod;' + type: 'returns' + destinationClassId: '&IDC_Attribute;' + siblingRelationshipId: '&IDR_Attribute__returned_by__Get_Attribute_by_System_Routine_Method;' + singular: yes + + - relationship: '&IDR_Attribute__returned_by__Get_Attribute_by_System_Routine_Method;' + index: 128 + sourceClassId: '&IDC_Attribute;' + type: 'returned by' + destinationClassId: '&IDC_GetAttributeBySystemRoutineMethod;' + siblingRelationshipId: '&IDR_Get_Attribute_by_System_Routine_Method__returns__Attribute;' + singular: no + + - relationship: '&IDR_Get_Attribute_by_System_Routine_Method__uses__System_Attribute_Routine;' + index: 133 + sourceClassId: '&IDC_GetAttributeBySystemRoutineMethod;' + type: 'uses' + destinationClassId: '&IDC_SystemAttributeRoutine;' + siblingRelationshipId: '&IDR_System_Attribute_Routine__used_by__Get_Attribute_by_System_Routine_Method;' + singular: yes + + - relationship: '&IDR_System_Attribute_Routine__used_by__Get_Attribute_by_System_Routine_Method;' + index: 134 + sourceClassId: '&IDC_SystemAttributeRoutine;' + type: 'used by' + destinationClassId: '&IDC_GetAttributeBySystemRoutineMethod;' + siblingRelationshipId: '&IDR_Get_Attribute_by_System_Routine_Method__uses__System_Attribute_Routine;' + singular: no diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00069-SystemInstanceSetRoutine.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00069-SystemInstanceSetRoutine.yaml index 0d006b2..9784f04 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00069-SystemInstanceSetRoutine.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00069-SystemInstanceSetRoutine.yaml @@ -3,6 +3,7 @@ instances: - class: '&IDC_SystemInstanceSetRoutine;' name: System Instance Set Routine + index: 69 instances: - instance: '&IDI_SystemInstanceSetRoutine_GetUserForUserNameParm;' name: 'Get User For User Name Parm' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00070-SystemAttributeRoutine.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00070-SystemAttributeRoutine.yaml new file mode 100644 index 0000000..c62de31 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00070-SystemAttributeRoutine.yaml @@ -0,0 +1,12 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_SystemAttributeRoutine;' + name: System Attribute Routine + index: 70 + attributes: + - instance: '&IDA_Name;' + customTagName: 'name' + instances: + - instance: '&IDI_SystemAttributeRoutine_GetGlobalIdentifier;' + name: 'Get Global Identifier for Instance Parm' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00073-AssignAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00073-AssignAttributeMethod.yaml index a39596e..fdb677f 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00073-AssignAttributeMethod.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00073-AssignAttributeMethod.yaml @@ -11,6 +11,10 @@ customTagName: 'verb' - instance: '&IDA_Name;' customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' relationships: - instance: '&IDR_Assign_Attribute_Method__uses__Executable_returning_Attribute;' customTagName: 'usesExecutableReturningAttribute' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00077-ExecutableReturningWorkData.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00077-ExecutableReturningWorkData.yaml new file mode 100644 index 0000000..b7b02c2 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00077-ExecutableReturningWorkData.yaml @@ -0,0 +1,7 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ExecutableReturningWorkData;' + name: Executable returning Work Data + index: 77 + abstract: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00078-ExecutableReturningInstanceSet.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00078-ExecutableReturningInstanceSet.yaml new file mode 100644 index 0000000..f6852ae --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00078-ExecutableReturningInstanceSet.yaml @@ -0,0 +1,7 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ExecutableReturningInstanceSet;' + name: Executable returning Instance Set + index: 78 + abstract: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00079-ExecutableReturningAttribute.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00079-ExecutableReturningAttribute.yaml new file mode 100644 index 0000000..e1e8f04 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00079-ExecutableReturningAttribute.yaml @@ -0,0 +1,7 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ExecutableReturningAttribute;' + name: Executable returning Attribute + index: 79 + abstract: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00080-ExecutableReturningElement.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00080-ExecutableReturningElement.yaml new file mode 100644 index 0000000..140ecf6 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00080-ExecutableReturningElement.yaml @@ -0,0 +1,7 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ExecutableReturningElement;' + name: Executable returning Element + index: 80 + abstract: yes diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00086-ReturnAttributeMethodBinding.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00086-ReturnAttributeMethodBinding.yaml index fdbf1c7..253293c 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00086-ReturnAttributeMethodBinding.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00086-ReturnAttributeMethodBinding.yaml @@ -6,6 +6,13 @@ index: 86 customTagName: returnAttributeMethodBinding inherits: '&IDC_MethodBinding;' + instancesLabeledByRAMB: '&IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RAMB;' + defaultTask: '&IDI_Task_ViewReturnAttributeMethodBinding;' + relatedTasks: + - instance: '&IDI_Task_ViewReturnAttributeMethodBinding;' + - instance: '&IDI_Task_EditReturnAttributeMethodBinding;' + # - instance: '&IDI_Task_TestMethodBinding;' + # - instance: '&IDI_Task_CloneMethodBinding;' translations: - relationship: '&IDR_Class__has_title__Translation;' values: @@ -14,3 +21,6 @@ relationships: # FIXME: remove this when we can properly inherit definitions in zq-python - instance: '&IDR_Method_Binding__executes__Method;' customTagName: 'executesMethod' + - instance: '&IDR_Method_Binding__has__Parameter_Assignment;' + customTagName: 'parameterAssignments' + customTagNameCreatesInstanceOf: '&IDC_ParameterAssignment;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00087-ReturnInstanceSetMethodBinding.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00087-ReturnInstanceSetMethodBinding.yaml index 75b3fed..f6e68d3 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00087-ReturnInstanceSetMethodBinding.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00087-ReturnInstanceSetMethodBinding.yaml @@ -6,6 +6,11 @@ index: 87 customTagName: returnInstanceSetMethodBinding inherits: '&IDC_MethodBinding;' + instancesLabeledByRAMB: '&IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RSMB;' + defaultTask: '&IDI_Task_ViewReturnInstanceSetMethodBinding;' + relatedTasks: + - instance: '&IDI_Task_ViewReturnInstanceSetMethodBinding;' + - instance: '&IDI_Task_EditReturnInstanceSetMethodBinding;' translations: - relationship: '&IDR_Class__has_title__Translation;' values: @@ -14,3 +19,6 @@ relationships: # FIXME: remove this when we can properly inherit definitions in zq-python - instance: '&IDR_Method_Binding__executes__Method;' customTagName: 'executesMethod' + - instance: '&IDR_Method_Binding__has__Parameter_Assignment;' + customTagName: 'parameterAssignments' + customTagNameCreatesInstanceOf: '&IDC_ParameterAssignment;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00148-RelationalOperator.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00148-RelationalOperator.yaml new file mode 100644 index 0000000..002286e --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00148-RelationalOperator.yaml @@ -0,0 +1,94 @@ +- entityDefinitions: + - IDC_RelationalOperator: '{f1b5d26f-2347-49cb-8aae-d80dd706fce2}' + + - IDI_RelationalOperator_Subset: '{76d42d7c-f7da-4df6-92cc-b362e3a87d7b}' + - IDI_RelationalOperator_Empty: '{b416747b-537f-46f9-b855-e71ca361d265}' + - IDI_RelationalOperator_CountGreaterThan: '{dbc516aa-0fd9-47a9-bab5-8cede4102af6}' + - IDI_RelationalOperator_CountLessThan: '{5101eb0d-bce3-4f1e-b4b1-e75f68a42829}' + - IDI_RelationalOperator_CountEqualTo: '{beef419c-4375-41f2-909a-af8dded51d04}' + - IDI_RelationalOperator_CountGreaterThanOrEqualTo: '{3579168f-52bc-49f3-be6f-a548ac74f502}' + - IDI_RelationalOperator_CountLessThanOrEqualTo: '{bc05d0b7-59ee-42cc-91e9-90a1e0b3ed85}' + - IDI_RelationalOperator_Superset: '{67d2da4e-d147-4526-9a94-526f0d79ec9c}' + - IDI_RelationalOperator_CountNotEqualTo: '{92ac4ea4-b034-4b09-be67-c39608ae2ecf}' + - IDI_RelationalOperator_NotEmpty: '{aeb5a45f-2aff-4b2b-8f6d-f05f50bc8f8c}' + - IDI_RelationalOperator_NotInSet: '{7fde8600-680b-4c07-be3b-2660f00b01c2}' + - IDI_RelationalOperator_InSet: '{824417e6-61e5-4e74-9e95-514905c01846}' + - IDI_RelationalOperator_NotSuperset: '{8e695935-548a-4177-a474-581fc960eddb}' + - IDI_RelationalOperator_NotSubset: '{ef7726d6-2feb-426c-bf2c-770014d35f68}' + - IDI_RelationalOperator_NotExactMatch: '{f08a632a-1f3e-4979-8ec5-17fefc33b865}' + - IDI_RelationalOperator_ExactMatch: '{93611da1-e21e-4021-9ddd-f7575e0c79ec}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_RelationalOperator;' + name: 'Relational Operator' + index: 148 + inherits: '&IDC_BooleanOperator;' + description: operator that is the target of an EBE - Evaluate Boolean Expression Method + customTagName: 'relationalOperator' + attributes: + - instance: '&IDA_Name;' + customTagName: 'name' + + - relationalOperator: '&IDI_RelationalOperator_Subset;' + index: 7 + name: 'subset of the selection list' + + - relationalOperator: '&IDI_RelationalOperator_Empty;' + index: 11 + name: 'is empty' + frequent: yes + + - relationalOperator: '&IDI_RelationalOperator_CountGreaterThan;' + index: 21 + name: 'count is greater than' + + - relationalOperator: '&IDI_RelationalOperator_CountLessThan;' + index: 22 + name: 'count is less than' + + - relationalOperator: '&IDI_RelationalOperator_CountEqualTo;' + index: 23 + name: 'count is equal to' + + - relationalOperator: '&IDI_RelationalOperator_CountGreaterThanOrEqualTo;' + index: 24 + name: 'count is greater than or equal to' + + - relationalOperator: '&IDI_RelationalOperator_CountLessThanOrEqualTo;' + index: 25 + name: 'count is less than or equal to' + + - relationalOperator: '&IDI_RelationalOperator_Superset;' + index: 27 + name: 'superset of the selection list' + + - relationalOperator: '&IDI_RelationalOperator_CountNotEqualTo;' + index: 34 + name: 'count is not equal to' + + - relationalOperator: '&IDI_RelationalOperator_NotEmpty;' + index: 35 + name: 'is not empty' + frequent: yes + + - relationalOperator: '&IDI_RelationalOperator_NotInSet;' + index: 36 + name: 'not in the selection list' + frequent: yes + - relationalOperator: '&IDI_RelationalOperator_InSet;' + index: 37 + name: 'in the selection list' + frequent: yes + - relationalOperator: '&IDI_RelationalOperator_NotSuperset;' + index: 39 + name: 'NOT superset of the selection list' + - relationalOperator: '&IDI_RelationalOperator_NotSubset;' + index: 40 + name: 'NOT subset of the selection list' + - relationalOperator: '&IDI_RelationalOperator_NotExactMatch;' + index: 41 + name: 'NOT exact match with the selection list' + - relationalOperator: '&IDI_RelationalOperator_ExactMatch;' + index: 45 + name: 'exact match with the selection list' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00149-LogicalOperator.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00149-LogicalOperator.yaml new file mode 100644 index 0000000..1384e20 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00149-LogicalOperator.yaml @@ -0,0 +1,14 @@ +- entityDefinitions: + - IDC_LogicalOperator: '{340d464a-b47d-40a2-a185-be4d974b5899}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_LogicalOperator;' + index: 149 + inherits: '&IDC_BooleanOperator;' + description: operator that is the target of an EBE - Evaluate Boolean Expression Method + customTagName: 'logicalOperator' + + # - logicalOperator: '&IDI_LogicalOperator_And;' + # - logicalOperator: '&IDI_LogicalOperator_Or;' + # - logicalOperator: '&IDI_LogicalOperator_Not;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00206-ConditionGroup.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00206-ConditionGroup.yaml new file mode 100644 index 0000000..f5608a6 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00206-ConditionGroup.yaml @@ -0,0 +1,7 @@ +--- +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ConditionGroup;' + name: Condition Group + index: 206 + \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00767-CommonText.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00767-CommonText.yaml new file mode 100644 index 0000000..f804be3 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00767-CommonText.yaml @@ -0,0 +1,7 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_CommonText;' + name: 'Common Text' + index: 767 + abstract: no + static: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00768-CommonStaticMethods.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00768-CommonStaticMethods.yaml new file mode 100644 index 0000000..58c2d11 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00768-CommonStaticMethods.yaml @@ -0,0 +1,7 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_CommonStaticMethods;' + name: 'Common Static Methods' + index: 768 + abstract: no + static: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00769-CommonBoolean.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00769-CommonBoolean.yaml new file mode 100644 index 0000000..402f7ac --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00769-CommonBoolean.yaml @@ -0,0 +1,7 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_CommonBoolean;' + name: 'Common Boolean' + index: 769 + abstract: no + static: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00770-CommonInstanceSet.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00770-CommonInstanceSet.yaml new file mode 100644 index 0000000..8892e0b --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/00770-CommonInstanceSet.yaml @@ -0,0 +1,7 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_CommonInstanceSet;' + name: 'Common Instance Set' + index: 770 + abstract: no + static: yes \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/03004-TaskCategory.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/03004-TaskCategory.yaml index 5372bac..ab634d3 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/03004-TaskCategory.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/03004-TaskCategory.yaml @@ -24,4 +24,26 @@ - taskCategory: '&IDI_TaskCategory_Element;' name: 'Element' - taskCategory: '&IDI_TaskCategory_SystemUser;' - name: 'System User' \ No newline at end of file + name: 'System User' + - taskCategory: '&IDI_TaskCategory_WorkData;' + name: 'Work Data' + - taskCategory: '&IDI_TaskCategory_WorkSet;' + name: 'Work Set' + - taskCategory: '&IDI_TaskCategory_ReturnAttributeMethodBinding;' + name: 'Return Attribute Method Binding' + - taskCategory: '&IDI_TaskCategory_GetReferencedAttributeMethod;' + name: 'GRA - Get Referenced Attribute Method' + - taskCategory: '&IDI_TaskCategory_BuildAttributeMethod;' + name: 'BA - Build Attribute Method' + - taskCategory: '&IDI_TaskCategory_GetAttributeMethod;' + name: 'GA - Get Attribute Method' + - taskCategory: '&IDI_TaskCategory_GetReferencedInstanceSetMethod;' + name: 'GRS - Get Referenced Instance Set Method' + - taskCategory: '&IDI_TaskCategory_ReturnInstanceSetMethodBinding;' + name: 'Return Instance Set Method Binding' + - taskCategory: '&IDI_TaskCategory_ConditionalSelectAttributeMethod;' + name: 'SAC - Conditional Select Attribute Method' + - taskCategory: '&IDI_TaskCategory_EvaluateBooleanExpressionMethod;' + name: 'EBE - Evaluate Boolean Expression Method' + - taskCategory: '&IDI_TaskCategory_AccessModifier;' + name: 'Access Modifier' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/04170-AccessModifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/04170-AccessModifier.yaml new file mode 100644 index 0000000..3861269 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/04170-AccessModifier.yaml @@ -0,0 +1,53 @@ +- entityDefinitions: + - IDI_AccessModifier_Private: '{82bef402-2a8b-45d2-bfef-0de3a355bd22}' + - IDI_AccessModifier_Protected: '{23e264b2-e8a0-4d0c-96c2-308586a46eaa}' + - IDI_AccessModifier_Public: '{68be791f-f64b-4eeb-bc6a-2f040c4e90d2}' + - IDI_AccessModifier_RootA2: '{286bcf7a-9dcb-4c83-9a5c-09a31dc8f10b}' + + - IDR_Metadata_With_Access_Modifier__has__Access_Modifier: '{c8551fb1-6dc5-47cb-8b8f-204d49e6007e}' + - IDR_Access_Modifier__for__Metadata_With_Access_Modifier: '{fdebdc6f-5b0d-4b57-af1f-7dda9f85357f}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_AccessModifier;' + name: 'Access Modifier' + index: 4170 + customTagName: 'accessModifier' + defaultTask: '&IDI_Task_ViewAccessModifier;' + relatedTasks: + - instance: '&IDI_Task_ViewAccessModifier;' + - instance: '&IDI_Task_EditAccessModifier;' + attributes: + - instance: '&IDA_Name;' + customTagName: 'name' + - instance: '&IDA_Order;' + customTagName: 'order' + + - relationship: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + index: 11853 + sourceClassId: '&IDC_MetadataWithAccessModifier;' + type: 'has' + destinationClassId: '&IDC_AccessModifier;' + siblingRelationshipId: '&IDR_Access_Modifier__for__Metadata_With_Access_Modifier;' + singular: yes + + - relationship: '&IDR_Access_Modifier__for__Metadata_With_Access_Modifier;' + index: 11854 + sourceClassId: '&IDC_AccessModifier;' + type: 'for' + destinationClassId: '&IDC_MetadataWithAccessModifier;' + siblingRelationshipId: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + singular: no + + - accessModifier: '&IDI_AccessModifier_Private;' + name: 'Private' + order: a + - accessModifier: '&IDI_AccessModifier_Protected;' + name: 'Protected' + order: b + - accessModifier: '&IDI_AccessModifier_Public;' + name: 'Public' + order: c + - accessModifier: '&IDI_AccessModifier_RootA2;' + name: 'Root (A2)' + order: d diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttibuteMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttibuteMethod.yaml deleted file mode 100644 index 7d96126..0000000 --- a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttibuteMethod.yaml +++ /dev/null @@ -1,34 +0,0 @@ -- library: '&IDL_MochaBaseSystem;' - instances: - - class: '&IDC_ConditionalSelectAttributeMethod;' - index: 13038 - name: SAC - Conditional Select Attribute Method - customTagName: conditionalSelectAttributeMethod - superclasses: - - '&IDC_Method;' - relationships: - - instance: '&IDR_Conditional_Method__has__Conditional_Method_Case;' - customTagName: cases - # let's try this, define a custom tag name local to this particular context - # otherwise, we would have to have e.g. 'conditionalSelectAttributeCase' and 'conditionalSelectInstanceSetCase' because they're different.. - instanceCustomTagName: case - - - conditionalSelectAttributeMethod: '{c047715b-2547-47be-9437-9af40f1d6fdf}' - forClassId: '&IDC_ConditionalSelectAttributeMethod' - verb: 'get' - name: 'example item from choices depending on arbitrary magic' - cases: - - case: '{ec04570c-c5ac-4146-ba4a-a9a496465067}' - #conditionGroup: '{23705abe-d562-4335-b78b-1ba06d886866}' - trueConditions: '&IDMB_Common_Boolean__get__Arbitrary_Magic_Toggle;' - falseConditions: - useAnyCondition: no - # default implementation: `Common Numeric@get 42 (BA)*P*S[ramb]` - executableReturningAttribute: '&IDMB_Common_Numeric__get__42;' - - - case: '{3e149124-cc01-4427-ae19-167a23e8b647}' # default case - #conditionGroup: '{b5585cf6-0483-437f-9dc9-fb804f5b7db2}' - trueConditions: - falseConditions: - useAnyCondition: no - executableReturningAttribute: '&IDA_DateAndTime;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttributeMethod.yaml new file mode 100644 index 0000000..4d0d6fc --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13038-ConditionalSelectAttributeMethod.yaml @@ -0,0 +1,94 @@ +- entityDefinitions: + - IDR_Conditional_Select_Attribute_Method__returns__Attribute: '{b2b9d9cc-c4dd-491b-853e-e3669ea4e66a}' + - IDR_Attribute__returned_by__Conditional_Select_Attribute_Method: '{e3e734ce-953b-49b8-b50d-b1826b519053}' + - IDR_Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case: '{49396bd0-b5a9-4384-99f4-2126d80b3b66}' + - IDR_Conditional_Select_Attribute_Case__for__Conditional_Select_Attribute_Method: '{38e2816e-ccb4-4e89-86ab-4981f5c2d7ac}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ConditionalSelectAttributeMethod;' + index: 13038 + name: SAC - Conditional Select Attribute Method + customTagName: 'conditionalSelectAttributeMethod' + defaultTask: '&IDI_Task_ViewConditionalSelectAttributeMethod;' + instancesLabeledByRAMB: '&IDMB_Method__get__Fully_Qualified_Name_SAC;' + relatedTasks: + - instance: '&IDI_Task_ViewConditionalSelectAttributeMethod;' + - instance: '&IDI_Task_EditConditionalSelectAttributeMethod;' + attributes: + - instance: '&IDA_Verb;' + customTagName: 'verb' + - instance: '&IDA_Name;' + customTagName: 'name' + - instance: '&IDA_Static;' + customTagName: 'static' + - instance: '&IDA_Final;' + customTagName: 'final' + superclasses: + - '&IDC_Method;' + # {42da9043-a875-4588-b3dc-0539ad129ffb} + relationships: + - instance: '&IDR_Method__for__Class;' + customTagName: 'forClassId' + - instance: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + customTagName: 'accessModifierId' + - instance: '&IDR_Conditional_Select_Attribute_Method__returns__Attribute;' + customTagName: 'returnsAttributeId' + - instance: '&IDR_Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case;' + customTagName: 'cases' + customTagNameCreatesInstanceOf: '&IDC_ConditionalSelectAttributeCase;' + # let's try this, define a custom tag name local to this particular context + # otherwise, we would have to have e.g. 'conditionalSelectAttributeCase' and 'conditionalSelectInstanceSetCase' because they're different.. + instanceCustomTagName: 'case' + + - relationship: '&IDR_Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case;' + index: 37627 + sourceClassId: '&IDC_ConditionalSelectAttributeMethod;' + type: 'has' + destinationClassId: '&IDC_ConditionalSelectAttributeCase;' + siblingRelationshipId: '&IDR_Conditional_Select_Attribute_Case__for__Conditional_Select_Attribute_Method;' + singular: yes + + - relationship: '&IDR_Conditional_Select_Attribute_Case__for__Conditional_Select_Attribute_Method;' + index: 37628 + sourceClassId: '&IDC_ConditionalSelectAttributeCase;' + type: 'for' + destinationClassId: '&IDC_ConditionalSelectAttributeMethod;' + siblingRelationshipId: '&IDR_Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case;' + singular: no + + - relationship: '&IDR_Conditional_Select_Attribute_Method__returns__Attribute;' + index: 37633 + sourceClassId: '&IDC_ConditionalSelectAttributeMethod;' + type: 'returns' + destinationClassId: '&IDC_Attribute;' + siblingRelationshipId: '&IDR_Attribute__returned_by__Conditional_Select_Attribute_Method;' + singular: yes + + - relationship: '&IDR_Attribute__returned_by__Conditional_Select_Attribute_Method;' + index: 37634 + sourceClassId: '&IDC_Attribute;' + type: 'returned by' + destinationClassId: '&IDC_ConditionalSelectAttributeMethod;' + siblingRelationshipId: '&IDR_Conditional_Select_Attribute_Method__returns__Attribute;' + singular: no + + - conditionalSelectAttributeMethod: '{c047715b-2547-47be-9437-9af40f1d6fdf}' + forClassId: '&IDC_ConditionalSelectAttributeMethod;' + verb: 'get' + name: 'example item from choices depending on arbitrary magic' + cases: + - globalIdentifier: '{ec04570c-c5ac-4146-ba4a-a9a496465067}' + #conditionGroup: '{23705abe-d562-4335-b78b-1ba06d886866}' + trueConditions: '&IDMB_Common_Boolean__get__Arbitrary_Magic_Toggle;' + falseConditions: + useAnyCondition: no + # default implementation: `Common Numeric@get 42 (BA)*P*S[ramb]` + returnsAttributeId: '&IDMB_Common_Numeric__get__42;' + + - globalIdentifier: '{3e149124-cc01-4427-ae19-167a23e8b647}' # default case + #conditionGroup: '{b5585cf6-0483-437f-9dc9-fb804f5b7db2}' + trueConditions: + falseConditions: + useAnyCondition: no + returnsAttributeId: '&IDA_DateAndTime;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13041-ConditionalSelectAttributeCase.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13041-ConditionalSelectAttributeCase.yaml new file mode 100644 index 0000000..2a91890 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/003-Classes/13041-ConditionalSelectAttributeCase.yaml @@ -0,0 +1,66 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - class: '&IDC_ConditionalSelectAttributeCase;' + index: 13041 + name: Conditional Select Attribute Case + customTagName: conditionalSelectAttributeCase + registerForTemplate: yes + superclasses: + - '&IDC_ConditionalEvaluationCase;' + attributes: + - instance: '&IDA_UseAnyCondition;' + customTagName: 'useAnyCondition' + - instance: '&IDA_Comment;' + customTagName: 'comment' + relationships: + - instance: '&IDR_Condition_Group__has_true_condition__Executable_returning_Work_Data;' + customTagName: trueConditions + - instance: '&IDR_Condition_Group__has_false_condition__Executable_returning_Work_Data;' + customTagName: falseConditions + - instance: '&IDR_Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute;' + customTagName: returnsAttributeId + + - relationship: '&IDR_Condition_Group__has_true_condition__Executable_returning_Work_Data;' + index: 171 + sourceClassId: '&IDC_ConditionGroup;' + type: 'has true condition' + destinationClassId: '&IDC_ExecutableReturningWorkData;' + siblingRelationshipId: '&IDR_Executable_returning_Work_Data__true_condition_for__Condition_Group;' + singular: no + - relationship: '&IDR_Executable_returning_Work_Data__true_condition_for__Condition_Group;' + index: 172 + sourceClassId: '&IDC_ExecutableReturningWorkData;' + type: 'true condition for' + destinationClassId: '&IDC_ConditionGroup;' + siblingRelationshipId: '&IDR_Condition_Group__has_true_condition__Executable_returning_Work_Data;' + singular: no + - relationship: '&IDR_Condition_Group__has_false_condition__Executable_returning_Work_Data;' + index: 175 + sourceClassId: '&IDC_ConditionGroup;' + type: 'has false condition' + destinationClassId: '&IDC_ExecutableReturningWorkData;' + siblingRelationshipId: '&IDR_Executable_returning_Work_Data__false_condition_for__Condition_Group;' + singular: no + - relationship: '&IDR_Executable_returning_Work_Data__false_condition_for__Condition_Group;' + index: 176 + sourceClassId: '&IDC_ExecutableReturningWorkData;' + type: 'false condition for' + destinationClassId: '&IDC_ConditionGroup;' + siblingRelationshipId: '&IDR_Condition_Group__has_false_condition__Executable_returning_Work_Data;' + singular: no + + - relationship: '&IDR_Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute;' + index: 37629 + sourceClassId: '&IDC_ConditionalSelectAttributeCase;' + type: 'invokes' + destinationClassId: '&IDC_ExecutableReturningAttribute;' + siblingRelationshipId: '&IDR_Executable_returning_Attribute__invoked_by__Conditional_Select_Attribute_Case;' + singular: yes + + - relationship: '&IDR_Executable_returning_Attribute__invoked_by__Conditional_Select_Attribute_Case;' + index: 37630 + sourceClassId: '&IDC_ExecutableReturningAttribute;' + type: 'invoked by' + destinationClassId: '&IDC_ConditionalSelectAttributeMethod;' + siblingRelationshipId: '&IDR_Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute;' + singular: no diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Class/Class__get__Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Class/Class__get__Name.yaml new file mode 100644 index 0000000..d8c188d --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Class/Class__get__Name.yaml @@ -0,0 +1,10 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - getAttributeMethod: '&IDM_Class__get__Name;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Class;' + returnsAttributeId: '&IDA_Name;' + verb: 'get' + name: 'Name' + - returnAttributeMethodBinding: '&IDMB_Class__get__Name;' + executesMethod: '&IDM_Class__get__Name;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Common Boolean@is Date And Time parm less than or equal to Nth of this same month.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Common Boolean@is Date And Time parm less than or equal to Nth of this same month.yaml index f64d5e6..0292dfc 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Common Boolean@is Date And Time parm less than or equal to Nth of this same month.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Common Boolean@is Date And Time parm less than or equal to Nth of this same month.yaml @@ -1,4 +1,5 @@ - library: '&IDL_MochaBaseSystem;' instances: - evaluateBooleanExpressionMethod: '&IDM_Common_Boolean__is__Date_And_Time_parm_less_than_or_equal_to_Nth_of_this_same_month;' + accessModifierId: '&IDI_AccessModifier_Public;' returnsAttributeId: '&IDA_Value;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonBoolean/Common_Boolean__get__True.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonBoolean/Common_Boolean__get__True.yaml new file mode 100644 index 0000000..2f12bd4 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonBoolean/Common_Boolean__get__True.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Common_Boolean__get__True: '{e006d03b-7fb3-4ab9-a212-afc53748cbab}' + - IDMB_Common_Boolean__get__True: '{f3572b5e-8cd9-40a5-aeb2-11331287fb81}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Boolean__get__True;' + forClassId: '&IDC_CommonBoolean;' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_True;' + verb: 'get' + name: 'True' + initialValue: true + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Boolean__get__True;' + executesMethod: '&IDM_Common_Boolean__get__True;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__At_Sign.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__At_Sign.yaml new file mode 100644 index 0000000..0915ff2 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__At_Sign.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__At_Sign;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'At Sign' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '@' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__At_Sign;' + executesMethod: '&IDM_Common_Text__get__At_Sign;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Bracket.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Bracket.yaml new file mode 100644 index 0000000..4df286b --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Bracket.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__Close_Bracket;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Close Bracket' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: ']' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Close_Bracket;' + executesMethod: '&IDM_Common_Text__get__Close_Bracket;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Parenthesis.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Parenthesis.yaml new file mode 100644 index 0000000..017a9ec --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Close_Parenthesis.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__Close_Parenthesis;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Close Parenthesis' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: ')' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Close_Parenthesis;' + executesMethod: '&IDM_Common_Text__get__Close_Parenthesis;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Empty_String.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Empty_String.yaml new file mode 100644 index 0000000..8447a77 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Empty_String.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__Empty_String;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Empty String' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Empty_String;' + executesMethod: '&IDM_Common_Text__get__Empty_String;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Forward_Slash.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Forward_Slash.yaml index e80d48c..dd3aaa4 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Forward_Slash.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Forward_Slash.yaml @@ -5,5 +5,8 @@ returnsAttributeId: '&IDA_Value;' verb: 'get' name: 'Forward Slash' + accessModifierId: '&IDI_AccessModifier_Public;' initialValue: '/' - static: yes \ No newline at end of file + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Forward_Slash;' + executesMethod: '&IDM_Common_Text__get__Forward_Slash;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Bracket.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Bracket.yaml new file mode 100644 index 0000000..d1114b9 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Bracket.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__Open_Bracket;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Open Bracket' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '[' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Open_Bracket;' + executesMethod: '&IDM_Common_Text__get__Open_Bracket;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Parenthesis.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Parenthesis.yaml new file mode 100644 index 0000000..42c3849 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Open_Parenthesis.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Common_Text__get__Open_Parenthesis;' + forClassId: '&IDC_CommonText;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Open Parenthesis' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '(' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Open_Parenthesis;' + executesMethod: '&IDM_Common_Text__get__Open_Parenthesis;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Single_Space.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Single_Space.yaml index 37ee114..0c61341 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Single_Space.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/CommonText/Common_Text__get__Single_Space.yaml @@ -5,4 +5,8 @@ returnsAttributeId: '&IDA_Value;' verb: 'get' name: 'Single Space' + accessModifierId: '&IDI_AccessModifier_Public;' initialValue: ' ' + static: yes + - returnAttributeMethodBinding: '&IDMB_Common_Text__get__Single_Space;' + executesMethod: '&IDM_Common_Text__get__Single_Space;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Instance__get__Global_Identifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Instance__get__Global_Identifier.yaml new file mode 100644 index 0000000..7cf035a --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Instance__get__Global_Identifier.yaml @@ -0,0 +1,8 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - getAttributeBySystemRoutineMethod: '&IDM_Instance__get__Global_Identifier;' + systemAttributeRoutine: '&IDI_SystemAttributeRoutine_GetGlobalIdentifier;' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_GlobalIdentifier;' + - returnAttributeMethodBinding: '&IDMB_Instance__get__Global_Identifier;' + executesMethod: '&IDM_Instance__get__Global_Identifier;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Access_Modifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Access_Modifier.yaml new file mode 100644 index 0000000..6b6eb03 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Access_Modifier.yaml @@ -0,0 +1,17 @@ +- entityDefinitions: + - IDM_Method__get__Access_Modifier: '{c14bea39-3aa0-44b8-98ab-c16704e3dbf0}' + - IDMB_Method__get__Access_Modifier: '{22cc3e37-76b0-4433-afa7-e2f07815fdcb}' +- library: '&IDL_MochaBaseSystem;' + instances: + - getReferencedInstanceSetMethod: '&IDM_Method__get__Access_Modifier;' + forClassId: '&IDC_Method;' + returnsWorkSetId: '&IDI_WorkSet_AccessModifierSingular;' + verb: 'get' + name: 'Access Modifier' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDC_Method;' + answerInstanceSet: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + singular: yes + + - returnInstanceSetMethodBinding: '&IDMB_Method__get__Access_Modifier;' + executesMethod: '&IDM_Method__get__Access_Modifier;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__BA_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__BA_Method_Suffix.yaml new file mode 100644 index 0000000..c66a81c --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__BA_Method_Suffix.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__BA_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'BA Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'BA' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__BA_Method_Suffix;' + executesMethod: '&IDM_Method__get__BA_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Class.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Class.yaml new file mode 100644 index 0000000..0b1e80b --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Class.yaml @@ -0,0 +1,23 @@ +- entityDefinitions: + - IDM_Method__get__Class: '{556a1c34-f0ab-46a2-a063-d892d6f79a2d}' + - IDMB_Method__get__Class: '{74d1a7b5-8ef3-4858-82d2-c8e908cda532}' +- library: '&IDL_MochaBaseSystem;' + instances: + - getReferencedInstanceSetMethod: '&IDM_Method__get__Class;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsWorkSetId: '&IDI_WorkSet_ClassForMethod;' + verb: 'get' + name: 'Class' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDC_Method;' + answerInstanceSet: '&IDR_Method__for__Class;' + singular: yes + + - returnInstanceSetMethodBinding: '&IDMB_Method__get__Class;' + executesMethod: '&IDM_Method__get__Class;' + # parameterAssignments: + # - globalIdentifier: '{5e89d13d-70e7-45e1-886c-ca2244eb3edf}' + # assignsToParameter: '&IDC_Method;' + # assignsFromWorkData: '&IDI_WorkSet_MethodSingular;' + diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__EBE_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__EBE_Method_Suffix.yaml new file mode 100644 index 0000000..e460863 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__EBE_Method_Suffix.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__EBE_Method_Suffix: '{61fd2cf1-3a17-496c-988f-3edd227329be}' + - IDMB_Method__get__EBE_Method_Suffix: '{7397f559-85f6-4fbb-990b-31a1c63e5a1f}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__EBE_Method_Suffix;' + forClassId: '&IDC_Method;' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'EBE Method Suffix' + initialValue: 'EBE' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__EBE_Method_Suffix;' + executesMethod: '&IDM_Method__get__EBE_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name.yaml new file mode 100644 index 0000000..278f81d --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name.yaml @@ -0,0 +1,29 @@ +- entityDefinitions: + - IDM_Method__get__Fully_Qualified_Name: '{4fe88ce9-96dc-40ac-93ac-bd5385c4802d}' + - IDMB_Method__get__Fully_Qualified_Name: '{a70e1e16-94ed-4496-931c-f829217b8c7d}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__Fully_Qualified_Name;' + forClassId: '&IDC_Method;' + verb: 'get' + name: 'Fully Qualified Name' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '' + returnsAttributeId: '&IDA_Value;' + buildsWithAttributes: + - instance: '&IDMB_Method__get__Class_Name;' + - instance: '&IDMB_Common_Text__get__At_Sign;' #@ + - instance: '&IDMB_Method__get__Verb;' + - instance: '&IDMB_Common_Text__get__Single_Space;' + - instance: '&IDMB_Method__get__Name;' + - instance: '&IDMB_Common_Text__get__Open_Parenthesis;' #( + - instance: '&IDMB_Method__get__Method_Type;' # GRA, GSI, etc. + - instance: '&IDMB_Common_Text__get__Close_Parenthesis;' #) + - instance: '&IDMB_Method__get__Parms_Qualifier_or_Empty_String;' # *P + - instance: '&IDMB_Method__get__Static_Qualifier_or_Empty_String;' # *S + - instance: '&IDMB_Method__get__Public_Qualifier_or_Empty_String;' #(public) + + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_BA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_BA.yaml new file mode 100644 index 0000000..38961ae --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_BA.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_BA: '{3ea868ca-6548-4a19-95ca-50d8035d7ce5}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_BA;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{3b90e907-954c-4102-8c40-ddc53a343fdd}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_BuildAttributeMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_EBE.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_EBE.yaml new file mode 100644 index 0000000..21f5733 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_EBE.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_EBE: '{e93ed8dc-c0ed-4bd3-8871-fbd0fb563d56}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_EBE;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{e94e1ce5-2fd1-42f3-b19f-7b87f83659aa}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_EvaluateBooleanExpressionMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GA.yaml new file mode 100644 index 0000000..8c09a51 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GA.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_GA: '{22e834c0-212c-4e8b-814c-fca21461f5f6}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_GA;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{1bdff2d0-9c45-494e-bc53-770b6875f84c}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_GetAttributeMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GAS.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GAS.yaml new file mode 100644 index 0000000..a36cf2d --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GAS.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_GAS: '{c98be9cb-e507-4820-98f9-a7b918955bec}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_GAS;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{950d27b7-0be3-4d94-87f5-c516c767e9e7}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_GetAttributeBySystemRoutineMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRA.yaml new file mode 100644 index 0000000..a1649ee --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRA.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_GRA: '{ba984fbf-ae1b-4f3e-8aae-8725548d85cc}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_GRA;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{d92f2d9a-ff62-4ee2-b787-0581804cc297}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_GetReferencedAttributeMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRS.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRS.yaml new file mode 100644 index 0000000..204b1a6 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_GRS.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_GRS: '{00aea178-7e28-48ee-bd72-6b4bf073307e}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_GRS;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{cbcc8cc6-03ad-4f20-a3d8-b28c7bf40303}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_GetReferencedInstanceSetMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_SAC.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_SAC.yaml new file mode 100644 index 0000000..1dfd408 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Fully_Qualified_Name/Method__get__Fully_Qualified_Name_SAC.yaml @@ -0,0 +1,12 @@ +--- +- entityDefinitions: + - IDMB_Method__get__Fully_Qualified_Name_SAC: '{dfaf6c93-33ed-4a3d-947f-1db7bfdbf762}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - returnAttributeMethodBinding: '&IDMB_Method__get__Fully_Qualified_Name_SAC;' + executesMethod: '&IDM_Method__get__Fully_Qualified_Name;' + parameterAssignments: + - globalIdentifier: '{615eaaec-d8d1-4af9-a283-555b4ab794e7}' + assignsToParameter: '&IDC_Method;' + assignsFromWorkData: '&IDC_ConditionalSelectAttributeMethod;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GA_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GA_Method_Suffix.yaml new file mode 100644 index 0000000..88c70de --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GA_Method_Suffix.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__GA_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'GA Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'GA' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__GA_Method_Suffix;' + executesMethod: '&IDM_Method__get__GA_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRA_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRA_Method_Suffix.yaml new file mode 100644 index 0000000..db4208a --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRA_Method_Suffix.yaml @@ -0,0 +1,15 @@ +- entityDefinitions: + - IDM_Method__get__GRA_Method_Suffix: '{c700ea18-4a07-49be-89f1-6f26fd307161}' + - IDMB_Method__get__GRA_Method_Suffix: '{f877e77a-a08f-4bf1-a077-4ac021b09983}' +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__GRA_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'GRA Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'GRA' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__GRA_Method_Suffix;' + executesMethod: '&IDM_Method__get__GRA_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRS_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRS_Method_Suffix.yaml new file mode 100644 index 0000000..ed284c9 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__GRS_Method_Suffix.yaml @@ -0,0 +1,12 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__GRS_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'GRS Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'GRS' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__GRS_Method_Suffix;' + executesMethod: '&IDM_Method__get__GRS_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__IOP_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__IOP_Method_Suffix.yaml new file mode 100644 index 0000000..fbb02bf --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__IOP_Method_Suffix.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__IOP_Method_Suffix: '{20761fe4-5894-49a9-bf6a-5466f86a404e}' + - IDMB_Method__get__IOP_Method_Suffix: '{9b919cc3-d3be-4e11-bbd7-9940bd9239db}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__IOP_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'IOP Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'IOP' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__IOP_Method_Suffix;' + executesMethod: '&IDM_Method__get__IOP_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Method_Type.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Method_Type.yaml new file mode 100644 index 0000000..e15d558 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Method_Type.yaml @@ -0,0 +1,62 @@ +- entityDefinitions: + - IDM_Method__get__Method_Type: '{ddb62bd1-df5a-4c9d-9991-ff9a827717e9}' + - IDMB_Method__get__Method_Type: '{b82b5b35-a88f-48b9-80aa-2b2ba9737e31}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - conditionalSelectAttributeMethod: '&IDM_Method__get__Method_Type;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'Method Type' + accessModifierId: '&IDI_AccessModifier_RootA2;' + cases: + - globalIdentifier: '{dc60fe34-bdb4-4372-a0b7-cc913606e215}' + trueConditions: + - instance: '&IDMB_Method__is__GRS;' + returnsAttributeId: '&IDMB_Method__get__GRS_Method_Suffix;' + comment: 'If Method is GRS, return the "GRS" suffix' + + - globalIdentifier: '{5de9be70-9b0e-4c08-b504-1b48ce5cebf0}' + trueConditions: + - instance: '&IDMB_Method__is__GRA;' + returnsAttributeId: '&IDMB_Method__get__GRA_Method_Suffix;' + comment: 'If Method is GRA, return the "GRA" suffix' + + - globalIdentifier: '{6802a559-b650-4517-81f8-ecc8891bc600}' + trueConditions: + - instance: '&IDMB_Method__is__GA;' + returnsAttributeId: '&IDMB_Method__get__GA_Method_Suffix;' + comment: 'If Method is GA, return the "GA" suffix' + + - globalIdentifier: '{18523215-6098-4352-bfbb-b9912e7baab4}' + trueConditions: + - instance: '&IDMB_Method__is__BA;' + returnsAttributeId: '&IDMB_Method__get__BA_Method_Suffix;' + comment: 'If Method is BA, return the "BA" suffix' + + - globalIdentifier: '{4948c460-2332-48a8-b273-f76c12a7802d}' + trueConditions: + - instance: '&IDMB_Method__is__EBE;' + returnsAttributeId: '&IDMB_Method__get__EBE_Method_Suffix;' + comment: 'If Method is EBE, return the "EBE" suffix' + + - globalIdentifier: '{7fd7ec72-6084-4409-914d-05b3f61d32cc}' + trueConditions: + - instance: '&IDMB_Method__is__SAC;' + returnsAttributeId: '&IDMB_Method__get__SAC_Method_Suffix;' + comment: 'If Method is SAC, return the "SAC" suffix' + + - globalIdentifier: '{4e27ff99-37e3-4a92-86e8-ccc81d0a52a8}' + trueConditions: + - instance: '&IDMB_Method__is__IOP;' + returnsAttributeId: '&IDMB_Method__get__IOP_Method_Suffix;' + comment: 'If Method is IOP, return the "IOP" 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;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Name.yaml new file mode 100644 index 0000000..fa9e34d --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Name.yaml @@ -0,0 +1,11 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - getAttributeMethod: '&IDM_Method__get__Name;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Name;' + verb: 'get' + name: 'Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' + - returnAttributeMethodBinding: '&IDMB_Method__get__Name;' + executesMethod: '&IDM_Method__get__Name;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parent_Class.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parent_Class.yaml new file mode 100644 index 0000000..5739501 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parent_Class.yaml @@ -0,0 +1,30 @@ +- entityDefinitions: + - IDM_Instance__get__Parent_Class: '{bac8c59f-8994-41e8-b0c0-659ec8efc4e2}' + - IDMB_Instance__get__Parent_Class: '{ff202817-0b0d-430a-af5f-e49755c91fbb}' + - IDMB_Method__get__Parent_Class: '{df7398ba-2a1a-4042-b48e-fc768662ddc3}' +- library: '&IDL_MochaBaseSystem;' + instances: + - getReferencedInstanceSetMethod: '&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;' + singular: yes + + - returnInstanceSetMethodBinding: '&IDMB_Instance__get__Parent_Class;' + executesMethod: '&IDM_Instance__get__Parent_Class;' + # parameterAssignments: + # - globalIdentifier: '{5e89d13d-70e7-45e1-886c-ca2244eb3edf}' + # assignsToParameter: '&IDC_Method;' + # assignsFromWorkData: '&IDI_WorkSet_MethodSingular;' + + - returnInstanceSetMethodBinding: '&IDMB_Method__get__Parent_Class;' + executesMethod: '&IDM_Instance__get__Parent_Class;' + parameterAssignments: + - globalIdentifier: '{1932b4c6-ac93-47f4-909f-c79c10ff4c40}' + assignsToParameter: '&IDC_Instance;' + assignsFromWorkData: '&IDC_Method;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier.yaml new file mode 100644 index 0000000..1289bb4 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__Parms_Qualifier: '{492fdf3b-7cb0-4d7e-b151-8a53c47e1d53}' + - IDMB_Method__get__Parms_Qualifier: '{0f4bae66-7118-48b2-96b0-c3819dea0b8f}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__Parms_Qualifier;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Parms Qualifier' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '*P' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__Parms_Qualifier;' + executesMethod: '&IDM_Method__get__Parms_Qualifier;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier_or_Empty_String.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier_or_Empty_String.yaml new file mode 100644 index 0000000..d22a737 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Parms_Qualifier_or_Empty_String.yaml @@ -0,0 +1,24 @@ +- entityDefinitions: + - IDM_Method__get__Parms_Qualifier_or_Empty_String: '{e6beacc6-d79d-4e77-9e70-b905a4910c53}' + - IDMB_Method__get__Parms_Qualifier_or_Empty_String: '{dc7bf444-2e3f-47b1-8a43-224338526c42}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - conditionalSelectAttributeMethod: '&IDM_Method__get__Parms_Qualifier_or_Empty_String;' + forClassId: '&IDC_Method;' + verb: 'get' + name: 'Parms Qualifier or Empty String' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_Static;' + cases: + - globalIdentifier: '{40ab8e9e-4d3d-49cb-9e33-74283a494163}' + # trueConditions: + # - instance: '&IDMB_Method__has__Parms;' + # useAnyCondition: no + # returnsAttributeId: '&IDMB_Method__get__Static_Qualifier;' + # - globalIdentifier: '{68e85e33-174e-45dc-98de-abb7f81eefaf}' + # useAnyCondition: no + returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;' + + - returnAttributeMethodBinding: '&IDMB_Method__get__Parms_Qualifier_or_Empty_String;' + executesMethod: '&IDM_Method__get__Parms_Qualifier_or_Empty_String;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier.yaml new file mode 100644 index 0000000..45f29d0 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__Public_Qualifier: '{1a143926-994e-4e8b-b366-83edc08838d9}' + - IDMB_Method__get__Public_Qualifier: '{037bfc56-be92-4e30-8ef4-42f9af0efe0c}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__Public_Qualifier;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Public Qualifier' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '(public)' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__Public_Qualifier;' + executesMethod: '&IDM_Method__get__Public_Qualifier;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier_or_Empty_String.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier_or_Empty_String.yaml new file mode 100644 index 0000000..56e03e8 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Public_Qualifier_or_Empty_String.yaml @@ -0,0 +1,24 @@ +- entityDefinitions: + - IDM_Method__get__Public_Qualifier_or_Empty_String: '{d0945634-2463-45ef-b871-56b0e613936f}' + - IDMB_Method__get__Public_Qualifier_or_Empty_String: '{34c214c8-dc4c-487d-886f-78902aa50a02}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - conditionalSelectAttributeMethod: '&IDM_Method__get__Public_Qualifier_or_Empty_String;' + forClassId: '&IDC_Method;' + verb: 'get' + name: 'Public Qualifier or Empty String' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_Value;' + cases: + - globalIdentifier: '{432c4bd6-54ff-4eb8-989b-8743449e4012}' + trueConditions: + - instance: '&IDMB_Method__is__Public;' + useAnyCondition: no + returnsAttributeId: '&IDMB_Method__get__Public_Qualifier;' + - globalIdentifier: '{672da709-8a48-41d5-a35a-9f7cc6fef9aa}' + useAnyCondition: no + returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;' + + - returnAttributeMethodBinding: '&IDMB_Method__get__Public_Qualifier_or_Empty_String;' + executesMethod: '&IDM_Method__get__Public_Qualifier_or_Empty_String;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__SAC_Method_Suffix.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__SAC_Method_Suffix.yaml new file mode 100644 index 0000000..922ceb4 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__SAC_Method_Suffix.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__SAC_Method_Suffix: '{1bb81975-d764-41ee-8f97-2d1f5cb725e4}' + - IDMB_Method__get__SAC_Method_Suffix: '{f1c2c8a0-ce55-42ea-a9bc-ac3305aa22b5}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__SAC_Method_Suffix;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_MethodType;' + verb: 'get' + name: 'SAC Method Suffix' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'SAC' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__SAC_Method_Suffix;' + executesMethod: '&IDM_Method__get__SAC_Method_Suffix;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static.yaml new file mode 100644 index 0000000..9f40146 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static.yaml @@ -0,0 +1,23 @@ +- entityDefinitions: + - IDM_Method__get__Static: '{27941ea6-e0b7-43a5-8fa7-c8bcbd311114}' + - IDMB_Method__get__Static: '{22e398dc-2efb-4ae1-83b2-d0db4f599d6e}' +- library: '&IDL_MochaBaseSystem;' + instances: + - getReferencedAttributeMethod: '&IDM_Method__get__Static;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Static;' + verb: 'get' + name: 'Static' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDC_Method;' + answerAttribute: '&IDA_Static;' + singular: yes + + - returnInstanceSetMethodBinding: '&IDMB_Method__get__Static;' + executesMethod: '&IDM_Method__get__Static;' + # parameterAssignments: + # - globalIdentifier: '{5e89d13d-70e7-45e1-886c-ca2244eb3edf}' + # assignsToParameter: '&IDC_Method;' + # assignsFromWorkData: '&IDI_WorkSet_MethodSingular;' + diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier.yaml new file mode 100644 index 0000000..58b30c9 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier.yaml @@ -0,0 +1,16 @@ +- entityDefinitions: + - IDM_Method__get__Static_Qualifier: '{16f8dddb-8eff-4885-9410-4ef610adabad}' + - IDMB_Method__get__Static_Qualifier: '{bf40accb-569d-4023-be26-2c2f76ef51de}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method__get__Static_Qualifier;' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Value;' + verb: 'get' + name: 'Static Qualifier' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: '*S' + static: yes + - returnAttributeMethodBinding: '&IDMB_Method__get__Static_Qualifier;' + executesMethod: '&IDM_Method__get__Static_Qualifier;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier_or_Empty_String.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier_or_Empty_String.yaml new file mode 100644 index 0000000..226c181 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Static_Qualifier_or_Empty_String.yaml @@ -0,0 +1,24 @@ +- entityDefinitions: + - IDM_Method__get__Static_Qualifier_or_Empty_String: '{76f7606c-cf93-4b1c-aa99-97eae1642697}' + - IDMB_Method__get__Static_Qualifier_or_Empty_String: '{94749d98-25ed-45c0-9f99-1671954b0db0}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - conditionalSelectAttributeMethod: '&IDM_Method__get__Static_Qualifier_or_Empty_String;' + forClassId: '&IDC_Method;' + verb: 'get' + name: 'Static Qualifier or Empty String' + accessModifierId: '&IDI_AccessModifier_Public;' + returnsAttributeId: '&IDA_Static;' + cases: + - globalIdentifier: '{07947dc8-4f1e-47ec-9fdd-d9ed2d83086f}' + trueConditions: + - instance: '&IDMB_Method__is__Static;' + useAnyCondition: no + returnsAttributeId: '&IDMB_Method__get__Static_Qualifier;' + - globalIdentifier: '{06b4225e-7b03-4337-88ad-16c5333b50e4}' + useAnyCondition: no + returnsAttributeId: '&IDMB_Common_Text__get__Empty_String;' + + - returnAttributeMethodBinding: '&IDMB_Method__get__Static_Qualifier_or_Empty_String;' + executesMethod: '&IDM_Method__get__Static_Qualifier_or_Empty_String;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Verb.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Verb.yaml new file mode 100644 index 0000000..e721ad2 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__get__Verb.yaml @@ -0,0 +1,11 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - getAttributeMethod: '&IDM_Method__get__Verb;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Verb;' + verb: 'get' + name: 'Verb' + accessModifierId: '&IDI_AccessModifier_RootA2;' + - returnAttributeMethodBinding: '&IDMB_Method__get__Verb;' + executesMethod: '&IDM_Method__get__Verb;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__BA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__BA.yaml new file mode 100644 index 0000000..ecc529d --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__BA.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__BA: '{fdba3bcf-606f-43b9-8b7d-63bf0ca965f0}' + - IDMB_Method__is__BA: '{64cc02fa-5aae-43df-8676-8031c18578d5}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__BA;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'BA' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_BuildAttributeMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__BA;' + executesMethod: '&IDM_Method__is__BA;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__EBE.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__EBE.yaml new file mode 100644 index 0000000..3060b69 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__EBE.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__EBE: '{3988a0d9-4680-4018-a05a-c8be0c566744}' + - IDMB_Method__is__EBE: '{155e2037-85fe-4b2f-88e2-699a49585a32}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__EBE;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'EBE' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_EvaluateBooleanExpressionMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__EBE;' + executesMethod: '&IDM_Method__is__EBE;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GA.yaml new file mode 100644 index 0000000..e1cd35a --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GA.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__GA: '{96625693-ae22-46a2-b763-e151e0bd4d0c}' + - IDMB_Method__is__GA: '{45203088-67a2-4dc2-828f-9ac65824973f}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__GA;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'GA' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_GetAttributeMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__GA;' + executesMethod: '&IDM_Method__is__GA;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRA.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRA.yaml new file mode 100644 index 0000000..6ef0399 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRA.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__GRA: '{123f3e29-d219-40d5-93b1-533c90cde560}' + - IDMB_Method__is__GRA: '{fbe4191c-cc44-4f82-bdb3-beb1acb3e42a}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__GRA;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'GRA' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_GetReferencedAttributeMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__GRA;' + executesMethod: '&IDM_Method__is__GRA;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRS.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRS.yaml new file mode 100644 index 0000000..7524e49 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__GRS.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__GRS: '{cefd53c7-4b01-4240-8402-c906a34448a2}' + - IDMB_Method__is__GRS: '{0f351547-6bc6-4c0a-89c9-2fb9f591b0c4}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__GRS;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'GRS' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_GetReferencedInstanceSetMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__GRS;' + executesMethod: '&IDM_Method__is__GRS;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__IOP.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__IOP.yaml new file mode 100644 index 0000000..3d05341 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__IOP.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__IOP: '{ccd16d55-1422-4fe3-97b2-1ae787ec4fc3}' + - IDMB_Method__is__IOP: '{bd135805-87c7-4d7f-863c-a7fd78dd6d74}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__IOP;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'IOP' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_InstanceOpMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__IOP;' + executesMethod: '&IDM_Method__is__IOP;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Public.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Public.yaml new file mode 100644 index 0000000..9832386 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Public.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__Public: '{766d2f0c-74b6-455a-b9a0-c52ae2fce3cc}' + - IDMB_Method__is__Public: '{ca81c0a3-83a4-482c-97d8-c8f1a85fe319}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__Public;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'Public' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Access_Modifier;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDI_AccessModifier_Public;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__Public;' + executesMethod: '&IDM_Method__is__Public;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__SAC.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__SAC.yaml new file mode 100644 index 0000000..1879761 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__SAC.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__SAC: '{a1729cb1-2057-45c8-93c9-79ecb7de8976}' + - IDMB_Method__is__SAC: '{a56d7251-1db6-4257-b1fb-b2736f5131b0}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__SAC;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'SAC' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_MethodIsOfTypeSpecified;' + source: '&IDMB_Method__get__Parent_Class;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDC_ConditionalSelectAttributeMethod;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__SAC;' + executesMethod: '&IDM_Method__is__SAC;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Static.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Static.yaml new file mode 100644 index 0000000..bc7a702 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Method/Method__is__Static.yaml @@ -0,0 +1,18 @@ +- entityDefinitions: + - IDM_Method__is__Static: '{fa319d53-076b-4f25-a0d6-86fc47d1eedc}' + - IDMB_Method__is__Static: '{929af1fe-9dca-4388-b457-85f4589f73eb}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - evaluateBooleanExpressionMethod: '&IDM_Method__is__Static;' + forClassId: '&IDC_Method;' + verb: 'is' + name: 'Static' + accessModifierId: '&IDI_AccessModifier_RootA2;' + returnsAttributeId: '&IDA_Static;' + source: '&IDMB_Method__get__Static;' + operator: '&IDI_RelationalOperator_ExactMatch;' + target: '&IDMB_Common_Boolean__get__True;' + + - returnAttributeMethodBinding: '&IDMB_Method__is__Static;' + executesMethod: '&IDM_Method__is__Static;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method.yaml new file mode 100644 index 0000000..5135b95 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method.yaml @@ -0,0 +1,16 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - getReferencedInstanceSetMethod: '&IDM_Method_Binding__get__Executes_Method;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_MethodBinding;' + # returnsWorkSetId: '&IDI_WorkSet_MethodSingular;' + returnsWorkSetId: '&IDC_Method;' + verb: 'get' + name: 'Executes Method' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDC_MethodBinding;' + answerInstanceSet: '&IDR_Method_Binding__executes__Method;' + singular: yes + + - returnInstanceSetMethodBinding: '&IDMB_Method_Binding__get__Executes_Method;' + executesMethod: '&IDM_Method_Binding__get__Executes_Method;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method_and_Method_Type.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method_and_Method_Type.yaml new file mode 100644 index 0000000..debecee --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/MethodBinding/Method_Binding__get__Executes_Method_and_Method_Type.yaml @@ -0,0 +1,92 @@ +- entityDefinitions: + - IDMB_Class__get__Class_of_Method: '{318cd9bf-bac5-448b-8490-653d0c95fec3}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - buildAttributeMethod: '&IDM_Method_Binding__get__RAMB;' + forClassId: '&IDC_MethodBinding;' + verb: 'get' + name: 'RAMB' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'ramb' + returnsAttributeId: '&IDA_Value;' + - returnAttributeMethodBinding: '&IDMB_Method_Binding__get__RAMB;' + executesMethod: '&IDM_Method_Binding__get__RAMB;' + + - buildAttributeMethod: '&IDM_Method_Binding__get__RSMB;' + forClassId: '&IDC_MethodBinding;' + verb: 'get' + name: 'RSMB' + accessModifierId: '&IDI_AccessModifier_Public;' + initialValue: 'rsmb' + returnsAttributeId: '&IDA_Value;' + - returnAttributeMethodBinding: '&IDMB_Method_Binding__get__RSMB;' + executesMethod: '&IDM_Method_Binding__get__RSMB;' + + - returnAttributeMethodBinding: '&IDMB_Class__get__Class_of_Method;' + executesMethod: '&IDM_Class__get__Name;' + parameterAssignments: + - globalIdentifier: '{8216bd8b-9277-474d-817b-dd1291886928}' + assignsFromWorkData: '&IDI_WorkSet_ClassForMethod;' + assignsToParameter: '&IDC_Class;' + + - getReferencedAttributeMethod: '&IDM_Method__get__Class_Name;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_Method;' + returnsAttributeId: '&IDA_Name;' + verb: 'get' + name: 'Class Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDMB_Method__get__Class;' + answerAttribute: '&IDMB_Class__get__Class_of_Method;' + + - returnAttributeMethodBinding: '&IDMB_Method__get__Class_Name;' + executesMethod: '&IDM_Method__get__Class_Name;' + returnsAttributeId: '&IDA_Name;' + + - getReferencedAttributeMethod: '&IDM_Method_Binding__get__Executes_Method_Name;' + # initialValue: 'Method Example@get Dummy Method Name (BA)*S*P(public)' + forClassId: '&IDC_MethodBinding;' + returnsAttributeId: '&IDA_Name;' + verb: 'get' + name: 'Executes Method Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDMB_Method_Binding__get__Executes_Method;' + answerAttribute: '&IDMB_Method__get__Fully_Qualified_Name;' + singular: yes + + - returnAttributeMethodBinding: '&IDMB_Method_Binding__get__Executes_Method_Name;' + executesMethod: '&IDM_Method_Binding__get__Executes_Method_Name;' + + - buildAttributeMethod: '&IDM_Method_Binding__get__Executes_Method_and_Method_Type;' + forClassId: '&IDC_MethodBinding;' + verb: 'get' + name: 'Executes Method and Method Type' + accessModifierId: '&IDI_AccessModifier_RootA2;' + initialValue: '' + returnsAttributeId: '&IDA_Value;' + buildsWithAttributes: + - instance: '&IDMB_Method_Binding__get__Executes_Method_Name;' + - instance: '&IDMB_Common_Text__get__Open_Bracket;' + - instance: '&IDA_MethodBindingType;' + - instance: '&IDMB_Common_Text__get__Close_Bracket;' + + - returnAttributeMethodBinding: '&IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RAMB;' + executesMethod: '&IDM_Method_Binding__get__Executes_Method_and_Method_Type;' + parameterAssignments: + - globalIdentifier: '{becba7d8-5da6-493b-8f84-dc5c1ff8fd96}' + assignsToParameter: '&IDC_MethodBinding;' + assignsFromWorkData: '&IDC_ReturnAttributeMethodBinding;' + - globalIdentifier: '{f9569b45-8273-40b5-a723-3adbe250e75d}' + assignsToParameter: '&IDA_MethodBindingType;' + assignsFromWorkData: '&IDMB_Method_Binding__get__RAMB;' + + - returnAttributeMethodBinding: '&IDMB_Method_Binding__get__Executes_Method_and_Method_Type_RSMB;' + executesMethod: '&IDM_Method_Binding__get__Executes_Method_and_Method_Type;' + parameterAssignments: + - globalIdentifier: '{00c4414d-ee98-4bd1-bddc-0a6cc6786918}' + assignsToParameter: '&IDC_MethodBinding;' + assignsFromWorkData: '&IDC_ReturnInstanceSetMethodBinding;' + - globalIdentifier: '{55b1874e-882c-4a6d-a5d0-1ac1a62d5f61}' + assignsToParameter: '&IDA_MethodBindingType;' + assignsFromWorkData: '&IDMB_Method_Binding__get__RSMB;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Translation@get Translation Value.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Translation@get Translation Value.yaml index fe83fa4..bf45f9f 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Translation@get Translation Value.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/Translation@get Translation Value.yaml @@ -5,8 +5,8 @@ # forClassId: '&IDC_Translation;' # verb: 'get' # name: 'Translation Value' -# moduleId: '&IDI_Module_MochaBaseSystem;' -# methodAccess: '&IDI_MethodAccess_Public;' +# module: '&IDI_Module_MochaBaseSystem;' +# accessModifierId: '&IDI_AccessModifier_Public;' # static: yes # final: no # parameters: diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__Preferred_Display_Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__Preferred_Display_Name.yaml index 762aeea..6f5bd2f 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__Preferred_Display_Name.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__Preferred_Display_Name.yaml @@ -15,19 +15,38 @@ validClasses: - instance: '&IDC_PersonName;' - - getReferencedInstanceSetMethod: '&IDMB_User__get__Preferred_Display_Name;' + - returnInstanceSetMethodBinding: '&IDMB_User__get__Person;' + excutesMethod: '&IDM_User__get__Person;' + + - getReferencedInstanceSetMethod: '&IDM_User__get__Person;' + forClassId: '&IDC_User;' + returnsWorkSetId: '&IDI_WorkSet_Person;' + verb: 'get' + name: 'Person' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDC_User;' + answerInstanceSet: '&IDR_System_Account__for__Person;' + + - returnInstanceSetMethodBinding: '&IDMB_User__get__Preferred_Display_Name;' + excutesMethod: '&IDM_User__get__Preferred_Display_Name;' + + # User@get Preferred Display Name + - getReferencedInstanceSetMethod: '&IDM_User__get__Preferred_Display_Name;' forClassId: '&IDC_User;' returnsWorkSetId: '&IDI_WorkSet_PreferredDisplayName;' verb: 'get' name: 'Preferred Display Name' - referenceInstanceSet: '&IDC_User;' - answerInstanceSet: '&IDR_System_Account__has_preferred_display__Person_Name;' + accessModifierId: '&IDI_AccessModifier_RootA2;' + referenceInstanceSet: '&IDMB_User__get__Person;' + answerInstanceSet: '&IDR_Person__has__Person_Name;' + singular: yes - getReferencedAttributeMethod: '&IDM_User__get__Preferred_Display_Name_-_Given_Name;' forClassId: '&IDC_User;' returnsAttributeId: '&IDA_Value;' verb: 'get' name: 'Preferred Display Name - Given Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' referenceInstanceSet: '&IDMB_User__get__Preferred_Display_Name;' answerAttribute: '&IDA_GivenName;' @@ -39,6 +58,7 @@ returnsAttributeId: '&IDA_Value;' verb: 'get' name: 'Preferred Display Name - Family Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' referenceInstanceSet: '&IDMB_User__get__Preferred_Display_Name;' answerAttribute: '&IDA_FamilyName;' @@ -49,6 +69,7 @@ forClassId: '&IDC_User;' verb: 'get' name: 'Preferred Display Name (Formatted)' + accessModifierId: '&IDI_AccessModifier_RootA2;' returnsAttributeId: '&IDA_Value;' initialValue: '' buildsWithAttributes: diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name.yaml index 0985376..cabd18c 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name.yaml @@ -7,4 +7,5 @@ forClassId: '&IDC_User;' verb: 'get' name: 'User Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' returnsAttributeId: '&IDA_UserName;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name_with_Full_Name.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name_with_Full_Name.yaml index 9e58017..6a6f129 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name_with_Full_Name.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_Name_with_Full_Name.yaml @@ -10,6 +10,7 @@ forClassId: '&IDC_User;' verb: 'get' name: 'User Name with Full Name' + accessModifierId: '&IDI_AccessModifier_RootA2;' returnsAttributeId: '&IDA_Value;' initialValue: '' buildsWithAttributes: diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_for_User_Name_parm.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_for_User_Name_parm.yaml index 3ba8d43..8107f08 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_for_User_Name_parm.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/004-Methods/User/System_User__get__User_for_User_Name_parm.yaml @@ -1,9 +1,8 @@ - library: '&IDL_MochaBaseSystem;' instances: - getInstanceSetBySystemRoutineMethod: '&IDM_User__get__User_for_User_Name_parm;' - index: 100 + accessModifierId: '&IDI_AccessModifier_RootA2;' systemInstanceSetRoutine: '&IDI_SystemInstanceSetRoutine_GetUserForUserNameParm;' - returnInstanceSetMethodBinding: '&IDMB_User__get__User_for_User_Name_parm;' - index: 100 executesMethod: '&IDM_User__get__User_for_User_Name_parm;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/000001-ViewElementContent.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/000001-ViewElementContent.yaml index 4983b6a..f4edb4b 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/000001-ViewElementContent.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/000001-ViewElementContent.yaml @@ -17,19 +17,50 @@ name: view element content summary module: '&IDI_Module_MochaBaseSystem;' elementContents: - - instance: '{bce8db21-66e1-4cfb-b398-9f010747c225}' - - instance: '{22eb6d52-6ad9-4b6f-8f59-d7c896cae8ac}' + - globalIdentifier: '{bce8db21-66e1-4cfb-b398-9f010747c225}' + defaultDataType: '&IDR_Element_Content__for__Element;' + label: 'For Element' + order: a + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' - - elementContent: '{bce8db21-66e1-4cfb-b398-9f010747c225}' - defaultDataType: '&IDR_Element_Content__for__Element;' - label: 'For Element' - order: a - displayOptions: - - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{22eb6d52-6ad9-4b6f-8f59-d7c896cae8ac}' + defaultDataType: '&IDA_Order;' + label: 'Order' + order: b - - elementContent: '{22eb6d52-6ad9-4b6f-8f59-d7c896cae8ac}' - defaultDataType: '&IDA_Order;' - label: 'Order' - order: b - displayOptions: - - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{e68a3197-3083-4a9e-a2db-17a2e2c28afd}' + defaultDataType: '&IDR_Element_Content__has__Instance;' + label: 'Default Data Type' + order: c + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + + - globalIdentifier: '{6a050800-719f-4f78-a15e-d716afe102b6}' + defaultDataType: '&IDR_Element_Content__has__Instance;' + label: 'Data Type Override' + order: d + + - globalIdentifier: '{d33ff08a-73ea-440e-99c3-bebb3e00317f}' + defaultDataType: '&IDR_Element_Content__built_from__BEM_Process;' + label: 'BEM Process' + order: e + + - globalIdentifier: '{34cb2c49-c017-4191-a917-d028a2a41123}' + defaultDataType: '&IDA_Label;' + label: 'Default Label' + order: f + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + + - globalIdentifier: '{f71b9a3e-fa4f-4328-a17e-3ae9ada3bedd}' + defaultDataType: '&IDA_Label;' + label: 'Override Label' + order: g + + - globalIdentifier: '{40b7c350-801b-46ed-a0ef-e133b1c61c27}' + defaultDataType: '&IDR_Element_Content__has__Element_Content_Display_Option;' + label: 'Uses Display Options' + order: h + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/113800-ElementTests.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/113800-ElementTests.yaml index 023833e..77eaf40 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/113800-ElementTests.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Elements/113800-ElementTests.yaml @@ -27,7 +27,7 @@ #! : `uses order Executable returning Attribute` => `Element Content`@get Order (GA)*P[ramb] ) - class: '{cce471d6-5fe7-4202-b678-9fcab20fd864}' - name: 'Element Tests Testing Class 1' + name: 'Element Tests Line Item' customTagName: 'ettc' processedByPRUMethod: '{2aa20384-4132-49d3-a661-ae7d9a2e2feb}' attributes: diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/AccessModifier.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/AccessModifier.yaml new file mode 100644 index 0000000..deb2b28 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/AccessModifier.yaml @@ -0,0 +1,55 @@ +- entityDefinitions: + - IDI_Task_ViewAccessModifier: '{c15d0fa4-8f20-42ae-97ff-9e0c22273b68}' + - IDI_Task_EditAccessModifier: '{4f73dd79-4625-4430-993a-b69561411254}' + - IDE_AccessModifier_View: '{fb7bf439-133b-4138-a026-6087b579490e}' + - IDE_AccessModifier_Edit: '{281d6126-700d-4915-b27e-b14e788efaf6}' + - IDE_AccessModifier_Definition: '{a4fae360-cffb-4fe4-8cca-509210e0aa98}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewAccessModifier;' + name: 'View Access Modifier' + initiatingElement: '&IDE_AccessModifier_View;' + taskCategory: '&IDI_TaskCategory_AccessModifier;' + + - sequenceTask: '&IDI_Task_EditAccessModifier;' + name: 'Edit Access Modifier' + initiatingElement: '&IDE_AccessModifier_Edit;' + taskCategory: '&IDI_TaskCategory_AccessModifier;' + + - element: '&IDE_AccessModifier_View;' + name: 'view access modifier' + elementContents: + - globalIdentifier: '{25adf298-18d7-43a5-8503-e148410fabe5}' + defaultDataType: '&IDC_AccessModifier;' + label: 'Access Modifier' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{9b16adc7-7680-4fa1-b801-6a31473995c4}' + defaultDataType: '&IDE_AccessModifier_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_AccessModifier_Definition;' + name: 'access modifier subedits' + elementContents: + - globalIdentifier: '{cfaa40b8-ad20-4f7e-9a1b-fa302a01c6a5}' + defaultDataType: '&IDA_Name;' + - globalIdentifier: '{ec3be1e9-86d8-40e8-8d9f-220312403082}' + defaultDataType: '&IDA_Order;' + + - element: '&IDE_AccessModifier_Edit;' + name: 'edit access modifier' + elementContents: + - globalIdentifier: '{d2fcd234-9dd2-4a12-b2ab-0954b01aa8e4}' + defaultDataType: '&IDC_AccessModifier;' + label: 'Access Modifier' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{e72d09ca-f84e-46fe-9808-7dd1f4064e26}' + defaultDataType: '&IDE_AccessModifier_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/BuildAttributeMethod/BuildAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/BuildAttributeMethod/BuildAttributeMethod.yaml new file mode 100644 index 0000000..643a8a8 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/BuildAttributeMethod/BuildAttributeMethod.yaml @@ -0,0 +1,68 @@ +- entityDefinitions: + - IDI_Task_ViewBuildAttributeMethod: '{da856880-098d-4d6d-81ee-131345d7bbaf}' + - IDI_Task_EditBuildAttributeMethod: '{151774b0-4da9-4569-99c9-33220369a317}' + - IDE_BuildAttributeMethod_View: '{20223aca-e792-4d45-b10f-ee2440d55fb8}' + - IDE_BuildAttributeMethod_Edit: '{9e6e7b88-412e-4b31-b943-72003bd48533}' + - IDE_BuildAttributeMethod_Implementation: '{4bbbad38-54b9-4c37-ba51-c9595e0f1542}' + - IDE_BuildAttributeMethod: '{263dacea-c414-4a88-9820-8931aa448494}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewBuildAttributeMethod;' + name: 'View BA - Build Attribute Method' + initiatingElement: '&IDE_BuildAttributeMethod_View;' + taskCategory: '&IDI_TaskCategory_BuildAttributeMethod;' + + - sequenceTask: '&IDI_Task_EditBuildAttributeMethod;' + name: 'Edit BA - Build Attribute Method' + initiatingElement: '&IDE_BuildAttributeMethod_Edit;' + taskCategory: '&IDI_TaskCategory_BuildAttributeMethod;' + + - element: '&IDE_BuildAttributeMethod_View;' + name: 'view ba' + elementContents: + - globalIdentifier: '{7bcf20c9-c7c8-479b-8701-7f1cec5596af}' + defaultDataType: '&IDE_BuildAttributeMethod;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_BuildAttributeMethod_Edit;' + name: 'edit ba' + elementContents: + - globalIdentifier: '{143a7852-018a-4bd4-ba76-4481b9711651}' + defaultDataType: '&IDE_BuildAttributeMethod;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_BuildAttributeMethod;' + name: 'ba' + elementContents: + - globalIdentifier: '{f7fc6c0a-8bd6-45d8-ac31-99316029b4c9}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{6e9bb2f6-8527-402e-a50f-31fbc6de961f}' + defaultDataType: '&IDE_BuildAttributeMethod_Implementation;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_BuildAttributeMethod_Implementation;' + name: 'ba subedit' + elementContents: + - globalIdentifier: '{e0d72995-b9a8-4355-8c01-894378bf2751}' + defaultDataType: '&IDA_Value;' + label: 'Initial Value' + order: a + - globalIdentifier: '{b10f2228-1ca4-4dd5-a57f-ae8978cc01ba}' + defaultDataType: '&IDR_Build_Attribute_Method__returns__Attribute;' + label: 'Returns Attribute' + order: b + - globalIdentifier: '{03ac7e75-b1be-4700-baa6-23caeb3ddbff}' + defaultDataType: '&IDR_Build_Attribute_Method__builds_with__Executable_returning_Attribute;' + label: 'Builds with Attributes from RAMBs' + order: c \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ConditionalSelectAttributeMethod/ConditionalSelectAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ConditionalSelectAttributeMethod/ConditionalSelectAttributeMethod.yaml new file mode 100644 index 0000000..5dbd6ad --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ConditionalSelectAttributeMethod/ConditionalSelectAttributeMethod.yaml @@ -0,0 +1,93 @@ +- entityDefinitions: + - IDI_Task_ViewConditionalSelectAttributeMethod: '{b908e2ac-ab0f-4c28-9a1c-8d60e8710d5b}' + - IDI_Task_EditConditionalSelectAttributeMethod: '{501290dd-989f-4451-91de-a3a2cbdf0a0e}' + - IDE_ConditionalSelectAttributeMethod_View: '{7e0d0f77-f38e-4ec1-bd4c-58624f294975}' + - IDE_ConditionalSelectAttributeMethod_Edit: '{14f4ed14-c0ef-4078-adec-2ddcc468efda}' + - IDE_ConditionalSelectAttributeMethod_Definition: '{dc560ab9-cdc0-46cf-8f17-bb92048fa2ae}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewConditionalSelectAttributeMethod;' + name: 'View SAC - Conditional Select Attribute Method' + initiatingElement: '&IDE_ConditionalSelectAttributeMethod_View;' + taskCategory: '&IDI_TaskCategory_ConditionalSelectAttributeMethod;' + + - sequenceTask: '&IDI_Task_EditConditionalSelectAttributeMethod;' + name: 'Edit SAC - Conditional Select Attribute Method' + initiatingElement: '&IDE_ConditionalSelectAttributeMethod_Edit;' + taskCategory: '&IDI_TaskCategory_ConditionalSelectAttributeMethod;' + + - element: '&IDE_ConditionalSelectAttributeMethod_View;' + name: 'view sac' + elementContents: + - globalIdentifier: '{1150f80c-1876-4d67-a257-fd3e52bdfa2c}' + defaultDataType: '&IDC_ConditionalSelectAttributeMethod;' + label: 'Method' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{548b5ff6-5c85-4922-abbb-586daf0f6536}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{5afebf01-a45d-4251-9625-10666242be4f}' + defaultDataType: '&IDE_ConditionalSelectAttributeMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_ConditionalSelectAttributeMethod_Definition;' + name: 'sac subedit' + elementContents: + - globalIdentifier: '{f56975eb-94bf-4c6b-b6f7-84f68c1ad464}' + defaultDataType: '{c4483b3a-cac8-4d87-8fac-8d9cd4e115ed}' + label: 'Cases' + order: a + + - element: '{c4483b3a-cac8-4d87-8fac-8d9cd4e115ed}' + name: 'sac cases' + elementContents: + - globalIdentifier: '{0a4086a9-0517-4596-a2d0-aa7fb53b2e09}' + defaultDataType: '&IDR_Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case;' + label: 'Case Rel' + order: a + - globalIdentifier: '{0c96d7cd-bcb1-43c0-976d-22060e11e552}' + defaultDataType: '&IDC_ConditionalSelectAttributeCase;' + label: 'Case' + order: b + - globalIdentifier: '{3c90e614-feb2-4514-afab-17af3979720f}' + defaultDataType: '&IDR_Condition_Group__has_true_condition__Executable_returning_Work_Data;' + label: 'True Conditions' + order: c + - globalIdentifier: '{b3ce10db-b250-45cc-a030-455ed18bcafd}' + defaultDataType: '&IDR_Condition_Group__has_false_condition__Executable_returning_Work_Data;' + label: 'False Conditions' + order: d + - globalIdentifier: '{cd44f1ef-4063-4918-8b09-fcddad25ff0b}' + defaultDataType: '&IDA_UseAnyCondition;' + label: 'Use Any Condition' + order: e + - globalIdentifier: '{7e67d16a-796c-4584-977e-7db7cf277673}' + defaultDataType: '&IDR_Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute;' + label: 'Executable returning Attribute' + order: f + - globalIdentifier: '{b33feb99-a641-420f-b1c0-29b353355176}' + defaultDataType: '&IDA_Comment;' + label: 'Comment' + order: g + + - element: '&IDE_ConditionalSelectAttributeMethod_Edit;' + name: 'edit sac' + elementContents: + - globalIdentifier: '{ea605c18-4037-4a3f-922a-f1329f75920c}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{14be978f-dd11-4bf5-81cc-80b454e0a174}' + defaultDataType: '&IDE_ConditionalSelectAttributeMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/EvaluateBooleanExpressionMethod/EvaluateBooleanExpressionMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/EvaluateBooleanExpressionMethod/EvaluateBooleanExpressionMethod.yaml new file mode 100644 index 0000000..5c85c31 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/EvaluateBooleanExpressionMethod/EvaluateBooleanExpressionMethod.yaml @@ -0,0 +1,69 @@ +- entityDefinitions: + - IDI_Task_ViewEvaluateBooleanExpressionMethod: '{f4cbbdeb-2378-4e96-8a45-f33e88de6deb}' + - IDI_Task_EditEvaluateBooleanExpressionMethod: '{ec1f1852-c7c6-4bf0-b0d4-530ef6130dac}' + - IDE_EvaluateBooleanExpressionMethod_View: '{0b867570-ebf7-4b75-bf20-44dd7f379337}' + - IDE_EvaluateBooleanExpressionMethod_Edit: '{46f668b8-9133-4ea4-9bb5-5811c3788a84}' + - IDE_EvaluateBooleanExpressionMethod_Definition: '{c81dab9f-5512-4a1a-8503-13a1a1ad727a}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewEvaluateBooleanExpressionMethod;' + name: 'View EBE - Evaluate Boolean Expression Method' + initiatingElement: '&IDE_EvaluateBooleanExpressionMethod_View;' + taskCategory: '&IDI_TaskCategory_EvaluateBooleanExpressionMethod;' + + - sequenceTask: '&IDI_Task_EditEvaluateBooleanExpressionMethod;' + name: 'Edit EBE - Evaluate Boolean Expression Method' + initiatingElement: '&IDE_EvaluateBooleanExpressionMethod_Edit;' + taskCategory: '&IDI_TaskCategory_EvaluateBooleanExpressionMethod;' + + - element: '&IDE_EvaluateBooleanExpressionMethod_View;' + name: 'view ebe' + elementContents: + - globalIdentifier: '{ba573dd8-77ec-45d2-8221-f114c21e6707}' + defaultDataType: '&IDC_EvaluateBooleanExpressionMethod;' + label: 'Method' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - globalIdentifier: '{9fe67154-23c9-41c6-b75a-043813452de1}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{035bdffe-fee5-4956-aef4-decae8bc313a}' + defaultDataType: '&IDE_EvaluateBooleanExpressionMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_EvaluateBooleanExpressionMethod_Definition;' + name: 'ebe subedit' + elementContents: + - globalIdentifier: '{5c56aabd-f9bb-4682-8fc8-d6d4cab2ed64}' + defaultDataType: '&IDR_Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data;' + label: 'Source Work Data' + order: a + - globalIdentifier: '{56b6a0aa-7055-4064-803a-76a6accf0010}' + defaultDataType: '&IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator;' + label: 'Operator' + order: b + - globalIdentifier: '{d5b7ff04-e4a7-46e5-ae9a-86cb4f68c365}' + defaultDataType: '&IDR_Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data;' + label: 'Target Work Data' + order: c + + - element: '&IDE_EvaluateBooleanExpressionMethod_Edit;' + name: 'edit ebe' + elementContents: + - globalIdentifier: '{cda8dbb5-5c2c-4d26-96d7-33e6e535ccca}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{0c85bcbb-e660-44a9-a2cf-28622a70cfc6}' + defaultDataType: '&IDE_EvaluateBooleanExpressionMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetAttributeMethod/GetAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetAttributeMethod/GetAttributeMethod.yaml new file mode 100644 index 0000000..fa85357 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetAttributeMethod/GetAttributeMethod.yaml @@ -0,0 +1,56 @@ +- entityDefinitions: + - IDI_Task_ViewGetAttributeMethod: '{53368a7d-ee21-4024-a381-f72e784e5a51}' + - IDI_Task_EditGetAttributeMethod: '{0ede3398-2b50-4cfc-9a61-e4f69ef6ef8f}' + - IDE_GetAttributeMethod_View: '{ddd8f4ac-3283-443f-98e2-93aaf05b64b8}' + - IDE_GetAttributeMethod_Edit: '{0e2725e5-3420-4a54-8caa-1c3d2910f09d}' + - IDE_GetAttributeMethod_Definition: '{3ef4c531-72a9-44fd-84c7-f328ddada363}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewGetAttributeMethod;' + name: 'View GA - Get Attribute Method' + initiatingElement: '&IDE_GetAttributeMethod_View;' + taskCategory: '&IDI_TaskCategory_GetAttributeMethod;' + + - sequenceTask: '&IDI_Task_EditGetAttributeMethod;' + name: 'Edit GA - Get Attribute Method' + initiatingElement: '&IDE_GetAttributeMethod_Edit;' + taskCategory: '&IDI_TaskCategory_GetAttributeMethod;' + + - element: '&IDE_GetAttributeMethod_View;' + name: 'view ga' + elementContents: + - globalIdentifier: '{e6137219-9cbb-4009-a2ef-3a1fe231d543}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{1866ee2e-a237-4935-875a-410016fa5ea6}' + defaultDataType: '&IDE_GetAttributeMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_GetAttributeMethod_Definition;' + name: 'ga subedit' + elementContents: + - globalIdentifier: '{eb8bb6c2-657a-4747-9910-2578c6a56600}' + defaultDataType: '&IDR_Get_Attribute_Method__returns__Attribute;' + label: 'Returns Attribute' + order: a + + - element: '&IDE_GetAttributeMethod_Edit;' + name: 'edit ramb' + elementContents: + - globalIdentifier: '{f05b80c5-0c7e-404f-a8f9-4957a679e43b}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{2ca46d4b-e400-4564-924d-3068829d072b}' + defaultDataType: '&IDE_GetAttributeMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedAttributeMethod/GetReferencedAttributeMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedAttributeMethod/GetReferencedAttributeMethod.yaml new file mode 100644 index 0000000..789395b --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedAttributeMethod/GetReferencedAttributeMethod.yaml @@ -0,0 +1,57 @@ +- entityDefinitions: + - IDI_Task_ViewGetReferencedAttributeMethod: '{df3e955a-4821-49b5-be59-d8ae7e92b659}' + - IDI_Task_EditGetReferencedAttributeMethod: '{60c16e4d-4bb9-48ef-8004-60dc22bc8787}' + - IDE_GetReferencedAttributeMethod_View: '{f84571ab-cc5a-4ba4-9339-7e2cbcbae7a4}' + - IDE_GetReferencedAttributeMethod_Edit: '{010df368-5847-473e-be72-f68faf2b9adb}' + - IDE_GetReferencedAttributeMethod_Definition: '{b1921c17-6c3e-4290-ba52-70e613833094}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewGetReferencedAttributeMethod;' + name: 'View GRA - Get Referenced Attribute Method' + initiatingElement: '&IDE_GetReferencedAttributeMethod_View;' + taskCategory: '&IDI_TaskCategory_GetReferencedAttributeMethod;' + + - sequenceTask: '&IDI_Task_EditGetReferencedAttributeMethod;' + name: 'Edit GRA - Get Referenced Attribute Method' + initiatingElement: '&IDE_GetReferencedAttributeMethod_Edit;' + taskCategory: '&IDI_TaskCategory_GetReferencedAttributeMethod;' + + - element: '&IDE_GetReferencedAttributeMethod_View;' + name: 'view gra' + elementContents: + - globalIdentifier: '{3ed02658-03f7-41be-a8a6-dc9bf4cb0e29}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{a9ab8835-d1cd-433f-889a-6f7db40168ee}' + defaultDataType: '&IDE_GetReferencedAttributeMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_GetReferencedAttributeMethod_Definition;' + name: 'gra subedit' + elementContents: + - globalIdentifier: '{94bda951-b133-47bf-9598-f8b4b433b21b}' + defaultDataType: '&IDR_Get_Referenced_Attribute_Method__returns__Attribute;' + label: 'Returns Attribute' + order: a + - globalIdentifier: '{8c3c4553-1def-4237-8aae-05c1836f61c2}' + defaultDataType: '&IDR_Get_Referenced_Attribute_Method__uses_reference__Executable_returning_Instance_Set;' + label: 'Loop on Instance Set' + order: b + - globalIdentifier: '{4050867f-92c2-4c4b-8142-82092b143ddc}' + defaultDataType: '&IDR_Get_Referenced_Attribute_Method__uses_answer__Executable_returning_Attribute;' + label: 'Get Attribute' + order: c + + + - element: '&IDE_GetReferencedAttributeMethod_Edit;' + name: 'edit ramb' + elementContents: + - globalIdentifier: '{014a2850-5846-4819-b882-b1e2b5041491}' + defaultDataType: '&IDE_GetReferencedAttributeMethod_Definition;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedInstanceSetMethod/GetReferencedInstanceSetMethod.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedInstanceSetMethod/GetReferencedInstanceSetMethod.yaml new file mode 100644 index 0000000..e14940a --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/GetReferencedInstanceSetMethod/GetReferencedInstanceSetMethod.yaml @@ -0,0 +1,57 @@ +- entityDefinitions: + - IDI_Task_ViewGetReferencedInstanceSetMethod: '{e99aec78-1b79-4957-8834-19ac8bb75fe0}' + - IDI_Task_EditGetReferencedInstanceSetMethod: '{0831cf17-84ec-454f-9619-d8b843cb3aef}' + - IDE_GetReferencedInstanceSetMethod_View: '{3d4fb306-be7a-4877-a3b9-194f584987e5}' + - IDE_GetReferencedInstanceSetMethod_Edit: '{d348e3c6-12ac-4520-969a-9ccca256bd84}' + - IDE_GetReferencedInstanceSetMethod_Definition: '{a965415f-d21c-4f93-ba92-fbde7aacfc3b}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewGetReferencedInstanceSetMethod;' + name: 'View GRS - Get Referenced Instance Set Method' + initiatingElement: '&IDE_GetReferencedInstanceSetMethod_View;' + taskCategory: '&IDI_TaskCategory_GetReferencedInstanceSetMethod;' + + - sequenceTask: '&IDI_Task_EditGetReferencedInstanceSetMethod;' + name: 'Edit GRS - Get Referenced Instance Set Method' + initiatingElement: '&IDE_GetReferencedInstanceSetMethod_Edit;' + taskCategory: '&IDI_TaskCategory_GetReferencedInstanceSetMethod;' + + - element: '&IDE_GetReferencedInstanceSetMethod_View;' + name: 'view grs' + elementContents: + - globalIdentifier: '{92ba73c2-5c7e-4c91-9d2b-c1af0f3a6413}' + defaultDataType: '&IDE_Method_Common_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + - globalIdentifier: '{85b8a91d-5af6-446b-8e59-5319b3723945}' + defaultDataType: '&IDE_GetReferencedInstanceSetMethod_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_GetReferencedInstanceSetMethod_Definition;' + name: 'grs subedit' + elementContents: + - globalIdentifier: '{d882d0c4-2880-4456-af1a-c1065e21f6f6}' + defaultDataType: '&IDR_Get_Referenced_Instance_Set_Method__returns__Work_Set;' + label: 'Returns Work Set' + order: a + - globalIdentifier: '{b77cf477-e3a2-448c-983f-ee8a63729acb}' + defaultDataType: '&IDR_Get_Referenced_Instance_Set_Method__uses_reference__Executable_returning_Instance_Set;' + label: 'Loop on Instance Set' + order: b + - globalIdentifier: '{0a85b2fa-427a-4b6f-8fde-778a3c2dd28c}' + defaultDataType: '&IDR_Get_Referenced_Instance_Set_Method__uses_answer__Executable_returning_Instance_Set;' + label: 'Get Instance Set' + order: c + + + - element: '&IDE_GetReferencedInstanceSetMethod_Edit;' + name: 'edit ramb' + elementContents: + - globalIdentifier: '{014a2850-5846-4819-b882-b1e2b5041491}' + defaultDataType: '&IDE_GetReferencedInstanceSetMethod_Definition;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodCommon.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodCommon.yaml new file mode 100644 index 0000000..a17985b --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodCommon.yaml @@ -0,0 +1,43 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - element: '&IDE_Method_Common_Definition;' + label: 'Definition' + elementContents: + - globalIdentifier: '{9e51cd55-6dc1-4b07-a08f-dc1c8ea4d97f}' + defaultDataType: '&IDC_Method;' + label: 'Method' + order: a + displayOptions: + - instance: '&IDI_DisplayOption_DoNotShow;' + - globalIdentifier: '{9e51cd55-6dc1-4b07-a08f-dc1c8ea4d97f}' + defaultDataType: '&IDMB_Instance__get__Global_Identifier;' + label: 'Global Identifier' + order: b + - globalIdentifier: '{17a1b2c2-23c7-4f95-841d-23890e7bc3c8}' + defaultDataType: '&IDR_Method__for__Class;' + label: 'For Class' + order: c + - globalIdentifier: '{1c9ef524-54e6-4cf3-ae56-1ea611c2b9e8}' + defaultDataType: '&IDA_Verb;' + label: 'Verb' + order: d + - globalIdentifier: '{95517a4c-e9d6-4c6c-b1f6-4f6e1d5df4d7}' + defaultDataType: '&IDA_Name;' + label: 'Name' + order: e + - globalIdentifier: '{8462ca80-b3c0-4a29-b035-7912bd92c169}' + defaultDataType: '&IDR_Instance__for__Module;' + label: 'Module' + order: f + - globalIdentifier: '{c19ec6e1-6f16-4bad-9708-f37044ec24be}' + defaultDataType: '&IDR_Metadata_With_Access_Modifier__has__Access_Modifier;' + label: 'Access' + order: g + - globalIdentifier: '{cd12afb7-84bb-4747-9e7f-96a9023f8bd9}' + defaultDataType: '&IDA_Static;' + label: 'Static' + order: h + - globalIdentifier: '{bccc0986-2ea7-4eab-9921-63a47eba051e}' + defaultDataType: '&IDA_Final;' + label: 'Final' + order: i \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodUsages.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodUsages.yaml new file mode 100644 index 0000000..96d3767 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/MethodCommon/MethodUsages.yaml @@ -0,0 +1,52 @@ +# +# MethodUsages.yaml - ZQ definition for `Method Usages` element +# +# Author: +# Michael Becker +# +# Copyright (c) 2024 Mike Becker's Software +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# +# For Method Usage, we should start by getting `Method@get Method Bindings` +# and from there determine whether the method bindings are in use for all +# of their known relationships. +# +# 1. Start with finding the relationship `Method.executed by Method Binding`. +# 2. For each method binding in the list, +# ... populate an Instance Set with references such as: +# a. Executable returning Work Data.used by Parameter Assignment +# b. Executable returning Instance Set. reference used by GRS - Get Referenced Instance Set Method +# c. Executable returning Attribute.answer used by GRA - Get Referenced Attribute Method +# ... and so on, and so forth. +# +# Obviously, this is TEDIOUS and a hassle in every way. But it might not need to be. +# +# 1. Create a method `Method @ get Method Usage Relationships (GSI)*S`. +# 2. Manually specify each and every relationship to be returned by this GSI. +# 3. Create a method `Method Binding @ find method usages across all known Method Usage Relationships (GRS)` +# 4. This GRS should loop on Method Usage Relationships, for each relationship check EBE if +# our Method Binding is `in the selection list`, and if so, yield return it. + +# here's a free GUID : {743cff51-6f81-4fb9-b5ca-9d9995358ea5} ; you're welcome + +--- +- entityDefinitions: + - IDE_MethodUsages: '{60801aa9-e55c-47aa-a713-4a2c3fa93ff3}' +- library: '&IDL_MochaBaseSystem;' + instances: + - element: '&IDE_MethodUsages;' + # module: '&IDI_Module_MochaBaseSystem_Method;' + label: 'Method Usage' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnAttributeMethodBinding.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnAttributeMethodBinding.yaml new file mode 100644 index 0000000..4d7b4b7 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnAttributeMethodBinding.yaml @@ -0,0 +1,43 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - workSet: '&IDI_WorkSet_ClassForEditClassTask;' + name: 'Class for Edit Class Task' + validClasses: + - instance: '&IDC_Class;' + + - sequenceTask: '&IDI_Task_ViewReturnAttributeMethodBinding;' + name: 'View Return Attribute Method Binding' + initiatingElement: '&IDE_ReturnAttributeMethodBinding_View;' + taskCategory: '&IDI_TaskCategory_ReturnAttributeMethodBinding;' + + - sequenceTask: '&IDI_Task_EditReturnAttributeMethodBinding;' + name: 'Edit Return Attribute Method Binding' + initiatingElement: '&IDE_ReturnAttributeMethodBinding_Edit;' + taskCategory: '&IDI_TaskCategory_ReturnAttributeMethodBinding;' + + - element: '&IDE_ReturnAttributeMethodBinding_View;' + name: 'view ramb' + elementContents: + - globalIdentifier: '{a1861738-248b-484e-9f89-b62bc48b105f}' + defaultDataType: '&IDE_ReturnAttributeMethodBinding_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_ReturnAttributeMethodBinding_Definition;' + name: 'ramb subedit' + elementContents: + - globalIdentifier: '{e7823915-0023-4379-952a-7c0287345a45}' + defaultDataType: '&IDC_ReturnAttributeMethodBinding;' + label: 'Method Binding' + - globalIdentifier: '{8bc0131c-f90d-497a-942d-11c2633a3ae4}' + defaultDataType: '&IDR_Method_Binding__executes__Method;' + label: 'Executes Method' + + + - element: '&IDE_ReturnAttributeMethodBinding_Edit;' + name: 'edit ramb' + elementContents: + - globalIdentifier: '{014a2850-5846-4819-b882-b1e2b5041491}' + defaultDataType: '&IDE_ReturnAttributeMethodBinding_Definition;' diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnInstanceSetMethodBinding/ReturnInstanceSetMethodBinding.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnInstanceSetMethodBinding/ReturnInstanceSetMethodBinding.yaml new file mode 100644 index 0000000..e705a01 --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ReturnInstanceSetMethodBinding/ReturnInstanceSetMethodBinding.yaml @@ -0,0 +1,43 @@ +- entityDefinitions: + - IDI_Task_ViewReturnInstanceSetMethodBinding: '{1c3c859e-d496-4db2-b744-42467bdc9813}' + - IDI_Task_EditReturnInstanceSetMethodBinding: '{eecd6199-7a3f-4de3-9d0f-428c945b2f0e}' + - IDE_ReturnInstanceSetMethodBinding_View: '{5f897c2a-5649-43b3-958b-e4a5d46ffab3}' + - IDE_ReturnInstanceSetMethodBinding_Edit: '{6e7b9991-5521-4ff1-af76-f3109c6f8b48}' + - IDE_ReturnInstanceSetMethodBinding_Definition: '{c7191f4b-e45e-4430-a568-8bb29600c860}' + +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewReturnInstanceSetMethodBinding;' + name: 'View Return Instance Set Method Binding' + initiatingElement: '&IDE_ReturnInstanceSetMethodBinding_View;' + taskCategory: '&IDI_TaskCategory_ReturnInstanceSetMethodBinding;' + + - sequenceTask: '&IDI_Task_EditReturnInstanceSetMethodBinding;' + name: 'Edit Return Instance Set Method Binding' + initiatingElement: '&IDE_ReturnInstanceSetMethodBinding_Edit;' + taskCategory: '&IDI_TaskCategory_ReturnInstanceSetMethodBinding;' + + - element: '&IDE_ReturnInstanceSetMethodBinding_View;' + name: 'view rsmb' + elementContents: + - globalIdentifier: '{742aa7e2-79c3-4167-9de4-db194a32bd96}' + defaultDataType: '&IDE_ReturnInstanceSetMethodBinding_Definition;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + - instance: '&IDI_DisplayOption_Singular;' + - instance: '&IDI_DisplayOption_ShowSubelementsVertically;' + + - element: '&IDE_GetReferencedAttributeMethod_Edit;' + name: 'edit rsmb' + elementContents: + - globalIdentifier: '{370db58f-09fc-46b8-8485-849ef2fe0734}' + defaultDataType: '&IDE_ReturnInstanceSetMethodBinding_Definition;' + + - element: '&IDE_ReturnInstanceSetMethodBinding_Definition;' + name: 'rsmb subedit' + elementContents: + - globalIdentifier: '{d3b13c81-c7a2-4986-95dc-115e01633ca2}' + defaultDataType: '&IDR_Method_Binding__executes__Method;' + label: 'Executes Method' + order: a + #{aadded9d-c7bd-45ae-acca-3c090e383f2c} {5db1bb7d-3e03-4ef4-90d0-62c7741a3554} \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewClass.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewClass.yaml index 4071f74..89f05ab 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewClass.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewClass.yaml @@ -1,28 +1,63 @@ - library: '&IDL_MochaBaseSystem;' instances: - - hardcodedTask: '&IDI_Task_ViewClass;' + - sequenceTask: '&IDI_Task_ViewClass;' name: 'View Class' - className: 'Mocha\\UI\\Tasks\\ViewClass' + initiatingElement: '&IDE_ViewClass;' taskCategory: '&IDI_TaskCategory_Class;' + + - sequenceTask: '&IDI_Task_EditClass;' + name: 'Edit Class' + initiatingElement: '&IDE_EditClass;' + taskCategory: '&IDI_TaskCategory_Class;' + + # name: 'View Class' + # taskCategory: '&IDI_TaskCategory_Class;' + # module: '&IDI_Module_MochaBaseSystem;' + # schedulable: no + # longRunning: no + # suppressRIHints: no + # stepName: View Class + # showSpreadsheetButtonOnSelection: no + # relatedAction: + # object: '&IDC_Class;' + # action: 'View' + # menuPath: 'Class > View' + # initiatingElement: '&IDE_ViewClass;' + # taskDirectiveRAMB: '&IDMB_Element__get_Help_Text_for_View_Element;' # Element@get Help Text for View Element(GRA)*P*S(public)[ramb] + # enableSaveParameters: no + # enableReportGroups: no + # handledByControlTransaction: '&IDM_Element__View_Start;' # Element@ View Start(CT)*S + # respondsWithElement: '&IDE_ViewElementEdit;' + # updating: no + # targetAudience: 'ESS' + # businessProcessType: 'VIEWELEMENT' -# - task: '&IDI_Task_ViewClass;' -# name: View Class -# module: '&IDI_Module_MochaBaseSystem;' -# schedulable: no -# longRunning: no -# suppressRIHints: no -# stepName: View Class -# showSpreadsheetButtonOnSelection: no -# relatedAction: -# object: '&IDC_Class;' -# action: 'View' -# menuPath: 'Class > View' -# initiatingElement: '&IDI_Element_ViewClass;' -# taskDirectiveRAMB: '&IDMB_Element__get_Help_Text_for_View_Element;' # Element@get Help Text for View Element(GRA)*P*S(public)[ramb] -# enableSaveParameters: no -# enableReportGroups: no -# handledByControlTransaction: '&IDM_Element__View_Start;' # Element@ View Start(CT)*S -# respondsWithElement: '&IDE_ViewElementEdit;' -# updating: no -# targetAudience: 'ESS' -# businessProcessType: 'VIEWELEMENT' \ No newline at end of file + - element: '&IDE_ViewClass;' + name: 'view class' + elementContents: + - globalIdentifier: '{24fbaf94-bcca-4513-b93d-6a1866a1641c}' + defaultDataType: '&IDE_Class_Structure;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + + - element: '&IDE_EditClass;' + name: 'edit class' + elementContents: + - globalIdentifier: '{e9a6b12d-49a9-4224-bc1c-18cca8617fc2}' + defaultDataType: '&IDE_Class_Structure;' + + - element: '&IDE_Class_Structure;' + name: 'class structure subedits' + label: 'Structure' + elementContents: + - globalIdentifier: '{4628e3c2-6287-426e-9c23-709aa111aefc}' + defaultDataType: '&IDC_Class;' + displayOptions: + - instance: '&IDI_DisplayOption_DoNotShow;' + + - globalIdentifier: '{31a93137-7274-4cae-8839-504e10cfbf10}' + defaultDataType: '&IDA_Name;' + + - globalIdentifier: '{e03e9f51-2c56-44a4-948f-feaefeda56c5}' + defaultDataType: '&IDR_Instance__for__Module;' + label: Module \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewWorkData.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewWorkData.yaml new file mode 100644 index 0000000..58cad5f --- /dev/null +++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/ViewWorkData.yaml @@ -0,0 +1,70 @@ +- library: '&IDL_MochaBaseSystem;' + instances: + - sequenceTask: '&IDI_Task_ViewWorkData;' + name: 'View Work Data' + initiatingElement: '&IDE_WorkData_View;' + taskCategory: '&IDI_TaskCategory_WorkData;' + + - sequenceTask: '&IDI_Task_EditWorkData;' + name: 'Edit Work Data' + initiatingElement: '&IDE_WorkData_Edit;' + taskCategory: '&IDI_TaskCategory_WorkData;' + + - sequenceTask: '&IDI_Task_ViewWorkSet;' + name: 'View Work Set' + initiatingElement: '&IDE_WorkData_View;' + taskCategory: '&IDI_TaskCategory_WorkSet;' + + - sequenceTask: '&IDI_Task_EditWorkSet;' + name: 'Edit Work Set' + initiatingElement: '&IDE_WorkData_Edit;' + taskCategory: '&IDI_TaskCategory_WorkSet;' + + # name: 'View Class' + # taskCategory: '&IDI_TaskCategory_Class;' + # module: '&IDI_Module_MochaBaseSystem;' + # schedulable: no + # longRunning: no + # suppressRIHints: no + # stepName: View Class + # showSpreadsheetButtonOnSelection: no + # relatedAction: + # object: '&IDC_Class;' + # action: 'View' + # menuPath: 'Class > View' + # initiatingElement: '&IDE_ViewClass;' + # taskDirectiveRAMB: '&IDMB_Element__get_Help_Text_for_View_Element;' # Element@get Help Text for View Element(GRA)*P*S(public)[ramb] + # enableSaveParameters: no + # enableReportGroups: no + # handledByControlTransaction: '&IDM_Element__View_Start;' # Element@ View Start(CT)*S + # respondsWithElement: '&IDE_ViewElementEdit;' + # updating: no + # targetAudience: 'ESS' + # businessProcessType: 'VIEWELEMENT' + + - element: '&IDE_WorkData_View;' + name: 'view work data' + elementContents: + - globalIdentifier: '{24fbaf94-bcca-4513-b93d-6a1866a1641c}' + defaultDataType: '&IDE_WorkData_Subedits;' + displayOptions: + - instance: '&IDI_DisplayOption_NotEnterable;' + + - element: '&IDE_WorkData_Edit;' + name: 'edit work data' + elementContents: + - globalIdentifier: '{24fbaf94-bcca-4513-b93d-6a1866a1641c}' + defaultDataType: '&IDE_WorkData_Subedits;' + + - element: '&IDE_WorkData_Subedits;' + name: 'work data subedits' + elementContents: + - globalIdentifier: '{1ae369fe-7f0a-472f-b04c-e429207b5436}' + defaultDataType: '&IDC_WorkData;' + + - globalIdentifier: '{8eef2b0e-9d47-4184-9b05-d778239a7b7c}' + defaultDataType: '&IDA_Name;' + + # - globalIdentifier: '{f6fbaab7-f947-49ee-95c3-d7b652e346f4}' + # defaultDataType: '&IDR_Work_Data__in__Namespace;' + # label: Namespace \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/009-Users/zq-developer.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/009-Users/zq-developer.yaml index 242e381..c56b228 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/009-Users/zq-developer.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/009-Users/zq-developer.yaml @@ -58,12 +58,25 @@ givenName: 'Administrator' familyName: '' + + - person: '{9530a1ea-2423-43ee-a23d-bb82728b79c9}' + names: + - globalIdentifier: '{863cb364-6c59-4cdf-9450-0946f34fc731}' + givenName: 'Brooke' + familyName: 'Trevino' + images: + - instance: '{1079b0d3-0a1d-47d3-a98c-3f062dc88f90}' + + + - file: '{1079b0d3-0a1d-47d3-a98c-3f062dc88f90}' + name: 'Brooke Trevino' + contentType: 'image/jpeg' + contentEncoding: 'base64' + + - user: '{9235065b-761f-43ab-9696-bc3f1c93cd74}' username: btrevino # password: W0rkd@yruleZ! passwordHash: e52c91700614cea617b9b557f2b04e397854c7670f1564c81dc453f891e9fbbcb6a7ea624749a248c19e797093dfcd2148ebe1475ca53523ac22409494c90eb0 passwordSalt: d8f400c74def4e2781c25a7c0c4f92e0 - preferredDisplayName: - - globalIdentifier: '{863cb364-6c59-4cdf-9450-0946f34fc731}' - givenName: 'Brooke' - familyName: 'Trevino' + forPerson: '{9530a1ea-2423-43ee-a23d-bb82728b79c9}' \ No newline at end of file diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Tenants/default/tenant.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Tenants/default/tenant.yaml index 8fe7dab..8c304d3 100644 --- a/common/libraries/yaml/net.alcetech.Mocha.System/999-Tenants/default/tenant.yaml +++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Tenants/default/tenant.yaml @@ -1,3 +1,3 @@ -- tenant: '&IDT_Defaultt;' +- tenant: '&IDT_Default;' libraryReferences: - libraryReference: '&IDL_MochaBaseSystem;' diff --git a/dotnet/Libraries/Mocha.Core/KnownRelationshipGuids.cs b/dotnet/Libraries/Mocha.Core/KnownRelationshipGuids.cs index 8e2f4d0..c9aff40 100755 --- a/dotnet/Libraries/Mocha.Core/KnownRelationshipGuids.cs +++ b/dotnet/Libraries/Mocha.Core/KnownRelationshipGuids.cs @@ -124,8 +124,8 @@ namespace Mocha.Core public static Guid Get_Specific_Instances_Method__has__Instance { get; } = new Guid("{dea1aa0b-2bef-4bac-b4f9-0ce8cf7006fc}"); - public static Guid Evaluate_Boolean_Expression_Method__has_source_attribute__Method { get; } = new Guid("{45d76d56-01ed-4641-9f68-cfe0c7d0d265}"); - public static Guid Evaluate_Boolean_Expression_Method__equal_to_attribute__Method { get; } = new Guid("{0646df91-7e3e-4d59-be71-b978a22ced8e}"); + public static Guid Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data { get; } = new Guid("{45d76d56-01ed-4641-9f68-cfe0c7d0d265}"); + public static Guid Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data { get; } = new Guid("{0646df91-7e3e-4d59-be71-b978a22ced8e}"); public static Guid Prompt_Value__has__Prompt { get; } = new Guid("{7CD62362-DDCE-4BFC-87B9-B5499B0BC141}"); diff --git a/php/mocha/include/BeforeLaunchEvent.inc.php b/php/mocha/include/BeforeLaunchEvent.inc.php index 5ded99a..a570a8f 100644 --- a/php/mocha/include/BeforeLaunchEvent.inc.php +++ b/php/mocha/include/BeforeLaunchEvent.inc.php @@ -48,7 +48,11 @@ System::$BeforeLaunchEventHandler = function($path) if (count($path) >= 1) { - if ($path[0] == "suv") + if ($path[0] == "madi") + { + return true; + } + else if ($path[0] == "suv") { if (count($path) == 2 && ($path[1] == "suvinfo.html" || $path[1] == "phpinfo.html")) { diff --git a/php/mocha/lib/mocha/core/InstanceKey.inc.php b/php/mocha/lib/mocha/core/InstanceKey.inc.php index f041aef..d540192 100644 --- a/php/mocha/lib/mocha/core/InstanceKey.inc.php +++ b/php/mocha/lib/mocha/core/InstanceKey.inc.php @@ -27,6 +27,16 @@ } return null; } + public static function TryParse(?string $instanceKeyStr, ?InstanceKey &$out) : bool + { + $ik = InstanceKey::Parse($instanceKeyStr); + if ($ik !== null) + { + $out = $ik; + return true; + } + return false; + } public function __toString() { diff --git a/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php b/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php index 59e3f0f..eb1bdb3 100644 --- a/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php +++ b/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php @@ -11,6 +11,8 @@ class KnownAttributeGuids const CSSValue = "C0DD4A42F5034EB380347C428B1B8803"; const RelationshipType = "71106B1219344834B0F6D894637BAEED"; const Label = "69cdf8affcf24477b75d71593e7dbb22"; + const Order = "{49423f66-8837-430d-8cac-7892ebdcb1fe}"; + const MethodType = "{47ae57a9-7723-48a8-80f2-dd410d929e14}"; const ClassName = "c7e8d78ecfac4dacae242ac67a0ba9d3"; diff --git a/php/mocha/lib/mocha/core/KnownClassGuids.inc.php b/php/mocha/lib/mocha/core/KnownClassGuids.inc.php index 9d88d6d..9a102ac 100644 --- a/php/mocha/lib/mocha/core/KnownClassGuids.inc.php +++ b/php/mocha/lib/mocha/core/KnownClassGuids.inc.php @@ -54,6 +54,8 @@ class KnownClassGuids const ExecutableReturningElement = "a15a4f521f1a4ef380a7033d45cc0548"; const ExecutableReturningWorkData = "a0365b76ad1f462e84dad6a1d5b9c88c"; + const EvaluateBooleanExpressionMethod = "{e1529108-2f84-4a4c-89b3-a647bc3e41d7}"; + const Event = "ca727ecd85364aeb9e75352dbb958767"; const WorkData = "05e8f02388cb416b913e75299e665eb2"; @@ -137,6 +139,7 @@ class KnownClassGuids const GetInstancesMethod = "{0a379314-9d0f-432d-ae59-63194ab32dd3}"; const GetReferencedAttributeMethod = "{9205c54e-921a-484c-9be2-3d3deb877474}"; const GetReferencedInstanceSetMethod = "{bcfd0d64-3eba-4a97-9622-f3a960877d24}"; + const ConditionalSelectAttributeMethod = "{d534a369-321e-4c32-bd7f-8ff2017f191e}"; const GetSpecifiedInstancesMethod = "{7794c7d0-b15d-4b23-aa40-63bb3d1f53ac}"; const ProcessRelatedUpdatesMethod = "2953e69803c54752a1ebcbbfa8f13905"; diff --git a/php/mocha/lib/mocha/core/KnownInstanceGuids.inc.php b/php/mocha/lib/mocha/core/KnownInstanceGuids.inc.php index f302383..3a5f13c 100644 --- a/php/mocha/lib/mocha/core/KnownInstanceGuids.inc.php +++ b/php/mocha/lib/mocha/core/KnownInstanceGuids.inc.php @@ -40,6 +40,26 @@ class KnownInstanceGuids const Alignment__Center = "{63179b92-9a6a-495b-a823-f45e353be9d8}"; const Alignment__Far = "f19d16c799ff48a3b86a7db8f400d869"; + + const RelationalOperator__Subset = "{76d42d7c-f7da-4df6-92cc-b362e3a87d7b}"; + const RelationalOperator__Empty = "{b416747b-537f-46f9-b855-e71ca361d265}"; + const RelationalOperator__CountGreaterThan = "{dbc516aa-0fd9-47a9-bab5-8cede4102af6}"; + const RelationalOperator__CountLessThan = "{5101eb0d-bce3-4f1e-b4b1-e75f68a42829}"; + const RelationalOperator__CountEqualTo = "{beef419c-4375-41f2-909a-af8dded51d04}"; + const RelationalOperator__CountGreaterThanOrEqualTo = "{3579168f-52bc-49f3-be6f-a548ac74f502}"; + const RelationalOperator__CountLessThanOrEqualTo = "{bc05d0b7-59ee-42cc-91e9-90a1e0b3ed85}"; + const RelationalOperator__Superset = "{67d2da4e-d147-4526-9a94-526f0d79ec9c}"; + const RelationalOperator__CountNotEqualTo = "{92ac4ea4-b034-4b09-be67-c39608ae2ecf}"; + const RelationalOperator__NotEmpty = "{aeb5a45f-2aff-4b2b-8f6d-f05f50bc8f8c}"; + const RelationalOperator__NotInSet = "{7fde8600-680b-4c07-be3b-2660f00b01c2}"; + const RelationalOperator__InSet = "{824417e6-61e5-4e74-9e95-514905c01846}"; + const RelationalOperator__NotSuperset = "{8e695935-548a-4177-a474-581fc960eddb}"; + const RelationalOperator__NotSubset = "{ef7726d6-2feb-426c-bf2c-770014d35f68}"; + const RelationalOperator__NotExactMatch = "{f08a632a-1f3e-4979-8ec5-17fefc33b865}"; + const RelationalOperator__ExactMatch = "{93611da1-e21e-4021-9ddd-f7575e0c79ec}"; + + const WorkSet__RelatedInstance = "{d9634929-0bb4-482a-85cc-9c8f1251556f}"; + const WorkSet_ClassForMethod = "{d8eeff45-acbc-4031-8b09-bf9b8085c185}"; } ?> \ No newline at end of file diff --git a/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php b/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php index 007ee0d..cb208ca 100644 --- a/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php +++ b/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php @@ -76,6 +76,10 @@ class KnownRelationshipGuids const Method_Binding__has__Parameter_Assignment = "2493810994f1463a9314c49e667cf45b"; const Parameter_Assignment__for__Method_Binding = "19c4a5dbfd2644b8b431e081e6ffff8a"; + const Parameter_Assignment__assigns_from__Executable_returning_Work_Data = '{6f3687ed-7d88-4ece-914e-c47c57c1146d}'; + const Parameter_Assignment__assigns_to__Work_Data = '{51c37636-35d2-4528-99ca-50cf09fa1427}'; + + const Parameter__has_data_type__Instance = "ccb5200c5faf4a3a9e8e2edf5c2e0785"; const Instance__data_type_for__Parameter = "ea1e6305b2e44ba591b41ecfbebfa490"; @@ -108,8 +112,10 @@ class KnownRelationshipGuids const Get_Specified_Instances_Method__uses__Instance = "dea1aa0b2bef4bacb4f90ce8cf7006fc"; - const Evaluate_Boolean_Expression_Method__has_source_attribute__Method = "45d76d5601ed46419f68cfe0c7d0d265"; - const Evaluate_Boolean_Expression_Method__equal_to_attribute__Method = "0646df917e3e4d59be71b978a22ced8e"; + const Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute = "{53cf2cb6-f5f2-499f-9f18-26b86bf671c4}"; + const Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data = "{45d76d56-01ed-4641-9f68-cfe0c7d0d265}"; + const IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator = "{aa9e17a2-e4d9-4598-bcfc-2d729031d11c}"; + const Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data = "{0646df91-7e3e-4d59-be71-b978a22ced8e}"; const Prompt_Value__has__Prompt = "7CD62362DDCE4BFC87B9B5499B0BC141"; @@ -212,17 +218,14 @@ class KnownRelationshipGuids const Integration_ID__has__Integration_ID_Usage = "6cd30735df834253aabe360d6e1a3701"; const Integration_ID_Usage__for__Integration_ID = "d8d981ec768640dab89f006c85042444"; - const Conditional_Method__has__Conditional_Method_Case = "df2059e6650c49a88188570ccbe4fd2d"; - const Conditional_Method_Case__for__Conditional_Method = "be7a6285d70040f3868ec0878a3e94a6"; + const Conditional_Select_from_Instance_Set_Method__has__Conditional_Select_from_Instance_Set_Case = "b6715132b4384073b81d3ecf19584b7d"; + const Conditional_Select_from_Instance_Set_Case__for__Conditional_Select_from_Instance_Set_Method = "1c868a068fb7432d839b7a5a02a50eb6"; - const Conditional_Method_Case__has_return_attribute__Method_Binding = "b6715132b4384073b81d3ecf19584b7d"; - const Method_Binding__returns_attribute_for__Conditional_Method_Case = "1c868a068fb7432d839b7a5a02a50eb6"; + const Condition_Group__has_true_condition__Executable_returning_Attribute = "d955da3f7ef443748b86167c73434f75"; + const Executable_returning_Attribute__true_condition_for__Condition_Group = "1acdefd1e1b445bb99e1bf73dea71da5"; - const Conditional_Method_Case__has_true_condition__Method_Binding = "d955da3f7ef443748b86167c73434f75"; - const Method_Binding__true_condition_for__Conditional_Method_Case = "1acdefd1e1b445bb99e1bf73dea71da5"; - - const Conditional_Method_Case__has_false_condition__Method_Binding = "e46dbc4fae8d4ad8b9e610cedfa68b73"; - const Method_Binding__false_condition_for__Conditional_Method_Case = "633af008bf7f4da194d667a9a80586d6"; + const Condition_Group__has_false_condition__Executable_returning_Attribute = "e46dbc4fae8d4ad8b9e610cedfa68b73"; + const Executable_returning_Attribute__false_condition_for__Condition_Group = "633af008bf7f4da194d667a9a80586d6"; const Audit_Line__has__Instance = "c91807ed0d734729990bd90750764fb5"; const Audit_Line__has__User = "7c1e048d3dcb44739f2ee21014a76aa5"; @@ -268,8 +271,14 @@ class KnownRelationshipGuids const Work_Set__has_valid__Class = "0808746241a5427184bca9bcd31a2c21"; const Class__valid_for__Work_Set = "73c65dcf781047d498c0898ca1b17a68"; - const Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute = "dbd974309c55430d815c77fce9887ba7"; - const Executable_returning_Attribute__invoked_by__Conditional_Select_Attribute_Case = "f4b04072abe8452ab8f8e0369dde24d4"; + const Conditional_Select_Attribute_Method__returns__Attribute = "{b2b9d9cc-c4dd-491b-853e-e3669ea4e66a}"; + const Attribute__returned_by__Conditional_Select_Attribute_Method = "{e3e734ce-953b-49b8-b50d-b1826b519053}"; + + const Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case = "{49396bd0-b5a9-4384-99f4-2126d80b3b66}"; + const Conditional_Select_Attribute_Case__for__Conditional_Select_Attribute_Method = "{38e2816e-ccb4-4e89-86ab-4981f5c2d7ac}"; + + const Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute = "{dbd97430-9c55-430d-815c-77fce9887ba7}"; + const Executable_returning_Attribute__invoked_by__Conditional_Select_Attribute_Case = "{f4b04072-abe8-452a-b8f8-e0369dde24d4}"; const Style__gets_background_image_File_from__Return_Instance_Set_Method_Binding = "4b4a0a3e426c4f70bc15b6efeb338486"; diff --git a/php/mocha/lib/mocha/core/OmsContext.inc.php b/php/mocha/lib/mocha/core/OmsContext.inc.php index 9b55274..de45609 100644 --- a/php/mocha/lib/mocha/core/OmsContext.inc.php +++ b/php/mocha/lib/mocha/core/OmsContext.inc.php @@ -7,10 +7,13 @@ private $elementParms; public $workData; + public $CallStack; + public function __construct() { $this->elementParms = array(); $this->workData = array(); + $this->CallStack = array(); } public function setElementParm(InstanceReference $elementContent, string $parmId, $value) @@ -44,6 +47,21 @@ if ($key instanceof InstanceReference) { $key = $key->GlobalIdentifier->__toString(); + if ($value === null) + { + //echo ("[ set wd " . $parmId->InstanceKey->__toString() . " = null ]"); + } + else + { + if (is_string($value)) + { + //echo ("[ set wd " . $parmId->InstanceKey . " = STR'" . $value . "' ]"); + } + else + { + //echo ("[ set wd " . $parmId->InstanceKey . " = IK'" . $value->InstanceKey . "' ]"); + } + } $expectedDataType = ""; $actualDataType = ""; diff --git a/php/mocha/lib/mocha/oms/MySQLDatabaseOms.inc.php b/php/mocha/lib/mocha/oms/MySQLDatabaseOms.inc.php index def0f87..e0ed407 100644 --- a/php/mocha/lib/mocha/oms/MySQLDatabaseOms.inc.php +++ b/php/mocha/lib/mocha/oms/MySQLDatabaseOms.inc.php @@ -66,6 +66,7 @@ public function __construct($hostname, $port, $databasename, $username, $password) { + parent::__construct(); $this->PDO = new \PDO("mysql:host=" . $hostname . ";port=" . $port . ";dbname=" . $databasename, $username, $password); } diff --git a/php/mocha/lib/mocha/oms/Oms.inc.php b/php/mocha/lib/mocha/oms/Oms.inc.php index 894982d..cc1e170 100644 --- a/php/mocha/lib/mocha/oms/Oms.inc.php +++ b/php/mocha/lib/mocha/oms/Oms.inc.php @@ -14,13 +14,21 @@ use Phast\System; use Phast\UUID; + use Phast\WebPageMessage; + use Phast\WebPageMessageSeverity; abstract class Oms { public function __construct() { $this->_tenant = null; + $this->Messages = array(); } + + /** + * @var array + */ + public $Messages; /** * Gets the instance with the specified global identifier. @@ -128,6 +136,9 @@ public function getDefaultTaskUrl(InstanceReference $inst) : ?string { $instParent = $this->getParentClass($inst); + if ($instParent === null) + return null; + $instDefaultTask = $this->getRelatedInstance($instParent, KnownRelationshipGuids::Class__has_default__Task); if ($instDefaultTask != null) { @@ -144,16 +155,31 @@ } public function getInstanceText($inst) { + if ($inst === null) + return "ERR: inst null"; + $parentClass = $this->getParentClass($inst); + if ($parentClass === null) + { + $this->Messages[] = new WebPageMessage("Parent class empty for inst " . $inst->InstanceKey); + return "ERR: no parent class for inst"; + } + $instancesLabeledByRAMB = $this->getRelatedInstance($parentClass, KnownRelationshipGuids::Class__instances_labeled_by__Executable_returning_Attribute); if ($instancesLabeledByRAMB !== null) { $context = new OmsContext(); $context->setWorkData($parentClass->GlobalIdentifier->__toString(), $inst); - $textAttr = $this->executeMethod($context, $instancesLabeledByRAMB); + $textAttr = $this->execute($context, $instancesLabeledByRAMB); $text = $context->getWorkData($textAttr); + + //$this->printWorkData($context->workData); return $text; } + else + { + //echo ("no RAMB"); + } return $this->getAttributeValue($inst, $this->getInstanceByGlobalIdentifier(KnownAttributeGuids::Name)); } @@ -241,6 +267,9 @@ return $instances; } + /** + * @deprecated 0.5.1 + */ public function executeMethodReturningInstanceSet(InstanceReference $method, array $parms) : ?array { $parentClass = $this->getParentClass($method); @@ -428,58 +457,308 @@ return false; } + public function buildAccessKeyForOmsAttachment($fileInstance, $entropy) + { + /* + if (!entropy.ContainsKey(this.GetInstanceKey(inst))) + { + byte[] entropyData = new byte[256]; + random.NextBytes(entropyData); + + entropy[this.GetInstanceKey(inst)] = entropyData; + } + + string entropy_co = Convert.ToBase64String(entropy[this.GetInstanceKey(inst)]); + string guid = inst.GlobalIdentifier.ToString(); + long timestamp = DateTime.Now.Ticks; + string originalFileName = this.GetAttributeValue(inst, KnownAttributeGuids.Text.Name); + string ft_co = String.Format("{0}?oms-attachments/{1}?{2}??{3}", entropy_co, guid, timestamp, originalFileName); + string base64 = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(ft_co)); + string safeBase64 = MBS.Framework.Conversion.Base64ToUrlSafeBase64(base64); + return safeBase64; + */ + + $entropy_co = base64_encode("lalalala"); + //$timestamp = (new \DateTime())-> + $timestamp = "112340340"; + $originalFileName = "lalala.png"; + $ft_co = $entropy_co . "?oms-attachments/" . $fileInstance->GlobalIdentifier . "?" . $timestamp . "??" . $originalFileName; + return base64_encode($ft_co); + } + + public function getStackTrace(array $arr) + { + $sr = ""; + $ct = count($arr); + for ($i = 0; $i < $ct; $i++) + { + if ($arr[$i] !== null) + { + $sr .= $arr[$i]->InstanceKey->__toString(); + } + if ($i < $ct - 1) + { + $sr .= ":"; + } + } + return $sr; + } + + private function createHtmlLinkToInstanceReference($val) + { + return "InstanceKey . ".htmld") . "\">" . $val->InstanceKey->__toString() . ""; + } + public function getStackTraceWithLinks(array $arr) + { + $sr = ""; + $ct = count($arr); + for ($i = 0; $i < $ct; $i++) + { + if ($arr[$i] !== null) + { + $sr .= $this->createHtmlLinkToInstanceReference($arr[$i]); + } + if ($i < $ct - 1) + { + $sr .= ":"; + } + } + return $sr; + } + + public function getAttachmentUrl(InstanceReference $fileInstance) + { + $entropy = null; + $accessKey = $this->buildAccessKeyForOmsAttachment($fileInstance, $entropy); + return "/" . $this->getTenantName() . "/attachment/" . $fileInstance->InstanceKey . "/" . $accessKey; + } + + public function executeReturningAttribute(OmsContext $context, InstanceReference $inst) + { + $value = $this->execute($context, $inst); + if ($value !== null) + { + return $context->getWorkData($value); + } + return null; + } + public function execute(OmsContext $context, InstanceReference $inst, $classesLookupWorkData = true) + { + if ($this->is_a($inst, UUID::parse(KnownClassGuids::Method)) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::MethodBinding))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::ReturnAttributeMethodBinding))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::ReturnInstanceSetMethodBinding))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::BuildAttributeMethod))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::GetAttributeMethod))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::GetReferencedAttributeMethod))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::GetReferencedInstanceSetMethod))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::EvaluateBooleanExpressionMethod))) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::ConditionalSelectAttributeMethod))) + ) + { + $retval = $this->executeMethod($context, $inst); + } + else if ( + // $this->is_a($inst, UUID::parse(KnownClassGuids::TextAttribute)) + //|| $this->is_a($inst, UUID::parse(KnownClassGuids::NumericAttribute)) + //|| $this->is_a($inst, UUID::parse(KnownClassGuids::DateAttribute)) + // || $this->is_a($inst, UUID::parse(KnownClassGuids::BooleanAttribute)) + $this->is_a($inst, UUID::parse(KnownClassGuids::WorkSet)) + || ($this->is_a($inst, UUID::parse(KnownClassGuids::Clasz)) && $classesLookupWorkData) + ) + { + //return $context->getWorkData($inst); + $retval = $context->getWorkData($inst); + } + else + { + $retval = $inst; + } + return $retval; + } + + public function applyParameterAssignment(OmsContext $context, InstanceReference $parameterAssignment) + { + $assignsFromWorkData = $this->getRelatedInstance($parameterAssignment, KnownRelationshipGuids::Parameter_Assignment__assigns_from__Executable_returning_Work_Data); + $assignsToParm = $this->getRelatedInstance($parameterAssignment, KnownRelationshipGuids::Parameter_Assignment__assigns_to__Work_Data); + if ($assignsFromWorkData !== null && $assignsToParm !== null) + { + $workData = $this->execute($context, $assignsFromWorkData); + if ($workData !== null) + { + $workDataValue = $context->getWorkData($workData); + // $context->getWorkData($assignsFromWorkData); // + if (is_string($workDataValue)) + { + // !! HACK !! + $workData = $workDataValue; + } + //echo ("update with " . $assignsToParm->InstanceKey . " = " . $workDataValue); + } + else + { + //echo ("setting null on " . $assignsToParm->InstanceKey); + } + $context->setWorkData($assignsToParm, $workData); + } + } + + public function evaluateConditions(OmsContext $context, ?array $trueConditions, ?array $falseConditions) + { + if ($trueConditions !== null) + { + foreach ($trueConditions as $condition) + { + $val = $this->executeReturningAttribute($context, $condition); + if (!$val) + { + return false; + } + } + } + if ($falseConditions !== null) + { + foreach ($falseConditions as $condition) + { + $val = $this->executeReturningAttribute($context, $condition); + if ($val) + { + return false; + } + } + } + return true; + } + + private function printWorkData(array $workData) + { + foreach ($workData as $key => $value) + { + echo ($key . " == "); + if ($value instanceof InstanceReference) + { + echo ("[" . $this->createHtmlLinkToInstanceReference($value) . "]"); + } + else + { + echo ("'" . $value . "'"); + } + echo (" ; "); + } + } + + private function CompareInstanceSets_ExactMatch(InstanceReference|array|null $left, InstanceReference|array|null $right) + { + //echo ("CIS: " . $left->InstanceKey . " ?? " . $right->InstanceKey); + if ($left === null && $right === null) + return true; + if ($left === null || $right === null) + return false; + + if (is_array($left) && is_array($right)) + { + // Both are Instance Sets, so we can make some optimizations + if (count($left) !== count($right)) + return false; + + $is = array_intersect($left, $right); + return count($is) === count($left); + } + else + { + // Instance Set and Instance cannot be compared, for now + if (is_array($left) || is_array($right)) + { + return false; + } + } + + // If we get here, $left and $right should both be single instances + if ($left->GlobalIdentifier->__is_equal($right->GlobalIdentifier)) + { + return true; + } + return false; + } + public function executeMethod(OmsContext $context, InstanceReference $methodInstance) { + array_push($context->CallStack, $methodInstance); + $methodInstanceClass = $this->getParentClass($methodInstance); //$context->setWorkData("{d53d7283-92a2-4a62-b8f2-cf0a0b975634}", "blah blah"); - if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::ReturnAttributeMethodBinding))) + $retval = null; + $forClass = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Method__for__Class); + if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::ReturnAttributeMethodBinding)) + || ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::ReturnInstanceSetMethodBinding)))) { $methodBindingExecutesMethod = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Method_Binding__executes__Method); if ($methodBindingExecutesMethod === null) { - echo ("RAMB executes method not found for " . $methodInstance->InstanceKey);die(); + echo ("Method Binding.executes Method not found for " . $methodInstance->InstanceKey);die(); } - //echo ("RAMB stack: " . $methodInstance->InstanceKey . ":" . $methodBindingExecutesMethod->InstanceKey); - return $this->executeMethod($context, $methodBindingExecutesMethod); + + $parameterAssignments = $this->getRelatedInstances($methodInstance, KnownRelationshipGuids::Method_Binding__has__Parameter_Assignment); + foreach ($parameterAssignments as $parameterAssignment) + { + $this->applyParameterAssignment($context, $parameterAssignment); + } + + // echo ("MB stack: " . $methodInstance->InstanceKey . ":" . $methodBindingExecutesMethod->InstanceKey); + $retval = $this->executeMethod($context, $methodBindingExecutesMethod); } else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::GetAttributeMethod))) { - $forClass = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Method__for__Class); $returnsAttribute = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Attribute_Method__has__Attribute); - $targetInstance = $context->workData[$forClass->GlobalIdentifier->__toString()]; + $targetInstance = $context->getWorkData($forClass); $value = $this->getAttributeValue($targetInstance, $returnsAttribute); $context->workData[$returnsAttribute->GlobalIdentifier->__toString()] = $value; - return $returnsAttribute; + + // echo ("[GA @" . $forClass->InstanceKey . ": inst (" . $targetInstance->InstanceKey . ") ; att " . $returnsAttribute->InstanceKey . " : " . $value . "]"); + $retval = $returnsAttribute; } else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::GetReferencedAttributeMethod))) { - $forClass = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Method__for__Class); $returnsAttribute = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Attribute_Method__returns__Attribute); $loopOnInstanceSet = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Attribute_Method__uses_reference__Executable_returning_Instance_Set); $answer = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Attribute_Method__uses_answer__Executable_returning_Attribute); - - $targetInstance = $context->workData[$forClass->GlobalIdentifier->__toString()]; + $targetInstance = $context->getWorkData($forClass); - $refISRel = $this->executeMethod($context, $loopOnInstanceSet); - $refIS = $context->getWorkData($refISRel); - //$refIS = $this->getRelatedInstance($targetInstance, $loopOnInstanceSet); - $value = $this->getAttributeValue($refIS, $answer); - $context->setWorkData($returnsAttribute, $value); - return $returnsAttribute; + $refISRel = $this->execute($context, $loopOnInstanceSet); + if ($refISRel !== null) + { + $refIS = $context->getWorkData($refISRel); + $answerVal = $this->execute($context, $answer); + + $value = $context->getWorkData($answerVal); // $this->getAttributeValue($refIS, $answer); + $context->setWorkData($returnsAttribute, $value); + $retval = $returnsAttribute; + } + else + { + $this->Messages[] = new WebPageMessage("Relationship unspecified [ from " . $loopOnInstanceSet->InstanceKey . " ] for `Get Referenced Attribute Method.uses reference Executable returning Attribute` [" . $methodInstance->InstanceKey . "]\nMADI call stack trace: " . $this->getStackTraceWithLinks($context->CallStack), "MADI runtime error", WebPageMessageSeverity::Error); + } } else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::GetReferencedInstanceSetMethod))) { - $forClass = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Method__for__Class); $returnsWorkSet = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Instance_Set_Method__returns__Work_Set); $loopOnInstanceSet = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Instance_Set_Method__uses_reference__Executable_returning_Instance_Set); $relationship = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Get_Referenced_Instance_Set_Method__uses_answer__Executable_returning_Instance_Set); - $targetInstance = $context->workData[$forClass->GlobalIdentifier->__toString()]; - $value = $this->getRelatedInstance($targetInstance, $relationship); - $context->setWorkData($returnsWorkSet, $value); - return $returnsWorkSet; + $targetInstance = $context->getWorkData($forClass); + if ($targetInstance !== null) + { + $value = $this->getRelatedInstance($targetInstance, $relationship); + $context->setWorkData($returnsWorkSet, $value); + } + else + { + //echo ("exec GRS for class : " . $forClass->InstanceKey); + $this->Messages[] = new WebPageMessage("GRS: target instance unspecified [ from " . $forClass->InstanceKey . " ]\nMADI call stack trace: " . $this->getStackTraceWithLinks($context->CallStack), "MADI runtime error", WebPageMessageSeverity::Error); + } + $retval = $returnsWorkSet; } else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::BuildAttributeMethod))) { @@ -490,7 +769,8 @@ $value = $initialValue; foreach ($buildsWithAttributes as $buildsWithAttribute) { - $attr = $this->executeMethod($context, $buildsWithAttribute); + $attr = $this->execute($context, $buildsWithAttribute); + // echo ("value of `" . $attr->InstanceKey . "` is '" . $context->getWorkData($attr) . "'"); if ($attr !== null) { $val = $context->getWorkData($attr); @@ -500,16 +780,21 @@ } else { - $value .= $val->InstanceKey; + if ($val !== null) + { + $value .= "E!". $val->InstanceKey; + } } } else { + echo ("ERR[" . $buildsWithAttribute->InstanceKey . "]"); trigger_error("executeMethod did not return properly - called method: " . $buildsWithAttribute->GlobalIdentifier . " [" . $buildsWithAttribute->InstanceKey . "]"); } } $context->setWorkData($returnsAttribute, $value); - return $returnsAttribute; + // echo ("value of MethodType is '" . $context->getWorkData(KnownAttributeGuids::MethodType) . "'"); + $retval = $returnsAttribute; } else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::ProcessRelatedUpdatesMethod))) { @@ -552,10 +837,86 @@ } } } + else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::EvaluateBooleanExpressionMethod))) + { + $value = false; + $returnsAttribute = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Evaluate_Boolean_Expression_Method__returns__Boolean_Attribute); + $sourceInstanceRef = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Evaluate_Boolean_Expression_Method__has_source__Executable_returning_Work_Data); + $booleanOperator = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::IDR_Evaluate_Boolean_Expression_Method__uses__Boolean_Operator); + $targetInstanceRef = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Evaluate_Boolean_Expression_Method__has_target__Executable_returning_Work_Data); + + $sourceInstance = $this->execute($context, $sourceInstanceRef); + if ($sourceInstance === null) + { + echo ("ERR: source inst [ from " . $sourceInstanceRef->InstanceKey . " ] null"); + die(); + } + if ($targetInstanceRef !== null) + { + $targetInstance = $this->execute($context, $targetInstanceRef, false); + + //$this->printWorkData($context->workData); + //echo (" @@@@ "); + + //echo ("source " . $sourceInstanceRef->InstanceKey . "(" . $sourceInstance->InstanceKey . ") ... operator " . $booleanOperator->InstanceKey . " ... target " . $targetInstanceRef->InstanceKey . "(" . $targetInstance->InstanceKey . ")"); + + if ($booleanOperator->GlobalIdentifier == UUID::parse(KnownInstanceGuids::RelationalOperator__ExactMatch)) + { + if ($this->getParentClass($sourceInstance)->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::WorkSet))) + { + $sourceInstanceWorkData = $sourceInstance; + $sourceInstance = $context->getWorkData($sourceInstance); + } + $value = $this->CompareInstanceSets_ExactMatch($sourceInstance, $targetInstance); + } + } + else + { + echo ("source " . $sourceInstanceRef->InstanceKey . "(" . $sourceInstance->InstanceKey . ") ... operator " . $booleanOperator->InstanceKey . " ... target NULL!"); + } + $context->setWorkData($returnsAttribute, $value); + $retval = $returnsAttribute; + } + else if ($methodInstanceClass->GlobalIdentifier->__is_equal(UUID::parse(KnownClassGuids::ConditionalSelectAttributeMethod))) + { + $returnsAttribute = $this->getRelatedInstance($methodInstance, KnownRelationshipGuids::Conditional_Select_Attribute_Method__returns__Attribute); + $cases = $this->getRelatedInstances($methodInstance, KnownRelationshipGuids::Conditional_Select_Attribute_Method__has__Conditional_Select_Attribute_Case); + foreach ($cases as $case) + { + $trueConditions = $this->getRelatedInstances($case, KnownRelationshipGuids::Condition_Group__has_true_condition__Executable_returning_Attribute); + $falseConditions = $this->getRelatedInstances($case, KnownRelationshipGuids::Condition_Group__has_false_condition__Executable_returning_Attribute); + if (!$this->evaluateConditions($context, $trueConditions, $falseConditions)) + { + continue; + } + + $invokesExecutableReturningAttribute = $this->getRelatedInstance($case, KnownRelationshipGuids::Conditional_Select_Attribute_Case__invokes__Executable_returning_Attribute); + if ($invokesExecutableReturningAttribute !== null) + { + $att = $this->execute($context, $invokesExecutableReturningAttribute); + return $att; + } + else + { + $pp = $this->getInstanceByGlobalIdentifier(KnownAttributeGuids::Value); + $context->setWorkData($pp, "SAC case with NULL attribute"); + $retval = $pp; + } + } + if ($retval === null) + { + $pp = $this->getInstanceByGlobalIdentifier(KnownAttributeGuids::Value); + $context->setWorkData($pp, "SAC returned no case"); + $retval = $pp; + } + } else { trigger_error("unknown method class '" . $methodInstanceClass->GlobalIdentifier . "' [" . $methodInstanceClass->InstanceKey . "]"); } + + array_pop($context->CallStack); + return $retval; } public function is_a(InstanceReference $inst, InstanceReference|string|InstanceKey $what) diff --git a/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php b/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php index e112f85..d6617c2 100644 --- a/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php +++ b/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php @@ -15,6 +15,7 @@ use Mocha\UI\Controls\InstanceBrowser; use Mocha\UI\ValidationResult; + use Phast\QuickSort; use Phast\System; use Phast\Utilities\Stopwatch; use Phast\UUID; @@ -50,8 +51,6 @@ public bool $IncludeTopNavigationBar; - private $__renderingNotEnterable; - public function __construct(OmsContext $context) { $this->Context = $context; @@ -61,7 +60,6 @@ $this->StyleClasses = []; $this->SubmitButtonText = "Save Changes"; $this->IncludeTopNavigationBar = true; - $this->__renderingNotEnterable = false; } /** * Thanks https://stackoverflow.com/a/31107425 @@ -159,6 +157,15 @@ $this->renderBeginPage($taskName); $this->renderPageHeader($taskName, $relatedInstance); + + if ($relatedInstance !== null) + { + $riParentClass = $oms->getParentClass($relatedInstance); + if ($riParentClass !== null) + { + $this->Context->setWorkData($riParentClass, $relatedInstance); + } + } echo (""); $parentClass = $oms->getParentClass($task); @@ -549,7 +556,7 @@ return $str; } - public function renderElementContent(InstanceReference $elementContent) + public function renderElementContent(InstanceReference $elementContent, $renderNotEnterable = false) { /** * @var MySQLDatabaseOms @@ -558,7 +565,6 @@ $ecInst = $oms->getRelatedInstance($elementContent, $oms->getInstanceByGlobalIdentifier(KnownRelationshipGuids::Element_Content__has__Instance)); $relatedInstance = $this->Context->getWorkData(KnownInstanceGuids::WorkSet__RelatedInstance); - echo (""); $ecLayout = $oms->getRelatedInstance($elementContent, $oms->getInstanceByGlobalIdentifier(KnownRelationshipGuids::Element_Content__has__Layout)); @@ -603,7 +609,8 @@ $attrValue = $oms->getAttributeValue($ecInst, KnownAttributeGuids::Value); echo ($this->buildStyleAttribute(true, [ - "background-image" => "url('data:" . $attrContentType . ";" . $attrContentEncoding . "," . $attrValue . "')" + "background-image" => "url('" . $oms->getAttachmentUrl($ecInst) . "')" + /*"url('data:" . $attrContentType . ";" . $attrContentEncoding . "," . $attrValue . "')"*/ ], $ecStyles)); echo("\"> "); } @@ -623,33 +630,34 @@ if ($oms->is_a($ecInst, KnownClassGuids::Element)) { - $this->renderElement($ecInst, $displayOptions); + $this->renderElement($ecInst, $displayOptions, $renderNotEnterable); } else if ($oms->is_a($ecInst, KnownClassGuids::Relationship)) { + $value = $oms->getRelatedInstances($relatedInstance, $ecInst); + + $adw = new InstanceBrowser(); + $adw->Name = "ib_" . $elementContent->InstanceKey; + $adw->SelectedInstances = $value; + if (!$oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__NotEnterable))) { - //$this->renderRelationship($ecInst); + $adw->Editable = true; } else { - // get the current value of the relationship - $value = $oms->getRelatedInstances($this->TargetInstance, $ecInst); - $adw = new InstanceBrowser(); - $adw->Name = "ib_" . $elementContent->InstanceKey; - $adw->SelectedInstances = $value; - //echo("calling Render"); - $adw->Render(); + $adw->Editable = false; } + $adw->Render(); } // Executable returning Attribute else if ($oms->is_a($ecInst, KnownClassGuids::TextAttribute)) { - $this->renderExecutableReturningAttribute($elementContent, $ecInst, $relatedInstance); + $this->renderExecutableReturningAttribute($elementContent, $ecInst, $relatedInstance, $renderNotEnterable); } else if ($oms->is_a($ecInst, KnownClassGuids::BooleanAttribute)) { - $this->renderExecutableReturningAttribute($elementContent, $ecInst, $relatedInstance); + $this->renderExecutableReturningAttribute($elementContent, $ecInst, $relatedInstance, $renderNotEnterable); } // Executable returning Attribute else if ($oms->is_a($ecInst, KnownClassGuids::ReturnAttributeMethodBinding)) @@ -659,7 +667,14 @@ // can then be edited in the Element Content. $context = new OmsContext(); $rambAttribute = $oms->executeMethod($context, $ecInst); - $this->renderTextAttribute($context, $rambAttribute); + if ($rambAttribute !== null) + { + $this->renderTextAttribute($context, $rambAttribute); + } + else + { + echo ("ERR: attribute ( from method " . $ecInst->InstanceKey . " ) is null"); + } } else if ($oms->is_a($ecInst, KnownClassGuids::Clasz)) { @@ -691,7 +706,7 @@ } } - public function renderExecutableReturningAttribute(InstanceReference $elementContent, InstanceReference $ecInst, ?InstanceReference $relatedInstance) + public function renderExecutableReturningAttribute(InstanceReference $elementContent, InstanceReference $ecInst, ?InstanceReference $relatedInstance, $renderNotEnterable = false) { /** * @var MySQLDatabaseOms @@ -727,7 +742,7 @@ $value = $_POST["ec_" . strval($elementContent->InstanceKey)]; } - if ($oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__NotEnterable)) || $this->__renderingNotEnterable) + if ($oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__NotEnterable)) || $renderNotEnterable) { echo($value); } @@ -900,6 +915,7 @@ "type" => "text/css", "href" => System::ExpandRelativePath("~/themes/" . System::GetConfigurationValue("Application.ThemeName") . "/theme.css", false, true) )); + $this->renderTag("link", array ( "rel" => "stylesheet", @@ -942,7 +958,46 @@ MSG_EOF); } public function renderEndPage() { + /** + * @var MySQLDatabaseOms + */ + $oms = mocha_get_oms(); + echo (""); + + echo("
"); + foreach ($oms->Messages as $msg) + { + $ik = ""; + echo("
"); + echo("
" . $msg->Title . "
"); + echo("
" . str_replace("\n", "
", $msg->Message) . "
"); + echo("
"); + } + if ($this->IsPostback) + { + if (count($this->FailedValidations) > 0) + { + foreach ($this->FailedValidations as $validation) + { + $ik = ""; + echo("
"); + echo("
" . $validation->Title . "
"); + echo("
" . str_replace("\n", "
", $validation->Message) . "
"); + echo("
"); + } + } + /* + else + { + echo("
"); + echo("
Saved
"); + echo("
"); + } + */ + } + echo("
"); + $this->renderEndTag("body"); $this->renderEndTag("html"); @@ -978,29 +1033,6 @@ MSG_EOF); } $this->renderBeginPage($title); - if ($this->IsPostback) - { - echo("
"); - if (count($this->FailedValidations) > 0) - { - foreach ($this->FailedValidations as $validation) - { - $ik = ""; - echo("
"); - echo("
" . $validation->Title . "
"); - echo("
" . $validation->Message . "
"); - echo("
"); - } - } - else - { - echo("
"); - echo("
Saved
"); - echo("
"); - } - echo("
"); - } - $DO_Singular = $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__Singular); $this->renderElement($element, [ $DO_Singular ]); $this->renderEndForm(); @@ -1087,7 +1119,7 @@ MSG_EOF); private InstanceReference $__renderingElement; - public function renderElement(InstanceReference $element, array $displayOptions) + public function renderElement(InstanceReference $element, array $displayOptions, $renderNotEnterable = false) { /** * @var MySQLDatabaseOms @@ -1097,18 +1129,51 @@ MSG_EOF); $this->__renderingElement = $element; $parentElementContent = $oms->getRelatedInstance($element, KnownRelationshipGuids::Instance__for__Element_Content); - $renderingNotEnterable = $this->__renderingNotEnterable; - $this->__renderingNotEnterable = $oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__NotEnterable)); + $renderingNotEnterable = $renderNotEnterable || $oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__NotEnterable)); if ($oms->instanceSetContains($displayOptions, $oms->getInstanceByGlobalIdentifier(KnownInstanceGuids::DisplayOption__ShowSubelementsVertically))) { echo(""); + $elementLabel = $oms->getAttributeValue($element, KnownAttributeGuids::Label); + if ($elementLabel !== null) + { + echo("

" . $elementLabel . "

"); + } + # $this->renderBeginTag("table", [ "data-instance-id" => $element->InstanceKey ], [ "uwt-formview", "mcx-element" ]); $this->renderBeginTag("div", [ "data-instance-id" => $element->InstanceKey ], [ "uwt-formview", "mcx-element" ]); $contents = $oms->getRelatedInstances($element, $oms->getInstanceByGlobalIdentifier(KnownRelationshipGuids::Element__has__Element_Content)); - foreach ($contents as $elementContent) + if (count($contents) > 0) { + $ecInst0 = $oms->getRelatedInstance($contents[0], KnownRelationshipGuids::Element_Content__has__Instance); + if ($ecInst0 !== null) + { + $wd = $this->Context->getWorkData($ecInst0); + if ($wd !== null) + { + $this->Context->setWorkData(KnownInstanceGuids::WorkSet__RelatedInstance, $wd); + } + } + } + + $qs = new QuickSort(); + $sortedElementContents = $qs->Sort_By($contents, function($item) + { + /** + * @var MySQLDatabaseOms + */ + $oms = mocha_get_oms(); + + $order = $oms->getAttributeValue($item, KnownAttributeGuids::Order); + return $order; + }); + + foreach ($sortedElementContents as $elementContent) + { + if ($elementContent === null) + continue; + if (!$this->shouldRenderElementContent($elementContent)) { continue; @@ -1160,7 +1225,7 @@ MSG_EOF); echo (""); $this->renderBeginTag("div"); - $this->renderElementContent($elementContent); + $this->renderElementContent($elementContent, $renderingNotEnterable); $this->renderEndTag("div"); // $this->renderEndTag("td"); @@ -1321,8 +1386,6 @@ MSG_EOF); //$this->renderEndTag("div"); } } - - $this->__renderingNotEnterable = $renderingNotEnterable; } diff --git a/php/mocha/scripts/mcx_elementcontent.js b/php/mocha/scripts/mcx_elementcontent.js index 950efbc..e8bb6f1 100644 --- a/php/mocha/scripts/mcx_elementcontent.js +++ b/php/mocha/scripts/mcx_elementcontent.js @@ -97,9 +97,11 @@ window.addEventListener("load", function() console.log(items[i]); items[i].McxNativeObject = new McxElementContent(items[i]); } + /* var items = document.getElementsByClassName("mcx-element"); for (var i = 0; i < items.length; i++) { items[i].McxNativeObject = new McxElementContent(items[i]); } + */ }); \ No newline at end of file diff --git a/php/mocha/scripts/mcx_moniker.js b/php/mocha/scripts/mcx_moniker.js index 8b6aead..e65237c 100644 --- a/php/mocha/scripts/mcx_moniker.js +++ b/php/mocha/scripts/mcx_moniker.js @@ -247,6 +247,14 @@ function McxMoniker(parentElement) xhr.thiss.ActionsMenuElement.appendChild(li); } } + + if (json.messages) + { + for (var i = 0; i < json.messages.length; i++) + { + Alert.show(json.messages[i].content, json.messages[i].title, "uwt-color-danger"); + } + } System.ClassList.Remove(xhr.thiss.PopupElement, "uwt-loading"); } diff --git a/php/mocha/themes/avondale/uwt-actionpreviewbutton.less b/php/mocha/themes/avondale/uwt-actionpreviewbutton.less index 4078d87..3b82757 100644 --- a/php/mocha/themes/avondale/uwt-actionpreviewbutton.less +++ b/php/mocha/themes/avondale/uwt-actionpreviewbutton.less @@ -22,7 +22,6 @@ div.uwt-actionpreviewbutton background-color: #fff; color: @ThemeColor !important; } - } div.apb-preview { diff --git a/php/mocha/themes/common/styles/uwt-actionpreviewbutton.less b/php/mocha/themes/common/styles/uwt-actionpreviewbutton.less index 3ff6937..4d19016 100644 --- a/php/mocha/themes/common/styles/uwt-actionpreviewbutton.less +++ b/php/mocha/themes/common/styles/uwt-actionpreviewbutton.less @@ -46,6 +46,11 @@ div.uwt-actionpreviewbutton visibility: visible; opacity: 1; } + + &> a.apb-text.apb-empty + { + color: inherit; + } &> div.apb-preview { diff --git a/php/mocha/themes/mocha/mcx-colors.less b/php/mocha/themes/mocha/mcx-colors.less index 4a6caab..61c4ec6 100644 --- a/php/mocha/themes/mocha/mcx-colors.less +++ b/php/mocha/themes/mocha/mcx-colors.less @@ -1,3 +1,5 @@ + +/* .uwt-button:not(.uwt-toolbar > .uwt-button) { &:not(.uwt-color-primary) @@ -34,4 +36,5 @@ background-color: #dea147; border-color: #9c6516; } -} \ No newline at end of file +} +*/ \ No newline at end of file diff --git a/php/mocha/themes/mocha/uwt.less b/php/mocha/themes/mocha/uwt.less index 23a246a..ee9111e 100644 --- a/php/mocha/themes/mocha/uwt.less +++ b/php/mocha/themes/mocha/uwt.less @@ -7,12 +7,14 @@ html } body { + /* background-color: #f3f3f4; color: #676a6c; + */ display: flex; flex-direction: column; - font-family: "Source Sans 3"; + //font-family: "Source Sans 3"; margin: 0px; /* overflow: hidden; */ } diff --git a/php/mocha/ui/pages/AssetPage.phpx b/php/mocha/ui/pages/AssetPage.phpx new file mode 100644 index 0000000..d4c9430 --- /dev/null +++ b/php/mocha/ui/pages/AssetPage.phpx @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/php/mocha/ui/pages/AssetPage.phpx.php b/php/mocha/ui/pages/AssetPage.phpx.php new file mode 100644 index 0000000..b9001ea --- /dev/null +++ b/php/mocha/ui/pages/AssetPage.phpx.php @@ -0,0 +1,23 @@ +Page->GetPathVariableValue("package") . "\n"); + echo ("version: " . $this->Page->GetPathVariableValue("version") . "\n"); + echo ("path: " . $this->Page->GetPathVariableValue("path") . "\n"); + + $e->Cancel = true; + } + } + +?> \ No newline at end of file diff --git a/php/mocha/ui/pages/AttachmentPage.phpx b/php/mocha/ui/pages/AttachmentPage.phpx new file mode 100644 index 0000000..692fb2b --- /dev/null +++ b/php/mocha/ui/pages/AttachmentPage.phpx @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/php/mocha/ui/pages/AttachmentPage.phpx.php b/php/mocha/ui/pages/AttachmentPage.phpx.php new file mode 100644 index 0000000..6312b08 --- /dev/null +++ b/php/mocha/ui/pages/AttachmentPage.phpx.php @@ -0,0 +1,71 @@ +Page->MasterPage->ClassReference->RequireLogin = false; + return true; + } + + protected function OnRendering(RenderingEventArgs $re) + { + parent::OnRendering($re); + + /** + * @var MySQLDatabaseOms + */ + $oms = mocha_get_oms(); + + $tenantName = $this->Page->GetPathVariableValue("tenant"); + $instId = $this->Page->GetPathVariableValue("instid"); + $accessKey = $this->Page->GetPathVariableValue("accesskey"); + + $inst = $oms->getInstanceByKey(InstanceKey::Parse($instId)); + + $ext = "jpg"; + $contentType = $oms->getAttributeValue($inst, KnownAttributeGuids::ContentType); + if ($contentType === "image/jpeg") + { + $ext = "jpg"; + } + else if ($contentType == "image/svg" || $contentType == "image/svg+xml") + { + $ext = "svg"; + } + $path = "/var/mocha/uploads/" . $inst->GlobalIdentifier->__toStringFormat(false, null, null) . "." . $ext; + if (file_exists($path)) + { + $fsz = filesize($path); + + header("HTTP/1.1 200 OK"); + header("Content-Type: " . $contentType); + header("Content-Length: " . $fsz); + + readfile($path); + } + else + { + header("HTTP/1.1 404 Not Found"); + } + exit(); + } + + } +?> \ No newline at end of file diff --git a/php/mocha/ui/pages/RelatedTaskListPage.phpx.php b/php/mocha/ui/pages/RelatedTaskListPage.phpx.php index 2973e4c..a5ea0f1 100644 --- a/php/mocha/ui/pages/RelatedTaskListPage.phpx.php +++ b/php/mocha/ui/pages/RelatedTaskListPage.phpx.php @@ -132,6 +132,13 @@ ); $json["result"] = "success"; + $messages = array(); + foreach ($oms->Messages as $message) + { + $messages[] = array("title" => $message->Title, "content" => $message->Message, "severity" => $message->Severity); + } + $json["messages"] = $messages; + echo(json_encode($json)); $re->Handled = true; } diff --git a/php/mocha/ui/pages/SearchPage.phpx.php b/php/mocha/ui/pages/SearchPage.phpx.php index 95dde83..0208cd7 100644 --- a/php/mocha/ui/pages/SearchPage.phpx.php +++ b/php/mocha/ui/pages/SearchPage.phpx.php @@ -2,12 +2,24 @@ namespace Mocha\UI\Pages; + use Mocha\Core\InstanceKey; use Phast\RenderingEventArgs; use Phast\System; use Phast\WebPage; class SearchPage extends WebPage { + protected function OnRendering(RenderingEventArgs $re) + { + $query = $_GET["q"]; + + $inst = null; + if (InstanceKey::TryParse($query, $inst)) + { + System::Redirect("~/d/inst/1\$" . $inst->ClassIndex . "/" . $inst->__toString() . ".htmld"); + } + } + protected function RenderContents() { ?> diff --git a/sql/mysql/001-procedures/mocha_get_related_instances.sql b/sql/mysql/001-procedures/mocha_get_related_instances.sql index 09fe927..dde16dd 100644 --- a/sql/mysql/001-procedures/mocha_get_related_instances.sql +++ b/sql/mysql/001-procedures/mocha_get_related_instances.sql @@ -26,7 +26,7 @@ BEGIN AND mocha_instances.id = mocha_relationships.destination_inst_id AND mocha_relationships.source_inst_id = p_src_inst_id AND mocha_relationships.relationship_inst_id = p_rel_inst_id - AND mocha_relationships.effective_date <= z_effective_date - ORDER BY mocha_relationships.effective_date ASC; + AND mocha_relationships.effective_date <= z_effective_date; + -- ORDER BY mocha_relationships.effective_date ASC; END; \ No newline at end of file diff --git a/sql/mysql/001-procedures/mocha_prepare_instance.sql b/sql/mysql/001-procedures/mocha_prepare_instance.sql index 5634007..1910209 100644 --- a/sql/mysql/001-procedures/mocha_prepare_instance.sql +++ b/sql/mysql/001-procedures/mocha_prepare_instance.sql @@ -37,9 +37,9 @@ sp: BEGIN -- END IF; - SET next_inst_id=mocha_get_next_inst_id(p_class_index); - IF NOT p_inst_id IS NULL THEN - SET next_inst_id = p_inst_id; + SET next_inst_id=p_inst_id; + IF p_inst_id IS NULL THEN + SET next_inst_id = mocha_get_next_inst_id(p_class_index); END IF; IF p_effective_date IS NULL THEN