RULE notation_type_identification_constraint

(* SCHEMA step_merged_ap_schema; *)
-- IN AP232
RULE notation_type_identification_constraint FOR (representation );
   LOCAL
      note : SET OF representation;
      result : BOOLEAN;
   END_LOCAL;
      note := QUERY (rep <* representation| rep.name = 'notation');
      result := FALSE;
      IF SIZEOF(note) < 1 THEN
         result := TRUE;
      END_IF;
      REPEAT i := 1 TO SIZEOF(note) BY 1;
         REPEAT j := 1 TO SIZEOF(note[i].items) BY 1;
            IF 'STEP_MERGED_AP_SCHEMA.DESCRIPTIVE_REPRESENTATION_ITEM' IN TYPEOF(note[i].items[j]) THEN
               result := TRUE;
               ESCAPE;
            END_IF;
         END_REPEAT;
      END_REPEAT;
   WHERE
      wr1:
         result;
END_RULE;

[Top Level Definitions] [Exit]

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