public class CashSettleParams extends Serializer
NULL_SER_STRING, VERSION
Constructor and Description |
---|
CashSettleParams(byte[] ab)
CashSettleParams de-serialization from input byte array
|
CashSettleParams(int iLag,
java.lang.String strCalendar,
int iAdjustMode)
Construct the CashSettleParams object from the settle lag and the settle calendar objects
|
Modifier and Type | Method and Description |
---|---|
int |
adjustMode()
Retrieve the Adjustment Mode
|
java.lang.String |
calendar()
Retrieve the Settle Calendar
|
double |
cashSettleDate(double dblValue)
Construct and return the cash settle date from the valuation date
|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
int |
lag()
Retrieve the Settle Lag
|
static void |
main(java.lang.String[] astrArgs) |
byte[] |
serialize()
Serialize into a byte array.
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public CashSettleParams(int iLag, java.lang.String strCalendar, int iAdjustMode)
iLag
- Cash Settle LagiAdjustMode
- Settle adjust ModestrCalendar
- Settlement Calendarpublic CashSettleParams(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if CashSettleParams cannot be properly de-serializedpublic int lag()
public java.lang.String calendar()
public int adjustMode()
public double cashSettleDate(double dblValue) throws java.lang.Exception
dblValue
- Valuation Datejava.lang.Exception
public java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Serializer
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Serializer
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