Constraints element
Constraints specified for a parameter's value.
Usage
<Constraints>
text
child elements
</Constraints>
Attributes
There are no attributes.
Text value
Constraints specified for a parameter's value. If this tag is empty or missing, the only constraints are those for the data type of the parameter.
Child elements
Element | Description |
---|---|
LengthConstraint |
The maximum length of the string parameter. |
MaximumConstraint |
The maximum value for the parameter. |
MinimumConstraint |
The minimum value for the parameter. |
Child element sequence
(
LengthConstraint,
MinimumConstraint,
MaximumConstraint
)
Parent elements
Element | Description |
---|---|
ParameterDefinition |
Information that fully describes an assessment parameter. |
Remarks
These constraints add to those of the data type. For example, a SByte must be in the range from -128 to +127. A single precision floating point value must be from -3.4028235E+38 through -1.401298E-45 for negative values and from 1.401298E-45 through 3.4028235E+38 for positive values.
Examples
Constraints are contained in elements like this:
<Constraints>
<MinimumConstraint>1</MinimumConstraint>
<MaximumConstraint>300</MaximumConstraint>
<Constraints>
Element information
Can be empty | No |