Class AccrualOptionBase
java.lang.Object
net.finmath.smartcontract.product.xml.AccrualOptionBase
- Direct Known Subclasses:
FeeRateOptionBase,FixedRateOptionBase,FloatingRateOptionBase
Used as a abstract type for defining accrual structures within loan
instruments.
Java class for AccrualOptionBase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AccrualOptionBase">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="accrualOptionId" type="{http://www.fpml.org/FpML-5/confirmation}AccrualTypeId"/>
<element name="dayCountFraction" type="{http://www.fpml.org/FpML-5/confirmation}DayCountFraction"/>
<element name="paymentFrequency" type="{http://www.fpml.org/FpML-5/confirmation}Period" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccrualTypeIdprotected DayCountFractionprotected Period -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the accrualOptionId property.Gets the value of the dayCountFraction property.Gets the value of the paymentFrequency property.voidsetAccrualOptionId(AccrualTypeId value)Sets the value of the accrualOptionId property.voidsetDayCountFraction(DayCountFraction value)Sets the value of the dayCountFraction property.voidsetPaymentFrequency(Period value)Sets the value of the paymentFrequency property.
-
Field Details
-
accrualOptionId
-
dayCountFraction
-
paymentFrequency
-
-
Constructor Details
-
AccrualOptionBase
public AccrualOptionBase()
-
-
Method Details
-
getAccrualOptionId
Gets the value of the accrualOptionId property.- Returns:
- possible object is
AccrualTypeId
-
setAccrualOptionId
Sets the value of the accrualOptionId property.- Parameters:
value- allowed object isAccrualTypeId
-
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
-
getPaymentFrequency
Gets the value of the paymentFrequency property.- Returns:
- possible object is
Period
-
setPaymentFrequency
Sets the value of the paymentFrequency property.- Parameters:
value- allowed object isPeriod
-