Class DividendLeg
java.lang.Object
net.finmath.smartcontract.product.xml.Leg
net.finmath.smartcontract.product.xml.DirectionalLeg
net.finmath.smartcontract.product.xml.DirectionalLegUnderlyer
net.finmath.smartcontract.product.xml.DividendLeg
Floating Payment Leg of a Dividend Swap.
Java class for DividendLeg complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DividendLeg"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}DirectionalLegUnderlyer"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}DeclaredCashAndCashEquivalentDividendPercentage.model"/> <element name="dividendPeriod" type="{http://www.fpml.org/FpML-5/confirmation}DividendPeriodPayment" maxOccurs="unbounded"/> <element name="specialDividends" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="materialDividend" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected BigDecimal
protected List
<DividendPeriodPayment> protected Boolean
protected Boolean
Fields inherited from class net.finmath.smartcontract.product.xml.DirectionalLegUnderlyer
fxFeature, settlementAmount, settlementCurrency, settlementDate, settlementType, underlyer
Fields inherited from class net.finmath.smartcontract.product.xml.DirectionalLeg
effectiveDate, legIdentifier, payerAccountReference, payerPartyReference, receiverAccountReference, receiverPartyReference, terminationDate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the declaredCashDividendPercentage property.Gets the value of the declaredCashEquivalentDividendPercentage property.Gets the value of the dividendPeriod property.Gets the value of the materialDividend property.Gets the value of the specialDividends property.void
Sets the value of the declaredCashDividendPercentage property.void
Sets the value of the declaredCashEquivalentDividendPercentage property.void
setMaterialDividend
(Boolean value) Sets the value of the materialDividend property.void
setSpecialDividends
(Boolean value) Sets the value of the specialDividends property.Methods inherited from class net.finmath.smartcontract.product.xml.DirectionalLegUnderlyer
getFxFeature, getSettlementAmount, getSettlementCurrency, getSettlementDate, getSettlementType, getUnderlyer, setFxFeature, setSettlementAmount, setSettlementCurrency, setSettlementDate, setSettlementType, setUnderlyer
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
-
declaredCashDividendPercentage
-
declaredCashEquivalentDividendPercentage
-
dividendPeriod
-
specialDividends
-
materialDividend
-
-
Constructor Details
-
DividendLeg
public DividendLeg()
-
-
Method Details
-
getDeclaredCashDividendPercentage
Gets the value of the declaredCashDividendPercentage property.- Returns:
- possible object is
BigDecimal
-
setDeclaredCashDividendPercentage
Sets the value of the declaredCashDividendPercentage property.- Parameters:
value
- allowed object isBigDecimal
-
getDeclaredCashEquivalentDividendPercentage
Gets the value of the declaredCashEquivalentDividendPercentage property.- Returns:
- possible object is
BigDecimal
-
setDeclaredCashEquivalentDividendPercentage
Sets the value of the declaredCashEquivalentDividendPercentage property.- Parameters:
value
- allowed object isBigDecimal
-
getDividendPeriod
Gets the value of the dividendPeriod 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 dividendPeriod property.For example, to add a new item, do as follows:
getDividendPeriod().add(newItem);
Objects of the following type(s) are allowed in the list
DividendPeriodPayment
-
isSpecialDividends
-
setSpecialDividends
-
isMaterialDividend
-
setMaterialDividend
-