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(@NotNull
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 compared@NotNull public java.lang.String getMessageBundle()
@NotNull public javax.money.CurrencyUnit getCurrency()
specifies the currency unit to be compared
@NotNull public javax.money.CurrencyUnit component1()
specifies the currency unit to be compared
@NotNull public CurrencyNotEquals copy(@NotNull javax.money.CurrencyUnit currency)
Represents a constraint that validate if the currency unit isn't equal to another value
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)