public class CurrencyIn
Represents a constraint that validate if the currency unit is equal to one of the values
| Constructor and Description |
|---|
CurrencyIn(java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Represents a constraint that validate if the currency unit is equal to one of the values
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<javax.money.CurrencyUnit> |
component1()
specifies the currencies to be compared
|
CurrencyIn |
copy(java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Represents a constraint that validate if the currency unit is equal to one of the values
|
boolean |
equals(java.lang.Object p) |
java.lang.Iterable<javax.money.CurrencyUnit> |
getCurrencies()
specifies the currencies to be compared
|
java.lang.String |
getMessageBundle() |
int |
hashCode() |
java.lang.String |
toString() |
public CurrencyIn(@NotNull
java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Represents a constraint that validate if the currency unit is equal to one of the values
currencies - specifies the currencies to be compared@NotNull public java.lang.String getMessageBundle()
@NotNull public java.lang.Iterable<javax.money.CurrencyUnit> getCurrencies()
specifies the currencies to be compared
@NotNull public java.lang.Iterable<javax.money.CurrencyUnit> component1()
specifies the currencies to be compared
@NotNull public CurrencyIn copy(@NotNull java.lang.Iterable<? extends javax.money.CurrencyUnit> currencies)
Represents a constraint that validate if the currency unit is equal to one of the values
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)