Class CommodityForward
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.CommodityForward
Commodity Forward
Java class for CommodityForward complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityForward"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <element name="valueDate" type="{http://www.fpml.org/FpML-5/confirmation}AdjustableOrRelativeDate" minOccurs="0"/> <choice> <element name="fixedLeg" type="{http://www.fpml.org/FpML-5/confirmation}NonPeriodicFixedPriceLeg"/> <element name="averagePriceLeg" type="{http://www.fpml.org/FpML-5/confirmation}AveragePriceLeg"/> </choice> <element ref="{http://www.fpml.org/FpML-5/confirmation}commodityForwardLeg"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityContent.model" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected AveragePriceLeg
protected jakarta.xml.bind.JAXBElement
<? extends CommodityForwardLeg> protected Boolean
protected NonPeriodicFixedPriceLeg
protected CommodityMarketDisruption
protected Rounding
protected CommodityBullionSettlementDisruptionEnum
protected AdjustableOrRelativeDate
Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the averagePriceLeg property.jakarta.xml.bind.JAXBElement
<? extends CommodityForwardLeg> Gets the value of the commodityForwardLeg property.Gets the value of the fixedLeg property.Gets the value of the marketDisruption property.Gets the value of the rounding property.Gets the value of the settlementDisruption property.Gets the value of the valueDate property.Gets the value of the commonPricing property.void
Sets the value of the averagePriceLeg property.void
setCommodityForwardLeg
(jakarta.xml.bind.JAXBElement<? extends CommodityForwardLeg> value) Sets the value of the commodityForwardLeg property.void
setCommonPricing
(Boolean value) Sets the value of the commonPricing property.void
Sets the value of the fixedLeg property.void
Sets the value of the marketDisruption property.void
setRounding
(Rounding value) Sets the value of the rounding property.void
Sets the value of the settlementDisruption property.void
Sets the value of the valueDate property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
valueDate
-
fixedLeg
-
averagePriceLeg
-
commodityForwardLeg
-
commonPricing
-
marketDisruption
-
settlementDisruption
-
rounding
-
-
Constructor Details
-
CommodityForward
public CommodityForward()
-
-
Method Details
-
getValueDate
Gets the value of the valueDate property.- Returns:
- possible object is
AdjustableOrRelativeDate
-
setValueDate
Sets the value of the valueDate property.- Parameters:
value
- allowed object isAdjustableOrRelativeDate
-
getFixedLeg
Gets the value of the fixedLeg property.- Returns:
- possible object is
NonPeriodicFixedPriceLeg
-
setFixedLeg
Sets the value of the fixedLeg property.- Parameters:
value
- allowed object isNonPeriodicFixedPriceLeg
-
getAveragePriceLeg
Gets the value of the averagePriceLeg property.- Returns:
- possible object is
AveragePriceLeg
-
setAveragePriceLeg
Sets the value of the averagePriceLeg property.- Parameters:
value
- allowed object isAveragePriceLeg
-
getCommodityForwardLeg
Gets the value of the commodityForwardLeg property.- Returns:
- possible object is
JAXBElement
<
MetalPhysicalLeg
>
JAXBElement
<
BullionPhysicalLeg
>
JAXBElement
<
CommodityForwardLeg
>
-
setCommodityForwardLeg
public void setCommodityForwardLeg(jakarta.xml.bind.JAXBElement<? extends CommodityForwardLeg> value) Sets the value of the commodityForwardLeg property.- Parameters:
value
- allowed object isJAXBElement
<
MetalPhysicalLeg
>
JAXBElement
<
BullionPhysicalLeg
>
JAXBElement
<
CommodityForwardLeg
>
-
isCommonPricing
-
setCommonPricing
-
getMarketDisruption
Gets the value of the marketDisruption property.- Returns:
- possible object is
CommodityMarketDisruption
-
setMarketDisruption
Sets the value of the marketDisruption property.- Parameters:
value
- allowed object isCommodityMarketDisruption
-
getSettlementDisruption
Gets the value of the settlementDisruption property.- Returns:
- possible object is
CommodityBullionSettlementDisruptionEnum
-
setSettlementDisruption
Sets the value of the settlementDisruption property.- Parameters:
value
- allowed object isCommodityBullionSettlementDisruptionEnum
-
getRounding
-
setRounding
-