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