public class CurrencyEquals
Represents a constraint that validate if the currency unit is equal to another value
| Constructor and Description |
|---|
CurrencyEquals(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit is equal to another value
|
| Modifier and Type | Method and Description |
|---|---|
javax.money.CurrencyUnit |
component1()
specifies the currency unit to be compared
|
CurrencyEquals |
copy(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit is equal to another value
|
boolean |
equals(java.lang.Object p) |
javax.money.CurrencyUnit |
getCurrency()
specifies the currency unit to be compared
|
java.lang.String |
getMessageBundle() |
int |
hashCode() |
java.lang.String |
toString() |
public CurrencyEquals(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit is equal to another value
currency - specifies the currency unit to be comparedpublic java.lang.String getMessageBundle()
public javax.money.CurrencyUnit getCurrency()
specifies the currency unit to be compared
public javax.money.CurrencyUnit component1()
specifies the currency unit to be compared
public CurrencyEquals copy(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit is equal to another value
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)