public class FloaterSetting extends Serializer implements Validatable
Modifier and Type | Field and Description |
---|---|
double |
_dblCurrentCoupon
Current Coupon
|
double |
_dblFloatSpread
Floating Spread
|
java.lang.String |
_strFloatDayCount
Floating Day Count
|
java.lang.String |
_strRateIndex
Rate Index
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
FloaterSetting(byte[] ab)
FloaterSetting de-serialization from input byte array
|
FloaterSetting(java.lang.String strRateIndex,
java.lang.String strFloatDayCount,
double dblFloatSpread,
double dblCurrentCoupon)
Constructs the FloaterSetting from rate index, floating day count, float spread, and current coupon
|
Modifier and Type | Method and Description |
---|---|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
static void |
main(java.lang.String[] astrArgs) |
byte[] |
serialize()
Serialize into a byte array.
|
boolean |
validate()
Validates the current object state
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public java.lang.String _strRateIndex
public java.lang.String _strFloatDayCount
public double _dblFloatSpread
public double _dblCurrentCoupon
public FloaterSetting(java.lang.String strRateIndex, java.lang.String strFloatDayCount, double dblFloatSpread, double dblCurrentCoupon)
strRateIndex
- Rate IndexstrFloatDayCount
- Floating Day CountdblFloatSpread
- Floating SpreaddblCurrentCoupon
- Current Couponpublic FloaterSetting(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if FloaterSetting cannot be properly de-serializedpublic boolean validate()
Validatable
validate
in interface Validatable
public byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer
public static final void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception