public class CDXRefDataParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
_bFullFirstStub
Index Full First Stub
|
boolean |
_bKnockOutOnDefault
Index Knock-out On Default
|
boolean |
_bPayAccrued
Index Pay Accrued
|
boolean |
_bQuoteAsCDS
Index Quote As CDS
|
double |
_dblCoupon
Index Coupon (bp)
|
double |
_dblIndexFactor
Index Factor
|
double |
_dblRecovery
Index Recovery
|
JulianDate |
_dtIssue
Index Issue Date
|
JulianDate |
_dtMaturity
Index Maturity Date
|
int |
_iDefaultedComponentCount
Index Defaulted Component Count
|
int |
_iFrequency
Index Frequency
|
int |
_iIndexLifeSpan
Index Life Span
|
int |
_iIndexSeries
Index Series
|
int |
_iIndexVersion
Index Version
|
int |
_iOriginalComponentCount
Index Original Component Count
|
java.lang.String |
_strBBGTicker
Index Bloomberg Ticker
|
java.lang.String |
_strCurrency
Index Currency
|
java.lang.String |
_strCurveID
Index Curve ID
|
java.lang.String |
_strCurveName
Index Curve Name
|
java.lang.String |
_strCurvyCurveID
Index Curvy Curve ID
|
java.lang.String |
_strDayCount
Index DayCount
|
java.lang.String |
_strIndexClass
Index Class
|
java.lang.String |
_strIndexGroupName
Index Group Name
|
java.lang.String |
_strIndexLabel
Index Label
|
java.lang.String |
_strIndexName
Index Name
|
java.lang.String |
_strIndexShortGroupName
Index Short Group Name
|
java.lang.String |
_strIndexShortName
Index Short Name
|
java.lang.String |
_strLocation
Index Location
|
java.lang.String |
_strRedID
Index Red ID
|
java.lang.String |
_strShortName
Index Short Name
|
java.lang.String |
_strSPN
Index Curve SPN
|
Constructor and Description |
---|
CDXRefDataParams()
Empty Default constructor
|
Modifier and Type | Method and Description |
---|---|
static CDXRefDataParams |
CreateCDXRefDataBuilder(java.lang.String strCurveID,
java.lang.String strSPN,
java.lang.String strIndexLabel,
java.lang.String strIndexName,
java.lang.String strCurveName,
int iIssueDate,
int iMaturityDate,
double dblCoupon,
java.lang.String strCurrency,
java.lang.String strDayCount,
boolean bFullFirstStub,
double dblRecovery,
int iFrequency,
java.lang.String strRedID,
java.lang.String strIndexClass,
int iIndexSeries,
java.lang.String strIndexGroupName,
java.lang.String strIndexShortName,
java.lang.String strIndexShortGroupName,
int iIndexVersion,
int iIndexLifeSpan,
java.lang.String strCurvyCurveID,
double dblIndexFactor,
int iOriginalComponentCount,
int iDefaultedComponentCount,
java.lang.String strLocation,
boolean bPayAccrued,
boolean bKnockOutOnDefault,
boolean bQuoteAsCDS,
java.lang.String strBBGTicker,
java.lang.String strShortName)
Create a CDXRefData instance from valid individual parameters (so no additional validation is
performed).
|
boolean |
setBBGTicker(java.lang.String strBBGTicker)
Set the Index BBG Ticker
|
java.lang.String |
setConstructionString()
Return the stringified set of parameters in a java call that can be statically used to re-construct
the index.
|
boolean |
setCoupon(double dblCoupon)
Set the Index Coupon
|
boolean |
setCurrency(java.lang.String strCurrency)
Set the Index Currency
|
boolean |
setCurveID(java.lang.String strCurveID)
Set the Index Curve ID
|
boolean |
setCurveName(java.lang.String strCurveName)
Set the Index Curve Name
|
boolean |
setCurvyCurveID(java.lang.String strCurvyCurveID)
Set the Index Composite Curve ID
|
boolean |
setDayCount(java.lang.String strDayCount)
Set the Index Day Count
|
boolean |
setDefaultedComponentCount(int iDefaultedComponentCount)
Set the Number of Defaulted Components in the Index
|
boolean |
setFrequency(int iFrequency)
Set the Index Coupon Frequency
|
boolean |
setFullFirstStub(boolean bFullFirstStub)
Set the flag indicating whether the Index has a Full First Stub
|
boolean |
setIndexClass(java.lang.String strIndexClass)
Set the Index Class
|
boolean |
setIndexFactor(double dblIndexFactor)
Set the Index Factor
|
boolean |
setIndexGroupName(java.lang.String strIndexGroupName)
Set the Index Group Name
|
boolean |
setIndexLabel(java.lang.String strIndexLabel)
Set the Index Label
|
boolean |
setIndexLifeSpan(int iIndexLifeSpan)
Set the Index Life Span
|
boolean |
setIndexName(java.lang.String strIndexName)
Set the Index Name
|
boolean |
setIndexSeries(int iIndexSeries)
Set the Index Series
|
boolean |
setIndexShortGroupName(java.lang.String strIndexShortGroupName)
Set the Index Short Group Name
|
boolean |
setIndexShortName(java.lang.String strIndexShortName)
Set the Index Short Name
|
boolean |
setIndexVersion(int iIndexVersion)
Set the Index Version
|
boolean |
setIssueDate(JulianDate dtIssue)
Set the Index Issue Date
|
boolean |
setKnockOutOnDefault(boolean bKnockOutOnDefault)
Set if the Index knocks out on Default
|
boolean |
setLocation(java.lang.String strLocation)
Set the Index Location
|
boolean |
setMaturityDate(JulianDate dtMaturity)
Set the Index Maturity Date
|
boolean |
setOriginalComponentCount(int iOriginalComponentCount)
Set the Number of Original Components in the Index
|
boolean |
setPayAccrued(boolean bPayAccrued)
Set if the Index pays accrued on termination
|
boolean |
setQuoteAsCDS(boolean bQuoteAsCDS)
Set whether the quote is marked as a CDS
|
boolean |
setRecovery(double dblRecovery)
Set the Index Recovery
|
boolean |
setRedID(java.lang.String strRedID)
Set the Index Red ID
|
boolean |
setShortName(java.lang.String strShortName)
Set the index short name
|
boolean |
setSPN(java.lang.String strSPN)
Set the Index SPN
|
boolean |
validate()
Validate the CDXRefData instance
|
public java.lang.String _strCurveID
public java.lang.String _strSPN
public java.lang.String _strIndexLabel
public java.lang.String _strIndexName
public java.lang.String _strCurveName
public JulianDate _dtIssue
public JulianDate _dtMaturity
public double _dblCoupon
public java.lang.String _strCurrency
public java.lang.String _strDayCount
public boolean _bFullFirstStub
public double _dblRecovery
public int _iFrequency
public java.lang.String _strRedID
public java.lang.String _strIndexClass
public int _iIndexSeries
public java.lang.String _strIndexGroupName
public java.lang.String _strIndexShortName
public java.lang.String _strIndexShortGroupName
public int _iIndexVersion
public int _iIndexLifeSpan
public java.lang.String _strCurvyCurveID
public double _dblIndexFactor
public int _iOriginalComponentCount
public int _iDefaultedComponentCount
public java.lang.String _strLocation
public boolean _bPayAccrued
public boolean _bKnockOutOnDefault
public boolean _bQuoteAsCDS
public java.lang.String _strBBGTicker
public java.lang.String _strShortName
public static final CDXRefDataParams CreateCDXRefDataBuilder(java.lang.String strCurveID, java.lang.String strSPN, java.lang.String strIndexLabel, java.lang.String strIndexName, java.lang.String strCurveName, int iIssueDate, int iMaturityDate, double dblCoupon, java.lang.String strCurrency, java.lang.String strDayCount, boolean bFullFirstStub, double dblRecovery, int iFrequency, java.lang.String strRedID, java.lang.String strIndexClass, int iIndexSeries, java.lang.String strIndexGroupName, java.lang.String strIndexShortName, java.lang.String strIndexShortGroupName, int iIndexVersion, int iIndexLifeSpan, java.lang.String strCurvyCurveID, double dblIndexFactor, int iOriginalComponentCount, int iDefaultedComponentCount, java.lang.String strLocation, boolean bPayAccrued, boolean bKnockOutOnDefault, boolean bQuoteAsCDS, java.lang.String strBBGTicker, java.lang.String strShortName)
strCurveID
- Index Curve IDstrSPN
- Index SPNstrIndexLabel
- Index LabelstrIndexName
- Index NamestrCurveName
- Index Curve NameiIssueDate
- Index Issue DateiMaturityDate
- Index Maturity DatedblCoupon
- Index CouponstrCurrency
- Index CurrencystrDayCount
- Index Day Count ConventionbFullFirstStub
- Index Flag indicating whether it is a full front stubdblRecovery
- Index Recovery RateiFrequency
- Index FrequencystrRedID
- Index Reference Entity Database IDstrIndexClass
- Index ClassiIndexSeries
- Index SeriesstrIndexGroupName
- Index Group NamestrIndexShortName
- Index Short NamestrIndexShortGroupName
- Index SHort Group NameiIndexVersion
- Index VersioniIndexLifeSpan
- Index Life SpanstrCurvyCurveID
- Full Index Curve IDdblIndexFactor
- Index FactoriOriginalComponentCount
- Original Index Component CountiDefaultedComponentCount
- Defaulted Component Count in the IndexstrLocation
- Index Domicile LocationbPayAccrued
- Does Index Pay AccruedbKnockOutOnDefault
- Does the Index Knock Out On DefaultbQuoteAsCDS
- Is the Index Quoted as a CDS (i.e., spread/up-front)strBBGTicker
- Index Bloomberg TickerstrShortName
- Index Short Namepublic boolean setCurveID(java.lang.String strCurveID)
strCurveID
- Index Curve IDpublic boolean setSPN(java.lang.String strSPN)
strSPN
- Index SPNpublic boolean setIndexLabel(java.lang.String strIndexLabel)
strIndexLabel
- Index Labelpublic boolean setIndexName(java.lang.String strIndexName)
strIndexName
- Index Namepublic boolean setCurveName(java.lang.String strCurveName)
strCurveName
- Index Curve Namepublic boolean setIssueDate(JulianDate dtIssue)
dtIssue
- Index Issue Datepublic boolean setMaturityDate(JulianDate dtMaturity)
dtMaturity
- Index Maturity Datepublic boolean setCoupon(double dblCoupon)
dblCoupon
- Index Couponpublic boolean setCurrency(java.lang.String strCurrency)
strCurrency
- Index Currencypublic boolean setDayCount(java.lang.String strDayCount)
strDayCount
- Index Day Countpublic boolean setFullFirstStub(boolean bFullFirstStub)
bFullFirstStub
- Flag indicating whether the Index has a Full First Stubpublic boolean setRecovery(double dblRecovery)
dblRecovery
- Index Recoverypublic boolean setFrequency(int iFrequency)
iFrequency
- Index Coupon Frequencypublic boolean setRedID(java.lang.String strRedID)
strRedID
- Index Red IDpublic boolean setIndexClass(java.lang.String strIndexClass)
strIndexClass
- Index Classpublic boolean setIndexSeries(int iIndexSeries)
iIndexSeries
- Index Seriespublic boolean setIndexGroupName(java.lang.String strIndexGroupName)
strIndexGroupName
- Index Group Namepublic boolean setIndexShortName(java.lang.String strIndexShortName)
strIndexShortName
- Index Short Namepublic boolean setIndexShortGroupName(java.lang.String strIndexShortGroupName)
strIndexShortGroupName
- Index Short Group Namepublic boolean setIndexVersion(int iIndexVersion)
iIndexVersion
- Index Versionpublic boolean setIndexLifeSpan(int iIndexLifeSpan)
iIndexLifeSpan
- Index Life Spanpublic boolean setCurvyCurveID(java.lang.String strCurvyCurveID)
strCurvyCurveID
- Index Composite Curve IDpublic boolean setIndexFactor(double dblIndexFactor)
dblIndexFactor
- Index Factorpublic boolean setOriginalComponentCount(int iOriginalComponentCount)
iOriginalComponentCount
- Number of Original Components in the Indexpublic boolean setDefaultedComponentCount(int iDefaultedComponentCount)
iDefaultedComponentCount
- Number of Defaulted Components in the Indexpublic boolean setLocation(java.lang.String strLocation)
strLocation
- Index Locationpublic boolean setPayAccrued(boolean bPayAccrued)
bPayAccrued
- Flag indicating if the Index pays accrued on terminationpublic boolean setKnockOutOnDefault(boolean bKnockOutOnDefault)
bKnockOutOnDefault
- Flag indicating if the Index knocks out on Defaultpublic boolean setQuoteAsCDS(boolean bQuoteAsCDS)
bQuoteAsCDS
- Flag indicating whether the quote is marked as a CDSpublic boolean setBBGTicker(java.lang.String strBBGTicker)
strBBGTicker
- Index BBG Tickerpublic boolean setShortName(java.lang.String strShortName)
strShortName
- Index Short Namepublic boolean validate()
public java.lang.String setConstructionString()