public class CashSettleParams extends Serializer
Modifier and Type | Field and Description |
---|---|
int |
_iAdjustMode
Cash Settle Adjust Mode
|
int |
_iLag
Cash Settle Lag
|
java.lang.String |
_strCalendar
Cash Settle Calendar
|
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)
Constructs the CashSettleParams object from the settle lag and the settle calendar objects
|
Modifier and Type | Method and Description |
---|---|
double |
cashSettleDate(double dblValue)
Constructs and returns 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
|
static void |
main(java.lang.String[] astrArgs) |
byte[] |
serialize()
Serialize into a byte array.
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public int _iLag
public java.lang.String _strCalendar
public int _iAdjustMode
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 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