public class TreasuryBenchmark extends Serializer implements Validatable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_strIREDSF
EDSF IR Curve Name
|
java.lang.String |
_strIRTSY
Treasury IR Curve Name
|
TsyBmkSet |
_tsyBmkSet
Treasury Benchmark Set
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
TreasuryBenchmark(byte[] ab)
TreasuryBenchmark de-serialization from input byte array
|
TreasuryBenchmark(TsyBmkSet tsyBmkSet,
java.lang.String strIRTSY,
java.lang.String strIREDSF)
Create the TreasuryBenchmark object from the treasury benchmark set, and the names of the
treasury and the EDF IR curves.
|
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()
Validate the current object state
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public TsyBmkSet _tsyBmkSet
public java.lang.String _strIRTSY
public java.lang.String _strIREDSF
public TreasuryBenchmark(TsyBmkSet tsyBmkSet, java.lang.String strIRTSY, java.lang.String strIREDSF)
tsyBmkSet
- Treasury Benchmark SetstrIRTSY
- Treasury IR Curve NamestrIREDSF
- EDSF IR Curve Namepublic TreasuryBenchmark(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if TreasuryBenchmark 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