xpfGetDefinedTypeValueOfAttrBN
FUNCTION xpfGetDefinedTypeValueOfAttrBN (instanceId : GENERIC; attributeName : STRING) valueWithType : GENERIC;
In case the actual attributes to be read in these functions are declared to be a DEFINED_TYPE, the returned value will be a typed value even though the value is untyped in the EDMdatabase. When the actual attribute domain is not a DEFINED_TYPE, these functions will have the same functionality as xpfGetAttr() and xpfGetAttrBN(). The attribute value SELECTS.attr1 will always be an untyped STRING or untyped INTEGER in EDMdb. When this value is read by one of the new functions xpfGetDefinedTypeValueOfAttrBN() or xpfGetDefinedTypeValueOfAttr(), a typed value will be returned, i.e \STRING_VAL\”a string” or \INTEGER_VAL\12345
EXPRESS schema examples: ENTITY SELECTS; attr1 : string_or_integer; END_ENTITY; TYPE STRING_OR_INTEGER = SELECT(STRING_VAL,INTEGER_VAL); END_TYPE; TYPE STRING_VAL = STRING; END_TYPE; TYPE INTEGER_VAL = INTEGER; END_TYPE;
Arguments
1 | Type | Name | Comment |
2 | GENERIC | instanceId | comments |
3 | STRING | attributeName |
Return Value
Type | Name | Comment |
GENERIC | valueWithType | comments |
Options
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.