Class CommoditySpreadSchedule
java.lang.Object
net.finmath.smartcontract.product.xml.CommoditySpreadSchedule
The Spread per Calculation Period. There must be a Spread specified for
each Calculation Period, regardless of whether the Spread changes or remains the same between periods.
Java class for CommoditySpreadSchedule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommoditySpreadSchedule"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="spreadStep" type="{http://www.fpml.org/FpML-5/confirmation}CommoditySpread" maxOccurs="unbounded"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityCalculationPeriodsPointer.model"/> </sequence> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected CalculationPeriodsDatesReference
protected CalculationPeriodsReference
protected CalculationPeriodsScheduleReference
protected List
<CommoditySpread> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the calculationPeriodsDatesReference property.Gets the value of the calculationPeriodsReference property.Gets the value of the calculationPeriodsScheduleReference property.Gets the value of the spreadStep property.void
Sets the value of the calculationPeriodsDatesReference property.void
Sets the value of the calculationPeriodsReference property.void
Sets the value of the calculationPeriodsScheduleReference property.
-
Field Details
-
spreadStep
-
calculationPeriodsReference
-
calculationPeriodsScheduleReference
-
calculationPeriodsDatesReference
-
-
Constructor Details
-
CommoditySpreadSchedule
public CommoditySpreadSchedule()
-
-
Method Details
-
getSpreadStep
Gets the value of the spreadStep 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 spreadStep property.For example, to add a new item, do as follows:
getSpreadStep().add(newItem);
Objects of the following type(s) are allowed in the list
CommoditySpread
-
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
-