String Control Data
@Serializable
A data-transfer object carrying the state of a single StringControlIfc.
Parallel to ControlData for numeric controls, but holds a String value and an optional constraint list instead of a numeric range.
Parameters
key Name
unique access key: "${elementName}.${propertyName}"
value
current string value of the control
allowed Values
the set of permitted values declared on the annotation; an empty list means unconstrained (any string is accepted)
element Name
name of the model element that owns this control
element Id
identifier of the model element
element Type
simple class name of the model element
property Name
name of the annotated property
comment
optional comment supplied in the annotation
model Name
name of the model that contains the element
Constructors
Link copied to clipboard
constructor(keyName: String, value: String, allowedValues: List<String>, 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())