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
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected CouponTypeprotected DayCountFractionprotected BigDecimalprotected Stringprotected PartyReferenceprotected XMLGregorianCalendarprotected BigDecimalprotected Periodprotected CreditSeniorityFields inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
clearanceSystem, currency, definition, exchangeIdFields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId -
Constructor Summary
Constructors -
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.voidsetCouponRate(BigDecimal value) Sets the value of the couponRate property.voidsetCouponType(CouponType value) Sets the value of the couponType property.voidSets the value of the dayCountFraction property.voidsetFaceAmount(BigDecimal value) Sets the value of the faceAmount property.voidsetIssuerName(String value) Sets the value of the issuerName property.voidSets the value of the issuerPartyReference property.voidsetMaturity(XMLGregorianCalendar value) Sets the value of the maturity property.voidsetParValue(BigDecimal value) Sets the value of the parValue property.voidsetPaymentFrequency(Period value) Sets the value of the paymentFrequency property.voidsetSeniority(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, setExchangeIdMethods 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
-