public class CreditSetting extends java.lang.Object implements Validatable
Constructor and Description |
---|
CreditSetting(int iLossPayLag,
double dblRecovery,
boolean bUseCurveRecovery,
java.lang.String strCreditCurveName,
boolean bAccrualOnDefault)
Construct the CreditSetting from the default pay lag, use curve or the component recovery flag,
component recovery, credit curve name, and whether there is accrual on default
|
Modifier and Type | Method and Description |
---|---|
boolean |
accrualOnDefault()
Retrieve the Accrual On Default Flag
|
java.lang.String |
creditCurveName()
Retrieve the Credit Curve Name
|
int |
lossPayLag()
Retrieve the Loss Pay-out Lag
|
double |
recovery()
Retrieve the Recovery Amount
|
boolean |
useCurveRecovery()
Flag indicating whether or nor to use the Curve Recovery
|
boolean |
validate()
Validate the current object state
|
public CreditSetting(int iLossPayLag, double dblRecovery, boolean bUseCurveRecovery, java.lang.String strCreditCurveName, boolean bAccrualOnDefault)
iLossPayLag
- Loss Pay LagdblRecovery
- Component RecoverybUseCurveRecovery
- Use the Curve Recovery (True) or Component Recovery (False)strCreditCurveName
- Credit curve namebAccrualOnDefault
- Accrual paid on default (True)public boolean validate()
Validatable
validate
in interface Validatable
public int lossPayLag()
public boolean useCurveRecovery()
public java.lang.String creditCurveName()
public boolean accrualOnDefault()
public double recovery()