Overview Schemas Index

AUTOMOTIVE_DESIGN (jsdai.SAutomotive_design)


RULE presentation_layer_assignment_constraint_2d_or_3d FOR (presentation_layer_assignment);
 
WHERE
          wr1:  SIZEOF  ( QUERY  ( pla <* presentation_layer_assignment | NOT  ( SIZEOF  ( QUERY  ( pnt <* QUERY  ( item <* pla . assigned_items | ( 'automotive_design.' + 'point' IN  TYPEOF  ( item ) ) ) | NOT ( SIZEOF ( QUERY ( rep <* USEDIN ( pnt , 'automotive_design.representation.items' ) | ( 'automotive_design.' + 'shape_representation' IN TYPEOF ( rep ) ) ) ) = 0 ) ) ) = 0 ) ) ) = 0 ;
          wr2:  SIZEOF  ( QUERY  ( pla <* presentation_layer_assignment | NOT  ( SIZEOF  ( QUERY  ( crv <* QUERY  ( item <* pla . assigned_items | ( 'automotive_design.' + 'curve' IN  TYPEOF  ( item ) ) ) | NOT ( SIZEOF ( QUERY ( rep <* USEDIN ( crv , 'automotive_design.representation.items' ) | ( 'automotive_design.' + 'shape_representation' IN TYPEOF ( rep ) ) ) ) = 0 ) ) ) = 0 ) ) ) = 0 ;
          wr3:  SIZEOF  ( QUERY  ( pla <* presentation_layer_assignment | NOT  ( SIZEOF  ( QUERY  ( srf <* QUERY  ( item <* pla . assigned_items | ( 'automotive_design.' + 'surface' IN  TYPEOF  ( item ) ) ) | NOT ( SIZEOF ( QUERY ( rep <* USEDIN ( srf , 'automotive_design.representation.items' ) | ( 'automotive_design.' + 'shape_representation' IN TYPEOF ( rep ) ) ) ) = 0 ) ) ) = 0 ) ) ) = 0 ;
          wr4:  SIZEOF  ( QUERY  ( pla <* presentation_layer_assignment | NOT  ( SIZEOF  ( QUERY  ( ao <* QUERY  ( item <* pla . assigned_items | ( 'automotive_design.' + 'annotation_occurrence' IN TYPEOF  ( item ) ) ) | NOT  ( SIZEOF  ( QUERY ( ur <* using_representations ( ao ) | NOT ( SIZEOF ( TYPEOF ( ur ) * [ 'automotive_design.' + 'draughting_subfigure_representation' , 'automotive_design.' + 'draughting_model' , 'automotive_design.' + 'presentation_area' , 'automotive_design.' + 'presentation_view' ] ) = 1 ) ) ) = 0 ) ) ) = 0 ) ) ) = 0 ;
END_RULE; -- presentation_layer_assignment_constraint_2d_or_3d

public class RPresentation_layer_assignment_constraint_2d_or_3d
          public int rWr4(SdaiContext _context)
          public int rWr3(SdaiContext _context)
          public int rWr2(SdaiContext _context)
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)