The validation process of a model structure includes a specified set of predefined rules for validating the model structure. There are two rules implemented for each of Windows® Runtime, Debugger mode and 30 rules implemented for the MCP platform. Following list describes the rules and the specific platforms where they are applicable. You can refer to the list to fix any model structure error.
Rules |
Mode/ Platform |
Category |
Description |
---|---|---|---|
IDS_EXCEEDED_MAXPROFILE _LENGTH | This rule is applicable only for MCP platform. | This rule is applicable for Profiles and Configurations. | If the Name or Alternate Name property of a Profile in a Class exceeds nine characters, an error appears. To validate the model structure, you must enter maximum nine characters for either the Name or Alternate Name property of a Profile in a Class. |
IDS_DB_PROF_NO_KEYS | This rule is applicable for MCP, Windows® platform and Debugger mode. | This rule is applicable for Profiles. | If a model does not have a key attribute for the profile, an error message appears. To validate the model structure,
|
IDS_EXCEEDED_MAXPROFILE _LENGTH | This rule is applicable only for MCP platform. | This rule is applicable for Profiles and Configurations. | If the Name or Alternate Name property of a Profile in a Class exceeds 9 characters, an error appears. To validate the model structure, you must enter maximum 9 characters for either the Name or Alternate Name property of a Profile in a Class. |
IDS_INVALID_AUTOPERSIST _DEPENDENCY | This rule is applicable for MCP, Windows® platform and Debugger mode. | This rule is applicable for Objects. | Suppose a model has an event, Event1 with Event Set of another event, Event2 and if Event1 has a persistent attribute that is not present under Event2 for establishing AutoPersist dependency, an error message appears. To validate the model structure,
|
IDS_NO_ISCOPIED_ATTR | This rule is applicable only for MCP platform. | This rule is applicable for Object category. | If Copied Ispecs do not have at least one attribute with IsCopied property set, an error message appears. To validate the model structure, you must define an attribute with the IsCopied property set to True or False. |
IDS_DASDL_ATTR_NAME_ TOO_LONG | This rule is applicable only for MCP platform. | This rule is applicable for Profile and Configuration categories. | If Name or Alternate Name property of a persistent attribute exceeds 10 characters, an error message appears. To validate the model structure, you must enter maximum 10 characters for either the Name or Alternate Name property of a persistent attribute. |
IDS_INVALID_SEPARATOR_ CHARACTER | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If DECIMAL.KEYED option is set to NO for a signed attribute with the SeparatorCharacter property defined, an error message appears. To validate the model structure, you must not define the SeparatorCharacter property for a signed attribute. |
IDS_PERSIST_EXTRACT_FILE | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If an extract file has a persistent member, an error message appears. To validate the model structure, an extract file must not have a persistent member. |
IDS_NUMERIC_LENGTH_ EXCEEDED | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If length of a numeric attribute exceeds 19, an error message appears. To validate the model structure, you must specify a numeric value for the length of the attribute that does not exceed 19. |
IDS_EXTRACT_NAME_ RESERVED | This rule is applicable only for MCP platform. | This rule is applicable for Profiles and Configurations. | If an extract file has reserved words, such as MOVE for the Name property, an error message appears. To validate the model, you must change the Alternate Name property of an extract file. |
IDS_AG_PERS_CLASS | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If a model has an aggregated persistent class, an error message appears. To validate the model structure, you must remove any aggregated persistent instances. |
IDS_INVALID_AUTOLOOKUP | This rule is applicable for MCP, Windows® platform and Debugger mode. | This rule is applicable for Objects. | If a persistent class is performing autolookup on non-persistent class, an error message appears. To validate the model structure, you must ensure that invalid autolookup do not exist in a model. |
IDS_PROFILE_IN_EVENT | This rule is applicable for MCP, Windows® platform and Debugger model. | This rule is applicable for Objects. | If a leaf event has a profile, then an error message appears. To validate the model structure, you must ensure that
|
IDS_CAPTION_LENGTH_ EXCEEDED | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | A restriction is imposed on the upper pane of the Translations tab that defines all the captions for a default primary language. If length of the Caption property of a Class exceeds 16 characters, a warning message appears. To validate the model structure, you must ensure that length of caption does not exceed 16 characters. |
IDS_NO_CLASS_PARAM | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If you add a class parameter for a public segment method, an error message appears. To validate the model structure, you must either change the visibility property of the segment to private, protected or remove the class parameter for the public segment method. |
IDS_MIXED_GROUP_ DIRECTION_FOUND | This rule is applicable only for MCP platform. | This rule is applicable for Objects. | If you have defined the direction of a Group and the direction of the members of the group doesn’t match with the direction of the Group, an error message is displayed. To validate the model structure, you must ensure that the direction of the members of the group is same as the direction of the Group. |
IDS_SAME_POF_DUPLICATE _FAMILY | This rule is applicable only for MCP platform. | This rule is applicable for Segment Configurations. | If you specify same pack names for POF Family and Duplicate POF Family, an error message appears. You can validate the model structure by changing either of the pack names. |
IDS_REORDB_DB_NOT_ DEFINED | This rule is applicable only for MCP platform. | This rule is applicable for Segment Configurations. | If you do not specify the configuration property, REORGDB Title of a segment, an error message appears. To validate the model structure, you must specify the name of the database copy in the segment configuration property, REORGDB DB Title. |
IDS_UNDEFINED_NATIONAL_ SUPPORT | This rule is applicable only for MCP platform. | This rule is applicable for Segment Configurations. | If the National Language is not specified, an error message appears. To validate the model structure, specify the National Language for the segment. |
IDS_MAX_TRANSLATIONS |
This rule is applicable only for MCP platform. |
This rule is applicable for Folder Configurations. | If you specify more than 15 as the list of languages for Translations property of Build Target Filter, a warning appears. Hence, you should ensure to specify a maximum of 15 because only first 15 languages are included for translation. |
IDS_RTU_SOURCE_CONFIG_ NOT_SET |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If the RTU build is set to True for a deployment folder, and the RTU Source Set property is blank, an error message is displayed. To validate the model structure, ensure to set the RTU Source Set property. |
IDS_RTU_Filename_Missing |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If you do not specify the RTU File name property when building RTU, an error message appears. To validate the model structure, you must enter the RTU File Name property. |
IDS_RTU_SOURCE_DEFAULT _PACK_NOT_SET |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If you do not set the Default Pack property of the RTU Source set, an error message appears while building RTU. To validate the model structure, you must set the Default Pack for RTU Source Configuration. |
IDS_RTU_CONFIG_DEFAULT_ PACK_NOT_SET |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If the RTU build is set to True for a deployment folder, and the Default pack is not set, an error message is displayed. To validate the model structure, ensure to set the Default Pack property. |
IDS_RTU_RDB_CONFIG_ NOT_RDB |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If you do not set the builder configuration property, RDB Configure set to RDB type, an error message appears when building RTU. You must set the property, RDB Configure set as RDB to validate the model structure. |
IDS_RTU_RDB_DEFAULT _PACK_NOT_SET |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If the RTU build is set to True, and the default pack for the RDB configure is not set, an error message is displayed. To validate the model structure, you must set the default pack for RDB Configure set to BASE configuration. |
IDS_RTU_RDB_ PORTTIMEOUTS_IDENTICAL |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | At the same time, if Primary and Secondary Port Timeouts for RDB Configure set are set to 0, an error message is displayed. To validate the model structure, ensure the Primary and Secondary Port Timeouts are not set to 0 at the same time. |
IDS_RTU_ADDITIONAL_ CONFIG_NOT_CFG |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If you do not set the property, Additional RTU Configure sets to CONFIGURE; an error message appears when building RTU. To validate the model structure, you must set the Type of the Additional Configuration set as CONFIGURE. |
IDS_RTU_ADDITIONAL_ DEFAULT_PACK_NOT _SET |
This rule is applicable only for MCP platform. |
This rule is applicable for RTU Configurations. | If the Additional Configuration for the BASE configuration is not set, an error is displayed. To validate the model structure, ensure to set the Default pack for the Additional Configuration Set. |
IDS_FRAME_CLASS_FOUND |
This rule is applicable only for MCP platform. |
This rule is applicable for Objects. | If you define a Frame class in a Report without setting the Multiplicity property of Frame to 1, a warning message appears. To validate the model structure, you must set the Multiplicity property of Frame to 1. |
IDS_WIDE_STRING |
This rule is applicable only for MCP platform. |
This rule is applicable for Objects. | If you do not enable the National Support on a segment attribute, a National String behaves as a String. So, if you define National Support as None or Unicode, National Support is not enabled and a warning message appears. To validate the model structure, you must define National Support as SingleByte string support or MultiByte string support. |
IDS_INVALID_ELEMENT_NAME |
This rule is applicable only for MCP platform. |
This rule is applicable for classes, insertables, attributes, groups, diagrams, dictionaries, methods, and folders. | If there are invalid characters detected, an error message appears. To validate the model structure, you must use valid characters. This rule checks the “Alternate Name”, “Alias”, and “Name” property in order. |
IDS_NO_VALID_ PRESENTATION |
This rule is applicable for MCP, Windows® platform and Debugger mode. |
This rule is applicable for Classes. | If the presentation type of a class is not included in the presentation type of the class it inherits from, an error message appears. To validate the model structure, you must set the presentation type of the class to the presentation type of the class it inherits from. |
IDS_NOT_MATCH_ PRESENTATIONTYPE |
This rule is applicable for MCP, Windows® platform and Debugger mode. |
This rule is applicable for Attributes. | If an attribute is presented but the presentation type of its owner is not included in the presentation type of the class the attribute inherits from, an error message appears. To validate the model structure, you must set the presentation type of the owner class to the presentation type of the class the attribute inherits from. |
IDS_GROUP_ATTRIBUTES _OVERLAP |
This rule is applicable only for MCP platform. |
This rule is applicable for Attributes. | If the owner of an attribute and the group it inherits from have the same presentation type, and the group has its own group attributes set to different directions, an error message appears. To validate the model structure, you must set the same direction to all the attributes. |
IDS_CANNOT_EXTEND _SEALED_CLASS |
This rule is applicable for MCP, Windows® platform and Debugger mode. |
This rule is applicable for Classes. | If a class inherits from an external class it cannot have any member and its multiplicity cannot be zero; otherwise, an error message appears. To validate the model structure, you must either remove the inheritance or ensure that the class does not have any member and its multiplicity is greater than zero. |
IDS_GROUP_LENGTH_INVALID |
This rule is applicable for MCP, Windows® platform and Debugger mode. |
This rule is applicable for Groups. | If a group has a length zero, an error message appears. To validate the model structure, you must add some members to the group and ensure that the length of the group is greater than zero. |
IDS_SAME_INSERTABLE_ NUM_EXCEED | This rule is applicable for MCP, Windows® platform and Debugger mode. | This rule is applicable for Objects. | If an insertable is instantiated more than once in a class, an error message appears. To validate the model structure, you must remove the other instances of the insertable and ensure that there is only one instance of the insertable in the class. |