Class NonNegativeSchedule
java.lang.Object
net.finmath.smartcontract.product.xml.NonNegativeSchedule
- Direct Known Subclasses:
NonNegativeAmountSchedule
A type defining a schedule of non-negative 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 NonNegativeSchedule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NonNegativeSchedule"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="initialValue" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal"/> <element name="step" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeStep" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected BigDecimal
protected List
<NonNegativeStep> -
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
-
NonNegativeSchedule
public NonNegativeSchedule()
-
-
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
NonNegativeStep
-
getId
-
setId
-