ControlData

@Serializable
data class ControlData(val controlType: ControlType, val value: Double, val keyName: String, val lowerBound: Double, val upperBound: Double, val elementName: String, val elementId: Int, val elementType: String, val propertyName: String, val comment: String, val modelName: String)

A data class for transferring the data associated with a control.

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.

Constructors

Link copied to clipboard
constructor(controlType: ControlType, value: Double, keyName: String, lowerBound: Double, upperBound: Double, elementName: String, elementId: Int, elementType: String, propertyName: String, comment: String, modelName: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard