Class UnderlyerInterestLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.DirectionalLeg
net.finmath.smartcontract.product.xml.UnderlyerInterestLeg
A type describing interest payments associated with and underlyer, such as
financing
Java class for UnderlyerInterestLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UnderlyerInterestLeg">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}DirectionalLeg">
<sequence>
<choice>
<element name="fixedRate" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="spreadSchedule" type="{http://www.fpml.org/FpML-5/confirmation}SpreadSchedule" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsFields inherited from class net.finmath.smartcontract.product.xml.DirectionalLeg
effectiveDate, legIdentifier, payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference, terminationDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the fixedRate property.Gets the value of the spreadSchedule property.voidsetFixedRate(BigDecimal value) Sets the value of the fixedRate property.Methods inherited from class net.finmath.smartcontract.product.xml.DirectionalLeg
getEffectiveDate, getLegIdentifier, getPayerAccountReference, getPayerPartyReference, getReceiverAccountReference, getReceiverPartyReference, getTerminationDate, setEffectiveDate, setPayerAccountReference, setPayerPartyReference, setReceiverAccountReference, setReceiverPartyReference, setTerminationDate
-
Field Details
-
fixedRate
-
spreadSchedule
-
-
Constructor Details
-
UnderlyerInterestLeg
public UnderlyerInterestLeg()
-
-
Method Details
-
getFixedRate
Gets the value of the fixedRate property.- Returns:
- possible object is
BigDecimal
-
setFixedRate
Sets the value of the fixedRate property.- Parameters:
value- allowed object isBigDecimal
-
getSpreadSchedule
Gets the value of the spreadSchedule 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
setmethod for the spreadSchedule property.For example, to add a new item, do as follows:
getSpreadSchedule().add(newItem);Objects of the following type(s) are allowed in the list
SpreadSchedule
-