Class CommoditySpread
java.lang.Object
net.finmath.smartcontract.product.xml.MoneyBase
net.finmath.smartcontract.product.xml.Money
net.finmath.smartcontract.product.xml.CommoditySpread
Java class for CommoditySpread complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommoditySpread"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Money"> <sequence> <element name="spreadConversionFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="spreadUnit" type="{http://www.fpml.org/FpML-5/confirmation}QuantityUnit" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the spreadConversionFactor property.Gets the value of the spreadUnit property.void
Sets the value of the spreadConversionFactor property.void
setSpreadUnit
(QuantityUnit value) Sets the value of the spreadUnit property.Methods inherited from class net.finmath.smartcontract.product.xml.MoneyBase
getCurrency, getId, setCurrency, setId
-
Field Details
-
spreadConversionFactor
-
spreadUnit
-
-
Constructor Details
-
CommoditySpread
public CommoditySpread()
-
-
Method Details
-
getSpreadConversionFactor
Gets the value of the spreadConversionFactor property.- Returns:
- possible object is
BigDecimal
-
setSpreadConversionFactor
Sets the value of the spreadConversionFactor property.- Parameters:
value
- allowed object isBigDecimal
-
getSpreadUnit
Gets the value of the spreadUnit property.- Returns:
- possible object is
QuantityUnit
-
setSpreadUnit
Sets the value of the spreadUnit property.- Parameters:
value
- allowed object isQuantityUnit
-