public class FixedStreamConvention
extends java.lang.Object
Constructor and Description |
---|
FixedStreamConvention(java.lang.String strCurrency,
java.lang.String strDayCount,
java.lang.String strCalendar,
java.lang.String strUnitPeriodTenor,
java.lang.String strCompositePeriodTenor,
int iAccrualCompoundingRule)
FixedStreamConvention Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
accrualCompoundingRule()
Retrieve the Accrual Compounding Rule
|
java.lang.String |
calendar()
Retrieve the Holiday Calendar
|
java.lang.String |
compositePeriodTenor()
Retrieve the Composite Period Tenor
|
Stream |
createStream(JulianDate dtEffective,
java.lang.String strMaturityTenor,
double dblCoupon,
double dblNotional)
Create a Fixed Stream Instance
|
java.lang.String |
currency()
Retrieve the Currency
|
java.lang.String |
dayCount()
Retrieve the Day Count Convention
|
java.lang.String |
toString() |
java.lang.String |
unitPeriodTenor()
Retrieve the Unit Period Tenor
|
public FixedStreamConvention(java.lang.String strCurrency, java.lang.String strDayCount, java.lang.String strCalendar, java.lang.String strUnitPeriodTenor, java.lang.String strCompositePeriodTenor, int iAccrualCompoundingRule) throws java.lang.Exception
strCurrency
- CurrencystrDayCount
- Day CountstrCalendar
- CalendarstrUnitPeriodTenor
- Unit Period TenorstrCompositePeriodTenor
- Composite Period TenoriAccrualCompoundingRule
- Accrual Compounding Rulejava.lang.Exception
- Thrown if the Inputs are invalidpublic java.lang.String calendar()
public java.lang.String currency()
public java.lang.String dayCount()
public java.lang.String unitPeriodTenor()
public java.lang.String compositePeriodTenor()
public int accrualCompoundingRule()
public Stream createStream(JulianDate dtEffective, java.lang.String strMaturityTenor, double dblCoupon, double dblNotional)
dtEffective
- Effective DatestrMaturityTenor
- Maturity TenordblCoupon
- CoupondblNotional
- Notionalpublic java.lang.String toString()
toString
in class java.lang.Object