public class CashflowPeriodCurveFactors extends Period
NULL_SER_STRING, VERSION
Constructor and Description |
---|
CashflowPeriodCurveFactors(byte[] ab)
De-serialization of CashflowPeriodCurveFactors from byte stream
|
CashflowPeriodCurveFactors(double dblStart,
double dblEnd,
double dblAccrualStart,
double dblAccrualEnd,
double dblPay,
double dblDCF,
double dblFullCouponRate,
double dblStartNotional,
double dblEndNotional,
double dblStartDF,
double dblEndDF,
double dblStartSurvival,
double dblEndSurvival,
double dblSpread,
double dblIndexRate)
Construct the CashflowPeriodCurveFactors class using the corresponding period curve measures.
|
Modifier and Type | Method and Description |
---|---|
double |
getEndDF()
Get the period end discount factor
|
double |
getEndNotional()
Get the period end Notional
|
double |
getEndSurvival()
Get the period end survival probability
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
double |
getFullCouponRate()
Get the period full coupon rate (annualized quote)
|
double |
getIndexRate()
Get the period index rate
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
double |
getSpread()
Get the period spread over the floating index
|
double |
getStartNotional()
Get the period start Notional
|
byte[] |
serialize()
Serialize into a byte array.
|
compareTo, contains, deserialize, getAccrualDCF, getAccrualEndDate, getAccrualStartDate, getCouponDCF, getEndDate, getPayDate, getResetDate, getStartDate, hashCode, setAccrualStartDate, setPayDate
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public CashflowPeriodCurveFactors(double dblStart, double dblEnd, double dblAccrualStart, double dblAccrualEnd, double dblPay, double dblDCF, double dblFullCouponRate, double dblStartNotional, double dblEndNotional, double dblStartDF, double dblEndDF, double dblStartSurvival, double dblEndSurvival, double dblSpread, double dblIndexRate) throws java.lang.Exception
dblStart
- Period Start datedblEnd
- Period end datedblAccrualStart
- Period accrual Start datedblAccrualEnd
- Period Accrual End datedblPay
- Period Pay datedblDCF
- Period day count fractiondblFullCouponRate
- Period Full (i.e., annualized Coupon RatedblStartNotional
- Period Start NotionaldblEndNotional
- Period End NotionaldblStartDF
- Period Start discount factordblEndDF
- Period End discount factordblStartSurvival
- Period Start SurvivaldblEndSurvival
- Period End SurvivaldblSpread
- Period floater spread (Optional)dblIndexRate
- Period floating reference rate (Optional)java.lang.Exception
- Thrown if the inputs are invalidpublic CashflowPeriodCurveFactors(byte[] ab) throws java.lang.Exception
ab
- Byte streamjava.lang.Exception
- Thrown if cannot properly de-serialize CashflowPeriodCurveFactorspublic double getFullCouponRate()
public double getSpread()
public double getIndexRate()
public double getStartNotional()
public double getEndNotional()
public double getEndDF()
public double getEndSurvival()
public java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Period
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Period
public byte[] serialize()
Serializer