|
FUNCTION get_description_value (obj : description_attribute_select) : text; LOCAL description_bag : BAG OF description_attribute := ( USEDIN ( obj , 'basic_attribute_schema.' + 'description_attribute.' + 'described_item' ) ) ; END_LOCAL ; IF SIZEOF ( description_bag ) = 1 THEN RETURN ( description_bag [ 1 ] . attribute_value ) ; ELSE RETURN ( ? ) ; END_IF ; END_FUNCTION; -- get_description_value |
|
public class FGet_description_value public static Value run(SdaiContext _context, Value obj) |