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
Modifier and TypeFieldDescriptionprotected AdjustableDates
protected AdjustableDates
protected CalculationPeriodsDatesReference
protected CalculationPeriodsReference
protected CommodityCalculationPeriodsSchedule
protected CalculationPeriodsScheduleReference
protected Commodity
protected CommodityBasket
protected Boolean
protected CommodityNotionalAmount
protected CommodityNotionalAmountReference
protected AdjustableDatesOrRelativeDateOffset
protected CommodityRelativePaymentDates
protected CommodityVarianceCalculation
protected BigDecimal
protected BigDecimal
Fields inherited from class net.finmath.smartcontract.product.xml.CommodityPerformanceSwapLeg
payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference
-
Constructor Summary
-
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.void
Sets the value of the calculationDates property.void
Sets the value of the calculationPeriods property.void
Sets the value of the calculationPeriodsDatesReference property.void
Sets the value of the calculationPeriodsReference property.void
Sets the value of the calculationPeriodsSchedule property.void
Sets the value of the calculationPeriodsScheduleReference property.void
setCommodity
(Commodity value) Sets the value of the commodity property.void
Sets the value of the commodityBasket property.void
Sets the value of the masterAgreementPaymentDates property.void
Sets the value of the notionalAmount property.void
Sets the value of the notionalAmountReference property.void
Sets the value of the paymentDates property.void
Sets the value of the relativePaymentDates property.void
Sets the value of the varianceCalculation property.void
setVarianceStrikePrice
(BigDecimal value) Sets the value of the varianceStrikePrice property.void
Sets 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
-