features.ParameterConstraintsTest.sila.xml Maven / Gradle / Ivy
ParameterConstraintsTest
Parameter Constraints Test
Exposes a command with constrained parameters for test purposes.
ConstrainedStringParameters
Constrained String Parameters
A command with constrained parameters of type string
No
StringLength
Length of String
Tests the Length constraint on String type
String
10
MaximalLengthString
String Maximal Length
Tests the MaximalLength constraint on String type
String
20
MinimalLengthString
String Minimal Length
Tests the MinimalLength constraint on String type
String
5
MinMaxLengthString
String MinMax Length
Tests the combination of MinimalLength and MaximalLength constraints on String type
String
5
20
SetString
Set of Strings
Tests the Set constraint on String type
String
First option
Second option
Third option
PatternString
String Pattern
Tests the Pattern constraint on String type (date of birth in dd/mm/yyyy format)
String
[0-9]{2}/[0-9]{2}/[0-9]{2}/[0-9]{4}
ConstrainedNumericParameters
Constrained Numeric Parameters
A command with constrained parameters of type Integer or Real
No
IntegersSet
Set Of Integers
Tests the Set constraint on Integer type
Integer
1
2
3
MaximalExclusiveReal
Maximal Exclusive Real
Tests the MaximalExclusive constraint on Real type
Real
10
MinimalExclusiveReal
Minimal Exclusive Real
Tests the MinimalExclusive constraint on Real type
Real
0
MinMaxExclusiveReal
Minimal Maximal Exclusive Real
Tests the combination of MinimalExclusive and MaximalExclusive constraints on Real type
Real
0
10
MaximalInclusiveInteger
Maximal Inclusive Integer
Tests the MaximalInclusive constraint on Integer type
Integer
10
MinimalInclusiveInteger
Minimal Inclusive Integer
Tests the MinimalInclusive constraint on Integer type
Integer
0
MinMaxInclusiveInteger
Minimal Maximal Inclusive Integer
Tests the combination of MinimalInclusive and MaximalInclusive constraints on Integer type
Integer
0
10
Unit
Unit
Tests the Unit constraint
Integer
0.000001
0
Meter
3
ConstrainedDateTimeParameters
Constrained Date and Time Parameters
A command with constrained parameters of type Date, Time or Timestamp
No
MaximalExclusiveDate
Maximal Exclusive Date
Tests the MaximalExclusive constraint on Date type
Date
20191231
MinimalExclusiveDate
Minimal Exclusive Date
Tests the MinimalExclusive constraint on Date type
Date
20190101
MinMaxExclusiveDate
Minimal Maximal Exclusive Date
Tests the combination of MinimalExclusive and MaximalExclusive constraints on Date type
Date
20190201
20191130
MaximalInclusiveTime
Maximal Inclusive Time
Tests the MaximalInclusive constraint on Time type
Time
185959
MinimalInclusiveTime
Minimal Inclusive Time
Tests the MinimalInclusive constraint on Time type
Time
080000
MinMaxInclusiveTime
Minimal Maximal Inclusive Time
Tests the combination of MinimalInclusive and MaximalInclusive constraints on Time type
Time
080000
185959
ConstrainedListParameters
Constrained List Parameters
A command with constrained parameters of type List
No
ElementCountList
List with Element Count
Tests the ElementCount constraint on List type
String
5
MaximalElementCountList
List with Maximal Element Count
Test the MaximalElementCount constraint on List type
String
5
MinimalElementCountList
List with a Minimal Element Count
Tests the MinimalElementCount constraint on List type
String
3
MinMaxElementCountList
List with a Interval Element Count
Tests the combination of MinimalElementCount and MaximalElementCount constraints on List type
String
2
5
© 2015 - 2025 Weber Informatics LLC | Privacy Policy