company logo

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.

Return value:   - internal feature (not documented) ( odaba::EnumStringTypes  )

Implementation overview

Implementation details

  1. 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.

  2. to list
  3. 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)
  4. to list