public class CurrencyNotEquals
Represents a constraint that validate if the currency unit isn't equal to another value
| Constructor and Description |
|---|
CurrencyNotEquals(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit isn't equal to another value
|
| Modifier and Type | Method and Description |
|---|---|
javax.money.CurrencyUnit |
component1()
specifies the currency unit to be compared
|
CurrencyNotEquals |
copy(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit isn't 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 CurrencyNotEquals(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit isn't 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 CurrencyNotEquals copy(javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit isn't equal to another value
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)