|
FUNCTION get_property_definition_representations (c_def_instance : characterized_definition) : SET [0:?] OF property_definition_representation; LOCAL pd_set : SET OF property_definition := [ ] ; pdr_set : SET OF property_definition_representation := [ ] ; END_LOCAL ; pd_set := bag_to_set ( USEDIN ( c_def_instance , 'product_property_definition_schema.property_definition.definition' ) ) ; IF ( SIZEOF ( pd_set ) < 1 ) THEN RETURN ( pdr_set ) ; END_IF ; REPEAT i := 1 TO HIINDEX ( pd_set ) ; pdr_set := pdr_set + bag_to_set ( USEDIN ( pd_set [ i ] , 'product_property_representation_schema.property_definition_representation.definition' ) ) ; END_REPEAT ; RETURN ( pdr_set ) ; END_FUNCTION; -- get_property_definition_representations |
|
public class FGet_property_definition_representations public static Value run(SdaiContext _context, Value c_def_instance) |