public class MonetaryAmountFunctionsKt
| Modifier and Type | Method and Description |
|---|---|
static <E,T extends MonetaryAmount> |
hasCurrencyEqualTo(org.valiktor.Validator.Property<T> $receiver,
javax.money.CurrencyUnit currency)
Validates if the currency unit is equal to another value
|
static <E,T extends MonetaryAmount> |
hasCurrencyIn(org.valiktor.Validator.Property<T> $receiver,
javax.money.CurrencyUnit... currencies)
Validates if the currency unit is equal to one of the values
|
static <E,T extends MonetaryAmount> |
hasCurrencyIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Validates if the currency unit is equal to one of the values
|
static <E,T extends MonetaryAmount> |
hasCurrencyNotEqualTo(org.valiktor.Validator.Property<T> $receiver,
javax.money.CurrencyUnit currency)
Validates if the currency unit isn't equal to another value
|
static <E,T extends MonetaryAmount> |
hasCurrencyNotIn(org.valiktor.Validator.Property<T> $receiver,
javax.money.CurrencyUnit... currencies)
Validates if the currency unit isn't equal to any value
|
static <E,T extends MonetaryAmount> |
hasCurrencyNotIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Validates if the currency unit isn't equal to any value
|
static <E,T extends MonetaryAmount> |
hasDecimalDigits(org.valiktor.Validator.Property<T> $receiver,
int min,
int max)
Validates if the MonetaryAmount decimal digits (after decimal separator) is within the limits (min and max)
|
static <E,T extends MonetaryAmount> |
hasIntegerDigits(org.valiktor.Validator.Property<T> $receiver,
int min,
int max)
Validates if the MonetaryAmount integer digits (before decimal separator) is within the limits (min and max)
|
static <E,T extends MonetaryAmount> |
isBetween(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number start,
java.lang.Number end)
Validates if the MonetaryAmount number property is between two Number values
|
static <E,T extends MonetaryAmount> |
isEqualTo(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property is equal to another Number value
|
static <E,T extends MonetaryAmount> |
isGreaterThan(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property is greater than another Number value
|
static <E,T extends MonetaryAmount> |
isGreaterThanOrEqualTo(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property is greater than or equal to another Number value
|
static <E,T extends MonetaryAmount> |
isIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number... values)
Validates if the MonetaryAmount number property is equal to one of the Number values
|
static <E,T extends MonetaryAmount> |
isIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Iterable<? extends java.lang.Number> values)
Validates if the MonetaryAmount number property is equal to one of the Number values
|
static <E,T extends MonetaryAmount> |
isLessThan(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property is less than another Number value
|
static <E,T extends MonetaryAmount> |
isLessThanOrEqualTo(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property is less than or equal to another Number value
|
static <E,T extends MonetaryAmount> |
isNegative(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is negative
|
static <E,T extends MonetaryAmount> |
isNegativeOrZero(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property isn't positive
|
static <E,T extends MonetaryAmount> |
isNotBetween(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number start,
java.lang.Number end)
Validates if the MonetaryAmount number property isn't between two Number values
|
static <E,T extends MonetaryAmount> |
isNotEqualTo(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number value)
Validates if the MonetaryAmount number property isn't equal to another Number value
|
static <E,T extends MonetaryAmount> |
isNotIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Number... values)
Validates if the MonetaryAmount number property isn't equal to any Number value
|
static <E,T extends MonetaryAmount> |
isNotIn(org.valiktor.Validator.Property<T> $receiver,
java.lang.Iterable<? extends java.lang.Number> values)
Validates if the MonetaryAmount number property isn't equal to any Number value
|
static <E,T extends MonetaryAmount> |
isNotOne(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is not equal to one
|
static <E,T extends MonetaryAmount> |
isNotZero(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is not equal to zero
|
static <E,T extends MonetaryAmount> |
isOne(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is equal to one
|
static <E,T extends MonetaryAmount> |
isPositive(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is positive
|
static <E,T extends MonetaryAmount> |
isPositiveOrZero(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property isn't negative
|
static <E,T extends MonetaryAmount> |
isZero(org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is equal to zero
|
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property is equal to another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property isn't equal to another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number... values)
Validates if the MonetaryAmount number property is equal to one of the Number values
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Iterable<? extends java.lang.Number> values)
Validates if the MonetaryAmount number property is equal to one of the Number values
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number... values)
Validates if the MonetaryAmount number property isn't equal to any Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Iterable<? extends java.lang.Number> values)
Validates if the MonetaryAmount number property isn't equal to any Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isLessThan(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property is less than another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isLessThanOrEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property is less than or equal to another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isGreaterThan(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property is greater than another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isGreaterThanOrEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number value)
Validates if the MonetaryAmount number property is greater than or equal to another Number value
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isBetween(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number start, @NotNull java.lang.Number end)
Validates if the MonetaryAmount number property is between two Number values
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotBetween(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Number start, @NotNull java.lang.Number end)
Validates if the MonetaryAmount number property isn't between two Number values
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isZero(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is equal to zero
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotZero(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is not equal to zero
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isOne(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is equal to one
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNotOne(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is not equal to one
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isPositive(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is positive
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isPositiveOrZero(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property isn't negative
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNegative(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property is negative
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> isNegativeOrZero(@NotNull org.valiktor.Validator.Property<T> $receiver)
Validates if the MonetaryAmount property isn't positive
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasIntegerDigits(@NotNull org.valiktor.Validator.Property<T> $receiver, int min, int max)
Validates if the MonetaryAmount integer digits (before decimal separator) is within the limits (min and max)
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasDecimalDigits(@NotNull org.valiktor.Validator.Property<T> $receiver, int min, int max)
Validates if the MonetaryAmount decimal digits (after decimal separator) is within the limits (min and max)
@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull javax.money.CurrencyUnit currency)
Validates if the currency unit is equal to another value
currency - specifies the currency unit to be compared@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyNotEqualTo(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull javax.money.CurrencyUnit currency)
Validates if the currency unit isn't equal to another value
currency - specifies the currency unit to be compared@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull javax.money.CurrencyUnit... currencies)
Validates if the currency unit is equal to one of the values
currencies - specifies the currencies to be compared@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Validates if the currency unit is equal to one of the values
currencies - specifies the currencies to be compared@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyNotIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull javax.money.CurrencyUnit... currencies)
Validates if the currency unit isn't equal to any value
currencies - specifies the currencies to be compared@NotNull public static <E,T extends MonetaryAmount> org.valiktor.Validator.Property<T> hasCurrencyNotIn(@NotNull org.valiktor.Validator.Property<T> $receiver, @NotNull java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Validates if the currency unit isn't equal to any value
currencies - specifies the currencies to be compared