Class Bond
java.lang.Object
net.finmath.smartcontract.product.xml.Asset
net.finmath.smartcontract.product.xml.IdentifiedAsset
net.finmath.smartcontract.product.xml.UnderlyingAsset
net.finmath.smartcontract.product.xml.Bond
- Direct Known Subclasses:
ConvertibleBond
An exchange traded bond.
Java class for Bond complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Bond"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}UnderlyingAsset"> <sequence> <group ref="{http://www.fpml.org/FpML-5/confirmation}FixedIncomeSecurityContent.model"/> <element name="parValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <element name="faceAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}BondCalculation.model"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BigDecimal
protected CouponType
protected DayCountFraction
protected BigDecimal
protected String
protected PartyReference
protected XMLGregorianCalendar
protected BigDecimal
protected Period
protected CreditSeniority
Fields inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
clearanceSystem, currency, definition, exchangeId
Fields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the couponRate property.Gets the value of the couponType property.Gets the value of the dayCountFraction property.Gets the value of the faceAmount property.Gets the value of the issuerName property.Gets the value of the issuerPartyReference property.Gets the value of the maturity property.Gets the value of the parValue property.Gets the value of the paymentFrequency property.Gets the value of the seniority property.void
setCouponRate
(BigDecimal value) Sets the value of the couponRate property.void
setCouponType
(CouponType value) Sets the value of the couponType property.void
Sets the value of the dayCountFraction property.void
setFaceAmount
(BigDecimal value) Sets the value of the faceAmount property.void
setIssuerName
(String value) Sets the value of the issuerName property.void
Sets the value of the issuerPartyReference property.void
setMaturity
(XMLGregorianCalendar value) Sets the value of the maturity property.void
setParValue
(BigDecimal value) Sets the value of the parValue property.void
setPaymentFrequency
(Period value) Sets the value of the paymentFrequency property.void
setSeniority
(CreditSeniority value) Sets the value of the seniority property.Methods inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
getClearanceSystem, getCurrency, getDefinition, getExchangeId, setClearanceSystem, setCurrency, setDefinition, setExchangeId
Methods inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
getDescription, getInstrumentId, setDescription
-
Field Details
-
issuerName
-
issuerPartyReference
-
seniority
-
couponType
-
couponRate
-
maturity
-
parValue
-
faceAmount
-
paymentFrequency
-
dayCountFraction
-
-
Constructor Details
-
Bond
public Bond()
-
-
Method Details
-
getIssuerName
-
setIssuerName
-
getIssuerPartyReference
Gets the value of the issuerPartyReference property.- Returns:
- possible object is
PartyReference
-
setIssuerPartyReference
Sets the value of the issuerPartyReference property.- Parameters:
value
- allowed object isPartyReference
-
getSeniority
Gets the value of the seniority property.- Returns:
- possible object is
CreditSeniority
-
setSeniority
Sets the value of the seniority property.- Parameters:
value
- allowed object isCreditSeniority
-
getCouponType
Gets the value of the couponType property.- Returns:
- possible object is
CouponType
-
setCouponType
Sets the value of the couponType property.- Parameters:
value
- allowed object isCouponType
-
getCouponRate
Gets the value of the couponRate property.- Returns:
- possible object is
BigDecimal
-
setCouponRate
Sets the value of the couponRate property.- Parameters:
value
- allowed object isBigDecimal
-
getMaturity
Gets the value of the maturity property.- Returns:
- possible object is
XMLGregorianCalendar
-
setMaturity
Sets the value of the maturity property.- Parameters:
value
- allowed object isXMLGregorianCalendar
-
getParValue
Gets the value of the parValue property.- Returns:
- possible object is
BigDecimal
-
setParValue
Sets the value of the parValue property.- Parameters:
value
- allowed object isBigDecimal
-
getFaceAmount
Gets the value of the faceAmount property.- Returns:
- possible object is
BigDecimal
-
setFaceAmount
Sets the value of the faceAmount property.- Parameters:
value
- allowed object isBigDecimal
-
getPaymentFrequency
-
setPaymentFrequency
-
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
-