Class CommodityBasketUnderlyingByNotional
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityBasketUnderlyingBase
net.finmath.smartcontract.product.xml.CommodityBasketUnderlyingByNotional
Java class for CommodityBasketUnderlyingByNotional complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityBasketUnderlyingByNotional"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}CommodityBasketUnderlyingBase"> <sequence> <element name="fx" type="{http://www.fpml.org/FpML-5/confirmation}CommodityFx" minOccurs="0"/> <element name="conversionFactor" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityNotionalQuantity.model"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected CommodityFx
protected CommodityNotionalQuantity
protected CommodityNotionalQuantitySchedule
protected QuantityReference
protected List
<CommoditySettlementPeriodsNotionalQuantity> protected BigDecimal
Fields inherited from class net.finmath.smartcontract.product.xml.CommodityBasketUnderlyingBase
averagingMethod, commodity, direction, id, pricingDates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the conversionFactor property.getFx()
Gets the value of the fx property.Gets the value of the notionalQuantity property.Gets the value of the notionalQuantitySchedule property.Gets the value of the quantityReference property.Gets the value of the settlementPeriodsNotionalQuantity property.Gets the value of the totalNotionalQuantity property.void
setConversionFactor
(BigDecimal value) Sets the value of the conversionFactor property.void
setFx
(CommodityFx value) Sets the value of the fx property.void
Sets the value of the notionalQuantity property.void
Sets the value of the notionalQuantitySchedule property.void
Sets the value of the quantityReference property.void
Sets the value of the totalNotionalQuantity property.Methods inherited from class net.finmath.smartcontract.product.xml.CommodityBasketUnderlyingBase
getAveragingMethod, getCommodity, getDirection, getId, getPricingDates, setAveragingMethod, setCommodity, setDirection, setId, setPricingDates
-
Field Details
-
fx
-
conversionFactor
-
notionalQuantitySchedule
-
notionalQuantity
-
settlementPeriodsNotionalQuantity
-
totalNotionalQuantity
-
quantityReference
-
-
Constructor Details
-
CommodityBasketUnderlyingByNotional
public CommodityBasketUnderlyingByNotional()
-
-
Method Details
-
getFx
Gets the value of the fx property.- Returns:
- possible object is
CommodityFx
-
setFx
Sets the value of the fx property.- Parameters:
value
- allowed object isCommodityFx
-
getConversionFactor
Gets the value of the conversionFactor property.- Returns:
- possible object is
BigDecimal
-
setConversionFactor
Sets the value of the conversionFactor property.- Parameters:
value
- allowed object isBigDecimal
-
getNotionalQuantitySchedule
Gets the value of the notionalQuantitySchedule property.- Returns:
- possible object is
CommodityNotionalQuantitySchedule
-
setNotionalQuantitySchedule
Sets the value of the notionalQuantitySchedule property.- Parameters:
value
- allowed object isCommodityNotionalQuantitySchedule
-
getNotionalQuantity
Gets the value of the notionalQuantity property.- Returns:
- possible object is
CommodityNotionalQuantity
-
setNotionalQuantity
Sets the value of the notionalQuantity property.- Parameters:
value
- allowed object isCommodityNotionalQuantity
-
getSettlementPeriodsNotionalQuantity
Gets the value of the settlementPeriodsNotionalQuantity property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
set
method for the settlementPeriodsNotionalQuantity property.For example, to add a new item, do as follows:
getSettlementPeriodsNotionalQuantity().add(newItem);
Objects of the following type(s) are allowed in the list
CommoditySettlementPeriodsNotionalQuantity
-
getTotalNotionalQuantity
Gets the value of the totalNotionalQuantity property.- Returns:
- possible object is
BigDecimal
-
setTotalNotionalQuantity
Sets the value of the totalNotionalQuantity property.- Parameters:
value
- allowed object isBigDecimal
-
getQuantityReference
Gets the value of the quantityReference property.- Returns:
- possible object is
QuantityReference
-
setQuantityReference
Sets the value of the quantityReference property.- Parameters:
value
- allowed object isQuantityReference
-