Module rxmicro.validation
Package io.rxmicro.validation.constraint
-
Enum Summary Enum Description Base64URLEncoded.Alphabet Validation alphabetCountryCode.Format The country code formatIP.Version IP versionsPattern.Flag Possible Regexp flags.TruncatedTime.Truncated -
Annotation Types Summary Annotation Type Description AssertFalse The annotated element must be false.AssertTrue The annotated element must be true.Base64URLEncoded The annotated element must be a valid Base64 string.CountryCode The annotated element must be a valid country code.DigitsOnly The annotated element must be a string value with digit characters only.DomainName The annotated element must be a valid domain name.Email The annotated element must be a well-formed email address.Enumeration The annotated element must be an element of the predefined enumeration.Future The annotated element must be an instant in the future.FutureOrPresent The annotated element must be an instant in the present or in the future.HostName The annotated element must be a valid hostname.IP The annotated element must be a valid IP addressLat The annotated element must be a valid latitude coordinate.LatinAlphabetOnly The annotated element must be a string with latin alphabet letters only.Length The annotated element must have the expected string length.Lng The annotated element must be a valid longitude coordinateLowercase The annotated element must a lowercase string.MaxDouble The annotated element must be a double whose value must be lower to the specified maximum.MaxInt The annotated element must be a byte or short or integer or long whose value must be lower or equal to the specified maximum.MaxLength The annotated element must have a string length whose value must be lower or equal to the specified maximum.MaxNumber The annotated element must be a number whose value must be lower or equal to the specified maximum.MaxSize The annotated element must have a list size whose value must be lower or equal to the specified maximum.MinDouble The annotated element must be a double whose value must be higher or equal to the specified minimum.MinInt The annotated element must be a byte or short or integer or long whose value must be higher or equal to the specified minimum.MinLength The annotated element must have a string length whose value must be higher or equal to the specified minimum.MinNumber The annotated element must be a number whose value must be higher or equal to the specified minimum.MinSize The annotated element must have a list size whose value must be higher or equal to the specified minimum.Nullable The annotated element may be optional, i.e.NullableArrayItem The annotated array element may be optional, i.e.Numeric The annotated element must be a decimal within accepted range (scale and precision).Past The annotated element must be an instant in the past.PastOrPresent The annotated element must be an instant in the past or in the present.Pattern The annotatedStringmust match the specified regular expression.Phone The annotated element must be a valid phone number.Size The annotated element must have the expected list size.Skype The annotated element must be a valid skype number.SubEnum The annotated element must be an enumeration with predefined sub sequence.Telegram The annotated element must be a valid telegram number.TruncatedTime The annotated element must be an instant with truncated time value.UniqueItems The annotated element must contain unique items.Uppercase The annotated element must a uppercase string.URI The annotated element must be a validURIaddress.URLEncoded The annotated element must be a valid URL encoded value.Viber The annotated element must be a valid viber number.WhatsApp The annotated element must be a valid whatsapp number.