Package no.unit.nva.model.funding
Class MonetaryAmount
- java.lang.Object
-
- no.unit.nva.model.funding.MonetaryAmount
-
public class MonetaryAmount extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MonetaryAmount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetAmount()CurrencygetCurrency()inthashCode()voidsetAmount(long amount)voidsetCurrency(Currency currency)
-
-
-
Method Detail
-
getCurrency
public Currency getCurrency()
-
setCurrency
public void setCurrency(Currency currency)
-
getAmount
public long getAmount()
-
setAmount
public void setAmount(long amount)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-