FUNCTION external_version_assignment_is_valid

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP203e2
-- IN AP203e2/AP242
FUNCTION external_version_assignment_is_valid
      (aia : applied_external_identification_assignment ) : BOOLEAN;
   LOCAL
      item : external_identification_item;
      role : identification_role;
   END_LOCAL;
      role := aia.role;
      IF role.name = 'version' THEN
         REPEAT i := LOINDEX(aia\applied_external_identification_assignment.items) TO HIINDEX(aia\applied_external_identification_assignment.items) BY 1;
            item := aia\applied_external_identification_assignment.items[i];
            IF SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXTERNALLY_DEFINED_GENERAL_PROPERTY' ] * TYPEOF(item)) = 0 THEN
               RETURN (FALSE);
            END_IF;
         END_REPEAT;
         RETURN (TRUE);
      ELSE
         RETURN (TRUE);
      END_IF;
END_FUNCTION;

Referenced By

Defintion external_version_assignment_is_valid is references by the following definitions:
DefinitionType
 external_version_assignments_are_valid RULE


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2017-01-19T11:17:24-05:00