Overview Schemas Index

CATALOG_DATA_INFORMATION_MIM (jsdai.SCatalog_data_information_mim)


RULE restrict_organization_assignment FOR (applied_organization_assignment);
 
WHERE
          wr1:  SIZEOF ( QUERY ( aoa <* applied_organization_assignment | ( aoa . role . name = 'organization in contract' ) AND ( NOT item_correlation ( aoa . items , [ 'contract' ] ) ) ) ) = 0 ;
          wr2:  SIZEOF ( QUERY ( aoa <* applied_organization_assignment | ( aoa . role . name = 'signing for contract' ) AND ( NOT item_correlation ( aoa . items , [ 'applied_organization_assignment' ] ) ) ) ) = 0 ;
          wr3:  SIZEOF ( QUERY ( aoa <* applied_organization_assignment | ( aoa . role . name = 'validity context' ) AND ( NOT item_correlation ( aoa . items , [ 'property_definition' ] ) ) ) ) = 0 ;
          wr4:  SIZEOF ( QUERY ( aoa <* applied_organization_assignment | ( aoa . role . name = 'alias scope' ) AND ( NOT item_correlation ( aoa . items , [ 'applied_identification_assignment' ] ) ) ) ) = 0 ;
END_RULE; -- restrict_organization_assignment

public class RRestrict_organization_assignment
          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)