Class TermDeposit
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.TermDeposit
A class defining the content model for a term deposit product.
Java class for TermDeposit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TermDeposit"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}Product"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}PayerReceiver.model"/> <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="maturityDate" type="{http://www.w3.org/2001/XMLSchema}date"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}FxTenor.model" minOccurs="0"/> <element name="principal" type="{http://www.fpml.org/FpML-5/confirmation}PositiveMoney"/> <element name="fixedRate" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction"/> <element name="features" type="{http://www.fpml.org/FpML-5/confirmation}TermDepositFeatures" minOccurs="0"/> <element name="interest" type="{http://www.fpml.org/FpML-5/confirmation}Money" minOccurs="0"/> <element name="payment" type="{http://www.fpml.org/FpML-5/confirmation}Payment" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected DayCountFraction
protected TermDepositFeatures
protected BigDecimal
protected Money
protected XMLGregorianCalendar
protected AccountReference
protected PartyReference
protected PositiveMoney
protected AccountReference
protected PartyReference
protected XMLGregorianCalendar
protected FxTenorPeriodEnum
protected Period
Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the dayCountFraction property.Gets the value of the features property.Gets the value of the fixedRate property.Gets the value of the interest property.Gets the value of the maturityDate property.Gets the value of the payerAccountReference property.Gets the value of the payerPartyReference property.Gets the value of the payment property.Gets the value of the principal property.Gets the value of the receiverAccountReference property.Gets the value of the receiverPartyReference property.Gets the value of the startDate property.Gets the value of the tenorName property.Gets the value of the tenorPeriod property.void
Sets the value of the dayCountFraction property.void
setFeatures
(TermDepositFeatures value) Sets the value of the features property.void
setFixedRate
(BigDecimal value) Sets the value of the fixedRate property.void
setInterest
(Money value) Sets the value of the interest property.void
Sets the value of the maturityDate property.void
Sets the value of the payerAccountReference property.void
Sets the value of the payerPartyReference property.void
setPrincipal
(PositiveMoney value) Sets the value of the principal property.void
Sets the value of the receiverAccountReference property.void
Sets the value of the receiverPartyReference property.void
setStartDate
(XMLGregorianCalendar value) Sets the value of the startDate property.void
setTenorName
(FxTenorPeriodEnum value) Sets the value of the tenorName property.void
setTenorPeriod
(Period value) Sets the value of the tenorPeriod property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
payerPartyReference
-
payerAccountReference
-
receiverPartyReference
-
receiverAccountReference
-
startDate
-
maturityDate
-
tenorName
-
tenorPeriod
-
principal
-
fixedRate
-
dayCountFraction
-
features
-
interest
-
payment
-
-
Constructor Details
-
TermDeposit
public TermDeposit()
-
-
Method Details
-
getPayerPartyReference
Gets the value of the payerPartyReference property.- Returns:
- possible object is
PartyReference
-
setPayerPartyReference
Sets the value of the payerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getPayerAccountReference
Gets the value of the payerAccountReference property.- Returns:
- possible object is
AccountReference
-
setPayerAccountReference
Sets the value of the payerAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getReceiverPartyReference
Gets the value of the receiverPartyReference property.- Returns:
- possible object is
PartyReference
-
setReceiverPartyReference
Sets the value of the receiverPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getReceiverAccountReference
Gets the value of the receiverAccountReference property.- Returns:
- possible object is
AccountReference
-
setReceiverAccountReference
Sets the value of the receiverAccountReference property.- Parameters:
value
- allowed object isAccountReference
-
getStartDate
Gets the value of the startDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStartDate
Sets the value of the startDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getMaturityDate
Gets the value of the maturityDate property.- Returns:
- possible object is
XMLGregorianCalendar
-
setMaturityDate
Sets the value of the maturityDate property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getTenorName
Gets the value of the tenorName property.- Returns:
- possible object is
FxTenorPeriodEnum
-
setTenorName
Sets the value of the tenorName property.- Parameters:
value
- allowed object isFxTenorPeriodEnum
-
getTenorPeriod
-
setTenorPeriod
-
getPrincipal
Gets the value of the principal property.- Returns:
- possible object is
PositiveMoney
-
setPrincipal
Sets the value of the principal property.- Parameters:
value
- allowed object isPositiveMoney
-
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
-
getDayCountFraction
Gets the value of the dayCountFraction property.- Returns:
- possible object is
DayCountFraction
-
setDayCountFraction
Sets the value of the dayCountFraction property.- Parameters:
value
- allowed object isDayCountFraction
-
getFeatures
Gets the value of the features property.- Returns:
- possible object is
TermDepositFeatures
-
setFeatures
Sets the value of the features property.- Parameters:
value
- allowed object isTermDepositFeatures
-
getInterest
-
setInterest
-
getPayment
Gets the value of the payment 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 payment property.For example, to add a new item, do as follows:
getPayment().add(newItem);
Objects of the following type(s) are allowed in the list
Payment
-