Overview Schemas Index

CATALOG_DATA_INFORMATION_MIM (jsdai.SCatalog_data_information_mim)


RULE restrict_effectivity_assignment_for_class_category_usage FOR (applied_effectivity_assignment);
 
WHERE
          wr1:  SIZEOF  ( QUERY  ( aea <* applied_effectivity_assignment | ( ( SIZEOF  ( QUERY  ( i <* aea . items | ( 'catalog_data_information_mim' + '.product_concept_feature_category_usage' IN  TYPEOF  ( i ) ) ) ) > 0 ) AND ( ( SIZEOF  ( QUERY  ( i <* aea . items | ( 'catalog_data_information_mim' + '.product_concept_feature_category_usage' IN  TYPEOF  ( i ) ) ) ) <> SIZEOF  ( aea . items ) ) OR  ( SIZEOF  ( TYPEOF  ( aea . assigned_effectivity ) * [ 'catalog_data_information_mim' + '.time_interval_based_effectivity' , 'catalog_data_information_mim' + '.dated_effectivity' , 'catalog_data_information_mim' + '.serial_numbered_effectivity' , 'catalog_data_information_mim' + '.lot_effectivity' , 'catalog_data_information_mim' + '.product_definition_effectivity' ] ) > 0 ) OR  ( aea . assigned_effectivity . id <> 'class usage' ) OR ( SIZEOF ( QUERY ( cueca <* USEDIN ( aea , 'catalog_data_information_mim' + '.effectivity_context_assignment.assigned_effectivity_assignment' ) | 'catalog_data_information_mim' + '.class_usage_effectivity_context_assignment' IN TYPEOF ( cueca ) ) ) = 0 ) ) ) ) ) = 0 ;
END_RULE; -- restrict_effectivity_assignment_for_class_category_usage

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