Skip to content
pCon.configurator onlineDocumentation
Esc
↑↓navigate↵open⌘Jpreview
On this page

PropertyType

Synopsis

enum PropertyType {
    Character,
    Numeric,
    Length,
    Boolean
}

The PropertyType enumeration is used to specify the fundamental type of an article property. The following enumeration values are defined:

Character

The value of a character property consists of a possible empty sequence of arbitrary characters. Properties of type Character are also called string properties.

Numeric

The value of a numeric property is a fixed point decimal number. The complete property definition (§Property) contains both the total number of digits and the precision (the number of digits right of the decimal point).

Length

A property of this type is a numeric property with the additional semantics that the value represents a length in meter. Properties of this type are used to allow the user interface to convert the property values into another unit before they are displayed to the user.

Boolean

Previously, boolean properties have been treated as properties of type Numeric with values one and zero for true and false when returned by operations getArticleData, getChoiceList and getAllChoiceLists, or zero and non-zero for false and true when set with operation setPropertyValue.

An optional boolean field enableBooleanPropType has been added to the options argument passed to these operations. Its default value is false, resulting in no change of behavior.