Class CommodityVarianceLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.CommodityPerformanceSwapLeg
net.finmath.smartcontract.product.xml.CommodityVarianceLeg
A type describing the variance leg of a commodity variance swap.
Java class for CommodityVarianceLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommodityVarianceLeg">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}CommodityPerformanceSwapLeg">
<sequence>
<group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityCalculationPeriods.model"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityPaymentDates.model"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityUnderlyerChoice.model"/>
<choice>
<element name="notionalAmount" type="{http://www.fpml.org/FpML-5/confirmation}CommodityNotionalAmount"/>
<element name="notionalAmountReference" type="{http://www.fpml.org/FpML-5/confirmation}CommodityNotionalAmountReference"/>
</choice>
<choice>
<element name="varianceStrikePrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="volatilityStrikePrice" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
</choice>
<element name="varianceCalculation" type="{http://www.fpml.org/FpML-5/confirmation}CommodityVarianceCalculation"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdjustableDatesprotected AdjustableDatesprotected CalculationPeriodsDatesReferenceprotected CalculationPeriodsReferenceprotected CommodityCalculationPeriodsScheduleprotected CalculationPeriodsScheduleReferenceprotected Commodityprotected CommodityBasketprotected Booleanprotected CommodityNotionalAmountprotected CommodityNotionalAmountReferenceprotected AdjustableDatesOrRelativeDateOffsetprotected CommodityRelativePaymentDatesprotected CommodityVarianceCalculationprotected BigDecimalprotected BigDecimalFields inherited from class net.finmath.smartcontract.product.xml.CommodityPerformanceSwapLeg
payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calculationDates property.Gets the value of the calculationPeriods property.Gets the value of the calculationPeriodsDatesReference property.Gets the value of the calculationPeriodsReference property.Gets the value of the calculationPeriodsSchedule property.Gets the value of the calculationPeriodsScheduleReference property.Gets the value of the commodity property.Gets the value of the commodityBasket property.Gets the value of the notionalAmount property.Gets the value of the notionalAmountReference property.Gets the value of the paymentDates property.Gets the value of the relativePaymentDates property.Gets the value of the varianceCalculation property.Gets the value of the varianceStrikePrice property.Gets the value of the volatilityStrikePrice property.Gets the value of the masterAgreementPaymentDates property.voidSets the value of the calculationDates property.voidSets the value of the calculationPeriods property.voidSets the value of the calculationPeriodsDatesReference property.voidSets the value of the calculationPeriodsReference property.voidSets the value of the calculationPeriodsSchedule property.voidSets the value of the calculationPeriodsScheduleReference property.voidsetCommodity(Commodity value) Sets the value of the commodity property.voidSets the value of the commodityBasket property.voidSets the value of the masterAgreementPaymentDates property.voidSets the value of the notionalAmount property.voidSets the value of the notionalAmountReference property.voidSets the value of the paymentDates property.voidSets the value of the relativePaymentDates property.voidSets the value of the varianceCalculation property.voidsetVarianceStrikePrice(BigDecimal value) Sets the value of the varianceStrikePrice property.voidSets the value of the volatilityStrikePrice property.Methods inherited from class net.finmath.smartcontract.product.xml.CommodityPerformanceSwapLeg
getPayerAccountReference, getPayerPartyReference, getReceiverAccountReference, getReceiverPartyReference, setPayerAccountReference, setPayerPartyReference, setReceiverAccountReference, setReceiverPartyReference
-
Field Details
-
calculationDates
-
calculationPeriods
-
calculationPeriodsSchedule
-
calculationPeriodsReference
-
calculationPeriodsScheduleReference
-
calculationPeriodsDatesReference
-
relativePaymentDates
-
paymentDates
-
masterAgreementPaymentDates
-
commodity
-
commodityBasket
-
notionalAmount
-
notionalAmountReference
-
varianceStrikePrice
-
volatilityStrikePrice
-
varianceCalculation
-
-
Constructor Details
-
CommodityVarianceLeg
public CommodityVarianceLeg()
-
-
Method Details
-
getCalculationDates
Gets the value of the calculationDates property.- Returns:
- possible object is
AdjustableDates
-
setCalculationDates
Sets the value of the calculationDates property.- Parameters:
value- allowed object isAdjustableDates
-
getCalculationPeriods
Gets the value of the calculationPeriods property.- Returns:
- possible object is
AdjustableDates
-
setCalculationPeriods
Sets the value of the calculationPeriods property.- Parameters:
value- allowed object isAdjustableDates
-
getCalculationPeriodsSchedule
Gets the value of the calculationPeriodsSchedule property.- Returns:
- possible object is
CommodityCalculationPeriodsSchedule
-
setCalculationPeriodsSchedule
Sets the value of the calculationPeriodsSchedule property.- Parameters:
value- allowed object isCommodityCalculationPeriodsSchedule
-
getCalculationPeriodsReference
Gets the value of the calculationPeriodsReference property.- Returns:
- possible object is
CalculationPeriodsReference
-
setCalculationPeriodsReference
Sets the value of the calculationPeriodsReference property.- Parameters:
value- allowed object isCalculationPeriodsReference
-
getCalculationPeriodsScheduleReference
Gets the value of the calculationPeriodsScheduleReference property.- Returns:
- possible object is
CalculationPeriodsScheduleReference
-
setCalculationPeriodsScheduleReference
Sets the value of the calculationPeriodsScheduleReference property.- Parameters:
value- allowed object isCalculationPeriodsScheduleReference
-
getCalculationPeriodsDatesReference
Gets the value of the calculationPeriodsDatesReference property.- Returns:
- possible object is
CalculationPeriodsDatesReference
-
setCalculationPeriodsDatesReference
Sets the value of the calculationPeriodsDatesReference property.- Parameters:
value- allowed object isCalculationPeriodsDatesReference
-
getRelativePaymentDates
Gets the value of the relativePaymentDates property.- Returns:
- possible object is
CommodityRelativePaymentDates
-
setRelativePaymentDates
Sets the value of the relativePaymentDates property.- Parameters:
value- allowed object isCommodityRelativePaymentDates
-
getPaymentDates
Gets the value of the paymentDates property.- Returns:
- possible object is
AdjustableDatesOrRelativeDateOffset
-
setPaymentDates
Sets the value of the paymentDates property.- Parameters:
value- allowed object isAdjustableDatesOrRelativeDateOffset
-
isMasterAgreementPaymentDates
-
setMasterAgreementPaymentDates
-
getCommodity
-
setCommodity
-
getCommodityBasket
Gets the value of the commodityBasket property.- Returns:
- possible object is
CommodityBasket
-
setCommodityBasket
Sets the value of the commodityBasket property.- Parameters:
value- allowed object isCommodityBasket
-
getNotionalAmount
Gets the value of the notionalAmount property.- Returns:
- possible object is
CommodityNotionalAmount
-
setNotionalAmount
Sets the value of the notionalAmount property.- Parameters:
value- allowed object isCommodityNotionalAmount
-
getNotionalAmountReference
Gets the value of the notionalAmountReference property.- Returns:
- possible object is
CommodityNotionalAmountReference
-
setNotionalAmountReference
Sets the value of the notionalAmountReference property.- Parameters:
value- allowed object isCommodityNotionalAmountReference
-
getVarianceStrikePrice
Gets the value of the varianceStrikePrice property.- Returns:
- possible object is
BigDecimal
-
setVarianceStrikePrice
Sets the value of the varianceStrikePrice property.- Parameters:
value- allowed object isBigDecimal
-
getVolatilityStrikePrice
Gets the value of the volatilityStrikePrice property.- Returns:
- possible object is
BigDecimal
-
setVolatilityStrikePrice
Sets the value of the volatilityStrikePrice property.- Parameters:
value- allowed object isBigDecimal
-
getVarianceCalculation
Gets the value of the varianceCalculation property.- Returns:
- possible object is
CommodityVarianceCalculation
-
setVarianceCalculation
Sets the value of the varianceCalculation property.- Parameters:
value- allowed object isCommodityVarianceCalculation
-