|
ENTITY format_function SUBTYPE OF (string_expression, binary_generic_expression); DERIVE value_to_format : generic_expression := SELF \ binary_generic_expression . operands [ 1 ] ; format_string : generic_expression := SELF \ binary_generic_expression . operands [ 2 ] ; WHERE wr1: ( ( 'iso13584_expressions_schema.numeric_expression' ) IN TYPEOF ( value_to_format ) ) AND ( ( 'iso13584_expressions_schema.string_expression' ) IN TYPEOF ( format_string ) ) ; END_ENTITY; -- format_function |
Entity data types and their attributesgeneric_expression- expression - string_expression - binary_generic_expression operands: LIST [2:2] OF generic_expression; format_function (DER) value_to_format: generic_expression; (DER) format_string: generic_expression; |
Global rules for this entity data type- |
public interface EFormat_function extends EString_expression, EBinary_generic_expressionvalue_to_format (derived attribute)EGeneric_expression getValue_to_format(EFormat_function type)boolean testValue_to_format(EFormat_function type) format_string (derived attribute)EGeneric_expression getFormat_string(EFormat_function type)boolean testFormat_string(EFormat_function type) |
public class CFormat_function implements EFormat_functionstatic EAttribute attributeValue_to_format(EFormat_function type)static int usedinValue_to_format(EFormat_function type, EGeneric_expression instance, ASdaiModel domain, AFormat_function result) static EAttribute attributeFormat_string(EFormat_function type) static int usedinFormat_string(EFormat_function type, EGeneric_expression instance, ASdaiModel domain, AFormat_function result) |
public class AFormat_function extends AEntitypublic EFormat_function getByIndex(int index)public EFormat_function getCurrentMember(SdaiIterator it) |