Overview Schemas Index

PRODUCT_PROPERTY_REPRESENTATION_SCHEMA (jsdai.SProduct_property_representation_schema)


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)