Script: Class dw.object.ObjectAttributeValueDefinition

Class ObjectAttributeValueDefinition

  • Object
    • dw.object.ObjectAttributeValueDefinition

Represents the value definition associated with an object attribute.

Properties

displayValue : String Read Only

A display name that can be used to present this value in the user interface. For example, the value might be '1' but the display name might be 'Order Exported'.

value : Object Read Only

The actual value for the attribute.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getDisplayValue() : String

Returns a display name that can be used to present this value in the user interface.

getValue() : Object

Returns the actual value for the attribute.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getDisplayValue

getDisplayValue() : String

Returns a display name that can be used to present this value in the user interface. For example, the value might be '1' but the display name might be 'Order Exported'.

Returns:

a display name that can be used to present this value in the user interface.

getValue

getValue() : Object

Returns the actual value for the attribute.

Returns:

the actual value for the attribute.