Overview Schemas Index

PHYSICAL_UNIT_USAGE_VIEW_XIM (jsdai.SPhysical_unit_usage_view_xim)


FUNCTION acyclic_part_feature_precedence_relationship
          (relation : part_feature, relatives : SET [1:?] OF part_feature, specific_relation : STRING) : BOOLEAN;

 LOCAL x : SET OF part_feature ; END_LOCAL ; IF  relation . precedent_feature IN  relatives THEN  RETURN  ( FALSE  ) ; END_IF  ; x := QUERY ( pd <* bag_to_set ( USEDIN ( relation . precedent_feature , 'physical_unit_usage_view_arm.' + 'part_feature.' + 'subsequent_feature' ) ) | specific_relation IN TYPEOF ( pd ) ) ; REPEAT i := 1 TO HIINDEX ( x ) ; IF NOT acyclic_part_feature_precedence_relationship ( x [ i ] , relatives + relation . precedent_feature , specific_relation ) THEN RETURN  ( FALSE ) ; END_IF ; END_REPEAT ; RETURN ( TRUE ) ; 

END_FUNCTION; -- acyclic_part_feature_precedence_relationship

public class FAcyclic_part_feature_precedence_relationship
          public static Value run(SdaiContext _context, Value relation, Value relatives, Value specific_relation)