RULE restrict_group_relationship_for_classification_hierarchy FOR (group_relationship); WHERE wr1: SIZEOF( QUERY( gr <* group_relationship | (gr\group_relationship.name = 'class hierarchy') AND (NOT('CLASSIFICATION_WITH_ATTRIBUTES_MIM.CLASS' IN TYPEOF(gr\group_relationship.related_group)) OR NOT('CLASSIFICATION_WITH_ATTRIBUTES_MIM.CLASS' IN TYPEOF(gr\group_relationship.relating_group))) )) = 0; END_RULE; -- restrict_group_relationship_for_classification_hierarchy |
public class RRestrict_group_relationship_for_classification_hierarchy public int rWr1(SdaiContext _context) public int run(SdaiContext _context, A_string violations) |