Package org.drip.product.params
Class FloaterSetting
java.lang.Object
org.drip.product.params.FloaterSetting
- All Implemented Interfaces:
Validatable
public class FloaterSetting extends java.lang.Object implements Validatable
FloaterSetting contains the component floating rate parameters. It holds the rate index, floater
day count, and one of either the coupon spread or the full current coupon. It also provides for
serialization into and de-serialization out of byte arrays.
- Module = Product Core Module
- Library = Fixed Income Analytics
- Project = Product Components/Baskets for Credit, FRA, FX, Govvie, Rates, and Option AssetClasses
- Package = Fixed Income Product Customization Parameters
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FloaterSetting(FloaterLabel floaterLabel, java.lang.String strDayCount, double dblSpread, double dblCurrentFullCoupon)
Construct the FloaterSetting from the Floater Label, the Day Count, the Spread, and the Current Full CSoupon -
Method Summary
Modifier and Type Method Description double
currentFullCoupon()
Retrieve the Full Current Couponjava.lang.String
dayCount()
Retrieve the Floating Day CountFloaterLabel
fri()
Retrieve the Floater Labeldouble
spread()
Retrieve the Floating Spreadboolean
validate()
Validate the current object stateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FloaterSetting
public FloaterSetting(FloaterLabel floaterLabel, java.lang.String strDayCount, double dblSpread, double dblCurrentFullCoupon)Construct the FloaterSetting from the Floater Label, the Day Count, the Spread, and the Current Full CSoupon- Parameters:
floaterLabel
- Floater LabelstrDayCount
- Floating Day CountdblSpread
- Floating SpreaddblCurrentFullCoupon
- Current Full Coupon
-
-
Method Details
-
validate
public boolean validate()Description copied from interface:Validatable
Validate the current object state- Specified by:
validate
in interfaceValidatable
- Returns:
- Validation successful (true) or failed (false)
-
fri
Retrieve the Floater Label- Returns:
- The Floater Label
-
dayCount
public java.lang.String dayCount()Retrieve the Floating Day Count- Returns:
- The Floating Day Count
-
spread
public double spread()Retrieve the Floating Spread- Returns:
- The Floating Spread
-
currentFullCoupon
public double currentFullCoupon()Retrieve the Full Current Coupon- Returns:
- The Full Current Coupon
-