/AWS1/CL_CNTVALIDATION¶
Defines validation rules for data table attribute values. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations. Validation rules ensure data integrity and consistency across the data table.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_minlength TYPE /AWS1/CNTLENGTHBOUNDARY /AWS1/CNTLENGTHBOUNDARY¶
The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
iv_maxlength TYPE /AWS1/CNTLENGTHBOUNDARY /AWS1/CNTLENGTHBOUNDARY¶
The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
iv_minvalues TYPE /AWS1/CNTVALUEBOUNDARY /AWS1/CNTVALUEBOUNDARY¶
The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
iv_maxvalues TYPE /AWS1/CNTVALUEBOUNDARY /AWS1/CNTVALUEBOUNDARY¶
The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
iv_ignorecase TYPE /AWS1/CNTBOOLEAN /AWS1/CNTBOOLEAN¶
Boolean that defaults to false. Applies to text lists and text primary attributes. When true, enforces case-insensitive uniqueness for primary attributes and allows case-insensitive lookups.
iv_minimum TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
iv_maximum TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
iv_exclusiveminimum TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
iv_exclusivemaximum TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
iv_multipleof TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
io_enum TYPE REF TO /AWS1/CL_CNTVALIDATIONENUM /AWS1/CL_CNTVALIDATIONENUM¶
Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
Queryable Attributes¶
MinLength¶
The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINLENGTH() |
Getter for MINLENGTH |
MaxLength¶
The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXLENGTH() |
Getter for MAXLENGTH |
MinValues¶
The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINVALUES() |
Getter for MINVALUES |
MaxValues¶
The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXVALUES() |
Getter for MAXVALUES |
IgnoreCase¶
Boolean that defaults to false. Applies to text lists and text primary attributes. When true, enforces case-insensitive uniqueness for primary attributes and allows case-insensitive lookups.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_IGNORECASE() |
Getter for IGNORECASE |
Minimum¶
The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINIMUM() |
Getter for MINIMUM |
ASK_MINIMUM() |
Getter for MINIMUM w/ exceptions if field has no value |
STR_MINIMUM() |
String format for MINIMUM |
Maximum¶
The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXIMUM() |
Getter for MAXIMUM |
ASK_MAXIMUM() |
Getter for MAXIMUM w/ exceptions if field has no value |
STR_MAXIMUM() |
String format for MAXIMUM |
ExclusiveMinimum¶
The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXCLUSIVEMINIMUM() |
Getter for EXCLUSIVEMINIMUM |
ASK_EXCLUSIVEMINIMUM() |
Getter for EXCLUSIVEMINIMUM w/ exceptions if field has no va |
STR_EXCLUSIVEMINIMUM() |
String format for EXCLUSIVEMINIMUM |
ExclusiveMaximum¶
The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXCLUSIVEMAXIMUM() |
Getter for EXCLUSIVEMAXIMUM |
ASK_EXCLUSIVEMAXIMUM() |
Getter for EXCLUSIVEMAXIMUM w/ exceptions if field has no va |
STR_EXCLUSIVEMAXIMUM() |
String format for EXCLUSIVEMAXIMUM |
MultipleOf¶
Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MULTIPLEOF() |
Getter for MULTIPLEOF |
ASK_MULTIPLEOF() |
Getter for MULTIPLEOF w/ exceptions if field has no value |
STR_MULTIPLEOF() |
String format for MULTIPLEOF |
Enum¶
Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENUM() |
Getter for ENUM |