Value :: enumStringType - Current enumeration string type
Enumeration values may be provided as enumeration code (number) and string value (name). In order to support different names for enumerations and several languages, one may change the enumString property. The property may contain one of the following enumeration values:
- EnumName - language independent enumerator name as being used in programming code (default)
- EnumLabel - language dependent short name
- EnumTitle - language depending long title
- EnumCondition - language independent condition
- EnumType - type associated with the enumeration value depending description
Assigning string values to the the value handle or converting the attribute value to string (toString()), refers to the string value selected by the string type.
Getting or setting the property value throws an exception, when the value is not an enumerated attribute.
Implementation overview
- Get enumeration string type currently set
Value :: enumStringType (  ) - Set enumeration string type
Value :: enumStringType ( eEnumStringType )
Implementation details
-
Get enumeration string type currently set
odaba::EnumStringTypes Value  :: enumStringType (  )
The function returns the enumeration string type currently set for the value. When the value is not an enumerated attribute, the function throws an exception.
to list
-
Set enumeration string type
odaba::EnumStringTypes Value  :: enumStringType ( odaba::EnumStringTypes eEnumStringType )
The function sets the type of enumeration string value to be returned by the
- eEnumStringType - - internal feature (not documented)
to list