Entity validation APIs.
method fail(errorText as string)
Raises an entity validation exception and terminates execution.
Since 1.5.1
method failIf(condition as bool, errorText as string)
If the condition is true raises an entity validation exception and terminates execution.
Since 1.5.1
method reject(entityName as string, propertyName as string, errorText as string)
Rejects the value of the specified property and terminates execution.
method rejectIf(condition as bool, entityName as string, propertyName as string, errorText as string)
If the condition is true rejects the value of the specified property and terminates execution.
Since 1.5.1
method rejectItem(childEntityName as string, childPropertyName as string, index as int, errorText as string)
Rejects the value of the specified property of a child entity (at index) and terminates execution.
Since 1.5.1
method rejectItemIf(condition as bool, childEntityName as string, childPropertyName as string, index as int, errorText as string)
If the condition is true rejects the value of the specified property of a child entity (at index) and terminates execution.
Since 1.5.1