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