XML Configuration Reference : Datamodel : DataModelEnum
 
DataModelEnum
com.exalead.datamodel.v10.DataModelEnum
A custom enum allows you to define a closed list of values for a property. Note that i18n is not implemented. This option is not recommended.
Parent elements:
com.exalead.datamodel.v10.DataModel (as DataModel)
Attributes:
Name
Type
Default value
Description
name
string
strict
boolean
If strict, this data type will only accept values listed in elements. Warning: This is not implemented for the moment.
defaultValue
int
-1
Index of default value in the elements list. -1 = no default value for property
Nested elements:
Name
Type
Description
DataModelEnumElement
com.exalead.datamodel.v10.DataModelEnumElement*
Possible values for the enum.
Label
com.exalead.datamodel.v10.Label*
Labels for i18n. TODO not implemented