standard-types
The standard-types expansion resourceExpansion Resource (ExpansionResource). A reusable resource bundle containing expanders and features that provide specific application capabilities, defined in the expansion settings and added to the classpath during expansion. provides several additional ValueTypes that extend the core ValueType with
custom validations. These types are useful in most business domains.
| Type | Description |
|---|---|
| Ean13 | A string value representing an international article number code. It provides length and pattern constraints, but also full validation including checksum in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| EmailAddress | A string value representing an email address. It provides a pattern constraint, but also full validation against the RFC822 standard in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| EmailAddresses | A string value representing a comma-separated string with multiple email addresses. It provides a pattern constraint, but also full validation against the RFC822 standard in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| Iban | A string value representing an international bank account number. It provides length and pattern constraints, but also full validation including checksum in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| TelephoneNumber | A string value representing a telephone number. It provides length and pattern constraints, but also full validation for phone numbers in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| Url | A string representing an URL for http(s), ftp or file protocol. It provides a pattern constraint, but also validation against the URL standard in JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. |
| VarText | A variable-length string value. It provides additional information for sql-expanders to generate the correct type in database scripts. |
TelephoneNumber
telephone.region
SimpleValueTypeFieldTelephone numbers can have a default region assigned. In that case, numbers without the country code prefix will be interpreted as numbers within this region.
<options>
<telephone.region>BE</telephone.region>
</options>
<options>
<telephone.region>FR</telephone.region>
</options>