CDL Data Types

Get details about the data types that you can use in CDL.

You can use these data types:

  • Integer
  • Decimal
  • Boolean
  • Text
  • Node

A variable's data type might not work with the type that Oracle Configurator expects. You can't explicitly convert a data type to another data type, but Configurator can implicitly convert a data type. Here are the data types that Configurator will implicitly convert.

If Your Data Type Is Then Configurator Implicitly Converts It To
Integer Decimal

In one of these types of nodes:

  • Standard Item
  • Option Class
  • Model
  • Option Feature
  • Option
  • Boolean Feature

Boolean

Integer

Decimal

Node

In an Integer Feature node

Integer

Decimal

In a Decimal Feature node Decimal

If your rule has the wrong data type, then Configurator will display an error message. An Invalid Collection message means Configurator can't implicitly convert your data types so they work correctly with each other.

You can use the Text data type only with static text. You can't use a text literal, reference, or expression with the Constrain, Add, or Subtract keywords. Configurator validates this usage when you save the model.