Class CommodityBasketUnderlyingBase
java.lang.Object
net.finmath.smartcontract.product.xml.CommodityBasketUnderlyingBase
- Direct Known Subclasses:
CommodityBasketUnderlyingByNotional,CommodityBasketUnderlyingByPercentage
Java class for CommodityBasketUnderlyingBase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityBasketUnderlyingBase">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="direction" type="{http://www.fpml.org/FpML-5/confirmation}PayerReceiverEnum"/>
<element name="commodity" type="{http://www.fpml.org/FpML-5/confirmation}Commodity"/>
<element name="pricingDates" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPricingDates" minOccurs="0"/>
<element name="averagingMethod" type="{http://www.fpml.org/FpML-5/confirmation}AveragingMethodEnum" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AveragingMethodEnumprotected Commodityprotected PayerReceiverEnumprotected Stringprotected CommodityPricingDates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averagingMethod property.Gets the value of the commodity property.Gets the value of the direction property.getId()Gets the value of the id property.Gets the value of the pricingDates property.voidSets the value of the averagingMethod property.voidsetCommodity(Commodity value) Sets the value of the commodity property.voidsetDirection(PayerReceiverEnum value) Sets the value of the direction property.voidSets the value of the id property.voidSets the value of the pricingDates property.
-
Field Details
-
direction
-
commodity
-
pricingDates
-
averagingMethod
-
id
-
-
Constructor Details
-
CommodityBasketUnderlyingBase
public CommodityBasketUnderlyingBase()
-
-
Method Details
-
getDirection
Gets the value of the direction property.- Returns:
- possible object is
PayerReceiverEnum
-
setDirection
Sets the value of the direction property.- Parameters:
value- allowed object isPayerReceiverEnum
-
getCommodity
-
setCommodity
-
getPricingDates
Gets the value of the pricingDates property.- Returns:
- possible object is
CommodityPricingDates
-
setPricingDates
Sets the value of the pricingDates property.- Parameters:
value- allowed object isCommodityPricingDates
-
getAveragingMethod
Gets the value of the averagingMethod property.- Returns:
- possible object is
AveragingMethodEnum
-
setAveragingMethod
Sets the value of the averagingMethod property.- Parameters:
value- allowed object isAveragingMethodEnum
-
getId
-
setId
-