Class CommodityNotionalAmount
java.lang.Object
net.finmath.smartcontract.product.xml.MoneyBase
net.finmath.smartcontract.product.xml.NonNegativeMoney
net.finmath.smartcontract.product.xml.CommodityNotionalAmount
A complex type to specify the notional amount.
Java class for CommodityNotionalAmount complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityNotionalAmount">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}NonNegativeMoney">
<sequence>
<element name="reinvestmentFeature" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class net.finmath.smartcontract.product.xml.NonNegativeMoney
amount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the reinvestmentFeature property.voidsetReinvestmentFeature(boolean value) Sets the value of the reinvestmentFeature property.Methods inherited from class net.finmath.smartcontract.product.xml.NonNegativeMoney
getAmount, setAmountMethods inherited from class net.finmath.smartcontract.product.xml.MoneyBase
getCurrency, getId, setCurrency, setId
-
Field Details
-
reinvestmentFeature
protected boolean reinvestmentFeature
-
-
Constructor Details
-
CommodityNotionalAmount
public CommodityNotionalAmount()
-
-
Method Details
-
isReinvestmentFeature
public boolean isReinvestmentFeature()Gets the value of the reinvestmentFeature property. -
setReinvestmentFeature
public void setReinvestmentFeature(boolean value) Sets the value of the reinvestmentFeature property.
-