Class NonNegativeMoney
java.lang.Object
net.finmath.smartcontract.product.xml.MoneyBase
net.finmath.smartcontract.product.xml.NonNegativeMoney
- Direct Known Subclasses:
CommodityNotionalAmount,FutureValueAmount,FxOptionPayout,MoneyWithParticipantShare,NotionalAmount
A type defining a non negative money amount.
Java class for NonNegativeMoney complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NonNegativeMoney">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}MoneyBase">
<sequence>
<element name="amount" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the amount property.voidsetAmount(BigDecimal value) Sets the value of the amount property.Methods inherited from class net.finmath.smartcontract.product.xml.MoneyBase
getCurrency, getId, setCurrency, setId
-
Field Details
-
amount
-
-
Constructor Details
-
NonNegativeMoney
public NonNegativeMoney()
-
-
Method Details
-
getAmount
Gets the value of the amount property.- Returns:
- possible object is
BigDecimal
-
setAmount
Sets the value of the amount property.- Parameters:
value- allowed object isBigDecimal
-