public class BondProductBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
_bHasBeenCalled
Has Been Exercised flag
|
boolean |
_bIsCallable
Callable flag
|
boolean |
_bIsDefaulted
Is Defaulted flag
|
boolean |
_bIsFloater
Is Floater flag
|
boolean |
_bIsPerpetual
Is Perpetual flag
|
boolean |
_bIsPutable
Putable flag
|
boolean |
_bIsSinkable
Sinkable flag
|
double |
_dblCoupon
Coupon
|
double |
_dblCurrentCoupon
Current Coupon
|
double |
_dblFloatSpread
Floater Spread
|
double |
_dblRedemptionValue
Redemption Value
|
JulianDate |
_dtAnnounce
Announce Date
|
JulianDate |
_dtFinalMaturity
Final Maturity Date
|
JulianDate |
_dtFirstCoupon
First Coupon Date
|
JulianDate |
_dtFirstSettle
First Settle Date
|
JulianDate |
_dtInterestAccrualStart
Interest Accrual Start Date
|
JulianDate |
_dtIssue
Issue Date
|
JulianDate |
_dtMaturity
Maturity
|
int |
_iCouponFreq
Coupon Frequency
|
java.lang.String |
_strCalculationType
Calculation Type
|
java.lang.String |
_strCouponCurrency
Coupon Currency
|
java.lang.String |
_strCouponType
Coupon Type
|
java.lang.String |
_strCUSIP
CUSIP
|
java.lang.String |
_strDayCountCode
Day count Code
|
java.lang.String |
_strFloatCouponConvention
Floater Coupon Day Count Convention
|
java.lang.String |
_strISIN
ISIN
|
java.lang.String |
_strIssuerSPN
Issuer SPN
|
java.lang.String |
_strMaturityType
Maturity Type
|
java.lang.String |
_strRateIndex
Rate Index
|
java.lang.String |
_strRedemptionCurrency
Redemption Currency
|
java.lang.String |
_strTicker
Ticker
|
java.lang.String |
_strTradeCurrency
Trade Currency
|
Constructor and Description |
---|
BondProductBuilder()
Empty BondProductBuilder ctr - uninitialized members
|
Modifier and Type | Method and Description |
---|---|
static BondProductBuilder |
CreateFromJSONMap(CaseInsensitiveTreeMap<java.lang.String> mapJSON,
ScenarioMarketParams mpc)
Create BondProductBuilder from the JSON Map and the input MPC
|
static BondProductBuilder |
CreateFromResultSet(java.sql.ResultSet rs,
ScenarioMarketParams mpc)
Create BondProductBuilder from the SQL ResultSet and the input MPC
|
TerminationSetting |
getCFTEParams()
Get the Bond's CF termination event Parameters
|
CouponSetting |
getCouponParams()
Get the Bond's Coupon Parameters
|
CreditSetting |
getCRValuationParams()
Get the Bond's Credit Component Parameters
|
FloaterSetting |
getFloaterParams()
Get the Bond's Floater Parameters
|
IdentifierSet |
getIdentifierParams()
Get the Bond's identifier Parameters
|
QuoteConvention |
getMarketConvention()
Get the Bond's Market Convention
|
NotionalSetting |
getNotionalParams()
Get the Bond's Notional Parameters
|
BondStream |
getPeriodGenParams()
Get the Bond's Period Generation Parameters
|
java.lang.String |
makeSQLDelete()
Create an SQL Delete statement from the object's state
|
java.lang.String |
makeSQLInsert()
Create an SQL Insert statement from the object's state
|
boolean |
setAnnounce(java.lang.String strAnnounce)
Set the Bond Announce
|
boolean |
setCalculationType(java.lang.String strCalculationType)
Set the Bond Calculation Type
|
boolean |
setCoupon(java.lang.String strCoupon)
Set the Bond Coupon
|
boolean |
setCouponCurrency(java.lang.String strCouponCurrency)
Set The Coupon Currency
|
boolean |
setCouponFreq(java.lang.String strCouponFreq)
Set the Bond Coupon Frequency
|
boolean |
setCouponType(java.lang.String strCouponType)
Set the Bond Coupon Type
|
boolean |
setCurrentCoupon(java.lang.String strCurrentCoupon)
Set the bond's Current Coupon
|
boolean |
setCUSIP(java.lang.String strCUSIP)
Set the Bond CUSIP
|
boolean |
setDayCountCode(java.lang.String strDayCountCode)
Set the Bond Day Count Code
|
boolean |
setFinalMaturity(java.lang.String strFinalMaturity)
Set the final maturity of the bond
|
boolean |
setFirstCoupon(java.lang.String strFirstCoupon)
Set the Bond First Coupon Date
|
boolean |
setFirstSettle(java.lang.String strFirstSettle)
Set the Bond First Settle
|
boolean |
setFloatCouponConvention(java.lang.String strFloatCouponConvention)
Set the bond's Float Coupon Convention
|
boolean |
setFloatSpread(ScenarioMarketParams mpc)
Set the bond's floating rate spread from the MPC
|
boolean |
setFloatSpread(java.lang.String strFloatSpread)
Set the bond's floating rate spread
|
boolean |
setHasBeenCalled(java.lang.String strHasBeenCalled)
Set whether the bond Has Been Called
|
boolean |
setInterestAccrualStart(java.lang.String strInterestAccrualStart)
Set the Bond Interest Accrual Start Date
|
boolean |
setIsCallable(java.lang.String strCallable)
Set whether the Bond Is Callable
|
boolean |
setIsDefaulted(java.lang.String strIsDefaulted)
Set whether the bond is defaulted or not
|
boolean |
setIsFloater(java.lang.String strIsFloater)
Set whether the bond is a floater or not
|
boolean |
setISIN(java.lang.String strISIN)
Set the Bond ISIN
|
boolean |
setIsPerpetual(java.lang.String strIsPerpetual)
Set whether the bond is perpetual or not
|
boolean |
setIsPutable(java.lang.String strPutable)
Set whether the Bond Is Putable
|
boolean |
setIsSinkable(java.lang.String strSinkable)
Set whether the Bond Is Sinkable
|
boolean |
setIssue(java.lang.String strIssue)
Set the Bond Issue Date
|
boolean |
setIssuerSPN(java.lang.String strIssuerSPN)
Set the bond's Issuer SPN
|
boolean |
setMaturity(java.lang.String strMaturity)
Set the Bond Maturity
|
boolean |
setMaturityType(java.lang.String strMaturityType)
Set the Bond Maturity Type
|
boolean |
setRateIndex(java.lang.String strRateIndex)
Set the bond's Rate Index
|
boolean |
setRedemptionCurrency(java.lang.String strRedemptionCurrency)
Set The redemption Currency
|
boolean |
setRedemptionValue(java.lang.String strRedemptionValue)
Set the Bond Redemption Value
|
boolean |
setTicker(java.lang.String strTicker)
Set the Bond Ticker
|
boolean |
setTradeCurrency(java.lang.String strTradeCurrency)
Set The Trade Currency
|
boolean |
validate(ScenarioMarketParams mpc)
Validate the state
|
public java.lang.String _strISIN
public java.lang.String _strCUSIP
public java.lang.String _strTicker
public double _dblCoupon
public JulianDate _dtMaturity
public int _iCouponFreq
public java.lang.String _strCouponType
public java.lang.String _strMaturityType
public java.lang.String _strCalculationType
public java.lang.String _strDayCountCode
public double _dblRedemptionValue
public JulianDate _dtAnnounce
public JulianDate _dtFirstSettle
public JulianDate _dtFirstCoupon
public JulianDate _dtInterestAccrualStart
public JulianDate _dtIssue
public boolean _bIsCallable
public boolean _bIsPutable
public boolean _bIsSinkable
public java.lang.String _strRedemptionCurrency
public java.lang.String _strCouponCurrency
public java.lang.String _strTradeCurrency
public boolean _bHasBeenCalled
public java.lang.String _strFloatCouponConvention
public double _dblCurrentCoupon
public boolean _bIsFloater
public JulianDate _dtFinalMaturity
public boolean _bIsPerpetual
public boolean _bIsDefaulted
public double _dblFloatSpread
public java.lang.String _strRateIndex
public java.lang.String _strIssuerSPN
public BondProductBuilder()
public static final BondProductBuilder CreateFromResultSet(java.sql.ResultSet rs, ScenarioMarketParams mpc)
rs
- SQL ResultSetmpc
- org.drip.param.definition.MarketParams to help fill some of the fields inpublic static final BondProductBuilder CreateFromJSONMap(CaseInsensitiveTreeMap<java.lang.String> mapJSON, ScenarioMarketParams mpc)
mapJSON
- The JSON Ref Data Mapmpc
- org.drip.param.definition.MarketParams to help fill some of the fields inpublic boolean setISIN(java.lang.String strISIN)
strISIN
- ISIN inputpublic boolean setCUSIP(java.lang.String strCUSIP)
strCUSIP
- CUSIP inputpublic boolean setTicker(java.lang.String strTicker)
strTicker
- Ticker inputpublic boolean setCoupon(java.lang.String strCoupon)
strCoupon
- Coupon inputpublic boolean setMaturity(java.lang.String strMaturity)
strMaturity
- Maturity inputpublic boolean setCouponFreq(java.lang.String strCouponFreq)
strCouponFreq
- Coupon Frequency inputpublic boolean setCouponType(java.lang.String strCouponType)
strCouponType
- Coupon Type inputpublic boolean setMaturityType(java.lang.String strMaturityType)
strMaturityType
- Maturity Type inputpublic boolean setCalculationType(java.lang.String strCalculationType)
strCalculationType
- Calculation Type inputpublic boolean setDayCountCode(java.lang.String strDayCountCode)
strDayCountCode
- Day Count Code inputpublic boolean setRedemptionValue(java.lang.String strRedemptionValue)
strRedemptionValue
- Redemption Value inputpublic boolean setAnnounce(java.lang.String strAnnounce)
strAnnounce
- Announce Date Stringpublic boolean setFirstSettle(java.lang.String strFirstSettle)
strFirstSettle
- First Settle Date Stringpublic boolean setFirstCoupon(java.lang.String strFirstCoupon)
strFirstCoupon
- First Coupon Date Stringpublic boolean setInterestAccrualStart(java.lang.String strInterestAccrualStart)
strInterestAccrualStart
- Interest Accrual Start Date Stringpublic boolean setIssue(java.lang.String strIssue)
strIssue
- Issue Date Stringpublic boolean setIsCallable(java.lang.String strCallable)
strCallable
- Callable Stringpublic boolean setIsPutable(java.lang.String strPutable)
strPutable
- Putable Stringpublic boolean setIsSinkable(java.lang.String strSinkable)
strSinkable
- Sinkable Stringpublic boolean setRedemptionCurrency(java.lang.String strRedemptionCurrency)
strRedemptionCurrency
- Redemption Currency Stringpublic boolean setCouponCurrency(java.lang.String strCouponCurrency)
strCouponCurrency
- Coupon Currency Stringpublic boolean setTradeCurrency(java.lang.String strTradeCurrency)
strTradeCurrency
- Trade Currency Stringpublic boolean setHasBeenCalled(java.lang.String strHasBeenCalled)
strHasBeenCalled
- Has Been Called Stringpublic boolean setFloatCouponConvention(java.lang.String strFloatCouponConvention)
strFloatCouponConvention
- Float Coupon Convention Stringpublic boolean setCurrentCoupon(java.lang.String strCurrentCoupon)
strCurrentCoupon
- Current Coupon Stringpublic boolean setIsFloater(java.lang.String strIsFloater)
strIsFloater
- String indicating whether the bond is a floaterpublic boolean setFinalMaturity(java.lang.String strFinalMaturity)
strFinalMaturity
- String representing the bond's final maturitypublic boolean setIsPerpetual(java.lang.String strIsPerpetual)
strIsPerpetual
- String representing whether the bond is perpetual or notpublic boolean setIsDefaulted(java.lang.String strIsDefaulted)
strIsDefaulted
- String representing whether the bond is defaulted or notpublic boolean setFloatSpread(java.lang.String strFloatSpread)
strFloatSpread
- String representing the bond's floating spreadpublic boolean setFloatSpread(ScenarioMarketParams mpc)
mpc
- org.drip.param.definition.MarketParamspublic boolean setRateIndex(java.lang.String strRateIndex)
strRateIndex
- Rate Indexpublic boolean setIssuerSPN(java.lang.String strIssuerSPN)
strIssuerSPN
- Issuer SPN Stringpublic boolean validate(ScenarioMarketParams mpc)
mpc
- org.drip.param.definition.MarketParamspublic java.lang.String makeSQLInsert()
public IdentifierSet getIdentifierParams()
public CouponSetting getCouponParams()
public FloaterSetting getFloaterParams()
public QuoteConvention getMarketConvention()
public CreditSetting getCRValuationParams()
public TerminationSetting getCFTEParams()
public NotionalSetting getNotionalParams()
public BondStream getPeriodGenParams()
public java.lang.String makeSQLDelete()