ControlData

constructor(controlType: ControlType, value: Double, keyName: String, lowerBound: Double, upperBound: Double, elementName: String, elementId: Int, elementType: String, propertyName: String, comment: String, modelName: String, parentElementName: String? = null, parentElementId: Int? = null, parentElementType: String? = null, elementPath: List<String> = emptyList())(source)

Parameters

controlType

the type of control (DOUBLE, INTEGER, LONG, FLOAT, SHORT, BYTE, BOOLEAN)

value

the value of the control

keyName

the name for the control. This is the string "

${elementName}.$

{propertyName}"

lowerBound

the lower bound permitted for the control

upperBound

the upper bound permitted for the control

elementName

The name of the model element that has the control.

elementType

The simple class name associated with the model element that has the control.

elementId

The id of the model element associated with the control

propertyName

The name of the property annotated by the control

comment

The comment string that was supplied in the control annotation.

modelName

The name of the model that holds the element associated with the control.

parentElementName

Name of the parent of the model element that holds the control, or null when that element is a direct child of the Model. Old snapshots that pre-date this field deserialize with null.

parentElementId

Identifier of the parent model element, or null.

parentElementType

Simple class name of the parent model element, or null.

elementPath

Ancestor names from the model root down to (but not including) the model element holding the control, also excluding the Model itself. Empty when the holding element is a direct child of the Model. Old snapshots deserialize with an empty list.