Overview Schemas Index

CATALOG_DATA_INFORMATION_MIM (jsdai.SCatalog_data_information_mim)


RULE restrict_document_reference FOR (applied_document_reference);
 
WHERE
          wr1:  SIZEOF ( QUERY ( adr <* applied_document_reference | ( adr . role . name = 'general tolerance definition' ) AND ( NOT item_correlation ( adr . items , [ 'representation' ] ) ) ) ) = 0 ;
          wr2:  SIZEOF ( QUERY ( adr <* applied_document_reference | NOT ( ( adr . role . name = 'general tolerance definition' ) OR item_correlation ( adr . items , [ 'approval' , 'certification' , 'class' , 'class_system' , 'configuration_design' , 'configuration_item' , 'contract' , 'general_property' , 'material_designation' , 'organization' , 'organizational_project' , 'person' , 'product_concept' , 'product_concept_feature' , 'product_concept_feature_category' , 'product_definition' , 'product_definition_formation' , 'product_definition_formation_relationship' , 'product_definition_relationship' , 'product_definition_substitute' , 'product_related_product_category' , 'property_definition' , 'representation' , 'security_classification' , 'shape_aspect' , 'shape_aspect_relationship' ] ) ) ) ) = 0 ;
END_RULE; -- restrict_document_reference

public class RRestrict_document_reference
          public int rWr2(SdaiContext _context)
          public int rWr1(SdaiContext _context)
          public int run(SdaiContext _context, A_string violations)