|
RULE restrict_group_assignment FOR (applied_group_assignment); WHERE wr2: SIZEOF ( QUERY ( aeia <* applied_group_assignment | ( aeia . role . name = 'group membership' ) AND ( NOT item_correlation ( aeia . items , [ 'geometric_representation_item' , 'shape_aspect' ] ) ) ) ) = 0 ; wr3: SIZEOF ( QUERY ( aeia <* applied_group_assignment | ( aeia . role . name = 'group membership' ) AND ( NOT ( ( SIZEOF ( aeia . items ) = SIZEOF ( QUERY ( i <* aeia . items | 'catalog_data_information_mim' + '.geometric_representation_item' IN TYPEOF ( i ) ) ) ) OR ( SIZEOF ( aeia . items ) = SIZEOF ( QUERY ( i <* aeia . items | 'catalog_data_information_mim' + '.shape_aspect' IN TYPEOF ( i ) ) ) ) ) ) ) ) = 0 ; END_RULE; -- restrict_group_assignment |
|
public class RRestrict_group_assignment public int rWr3(SdaiContext _context) public int rWr2(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |