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(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 comparedpublic java.lang.String getMessageBundle()
public java.lang.Iterable<javax.money.CurrencyUnit> getCurrencies()
specifies the currencies to be compared
public java.lang.Iterable<javax.money.CurrencyUnit> component1()
specifies the currencies to be compared
public 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
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)