FUNCTION acyclic_external_identification_assignment_relationship

(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP238 STEP-NC
-- IN AP238 STEP-NC/AP242
FUNCTION acyclic_external_identification_assignment_relationship
      (relation : external_identification_assignment_relationship;
       relatives : SET [1:?] OF external_identification_assignment;
       specific_relation : STRING ) : BOOLEAN;
   LOCAL
      x : SET OF external_identification_assignment_relationship;
   END_LOCAL;
      IF relation.relating IN relatives THEN
         RETURN (FALSE);
      END_IF;
      x := QUERY (eiar <* bag_to_set(USEDIN(relation.relating, 'STEP_MERGED_AP_SCHEMA.EXTERNAL_IDENTIFICATION_ASSIGNMENT_RELATIONSHIP.RELATED'))| specific_relation IN TYPEOF(eiar));
      REPEAT i := 1 TO HIINDEX(x);
         IF NOT acyclic_external_identification_assignment_relationship(x[i], (relatives + relation.relating), specific_relation) THEN
            RETURN (FALSE);
         END_IF;
      END_REPEAT;
      RETURN (FALSE);
END_FUNCTION;

Referenced By

Defintion acyclic_external_identification_assignment_relationship is references by the following definitions:
DefinitionType
 external_identification_assignment_relationship ENTITY


[Top Level Definitions] [Exit]

Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00