Class Schedule
java.lang.Object
net.finmath.smartcontract.product.xml.Schedule
- Direct Known Subclasses:
AmountSchedule
,FxAccrualStrike
,FxLevel
,FxPivot
,FxStrike
,SpreadSchedule
,StrikeSchedule
A type defining a schedule of rates or amounts in terms of an initial value
and then a series of step date and value pairs. On each step date the rate or amount changes to the new
step value. The series of step date and value pairs are optional. If not specified, this implies that
the initial value remains unchanged over time.
Java class for Schedule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Schedule"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="initialValue" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="step" type="{http://www.fpml.org/FpML-5/confirmation}Step" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Gets the value of the id property.Gets the value of the initialValue property.getStep()
Gets the value of the step property.void
Sets the value of the id property.void
setInitialValue
(BigDecimal value) Sets the value of the initialValue property.
-
Field Details
-
initialValue
-
step
-
id
-
-
Constructor Details
-
Schedule
public Schedule()
-
-
Method Details
-
getInitialValue
Gets the value of the initialValue property.- Returns:
- possible object is
BigDecimal
-
setInitialValue
Sets the value of the initialValue property.- Parameters:
value
- allowed object isBigDecimal
-
getStep
Gets the value of the step 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 step property.For example, to add a new item, do as follows:
getStep().add(newItem);
Objects of the following type(s) are allowed in the list
Step
-
getId
-
setId
-