public class QuotedSpreadInterpreter extends MeasureInterpreter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONV_CDS
Conventional CDS Contract
|
static java.lang.String |
SNAC_CDS
SNAC CDS Contract
|
static java.lang.String |
STEM_CDS
STEM CDS Contract
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
QuotedSpreadInterpreter(byte[] ab)
QuotedSpreadInterpreter de-serialization from input byte array
|
QuotedSpreadInterpreter(java.lang.String strCDSContractType,
double dblCouponStrike)
QuotedSpreadInterpreter constructor
|
Modifier and Type | Method and Description |
---|---|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
java.lang.String |
getCDSContractType()
Retrieve the CDS Contract Type
|
double |
getCouponStrike()
Retrieve the Coupon Strike
|
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 static final java.lang.String SNAC_CDS
public static final java.lang.String CONV_CDS
public static final java.lang.String STEM_CDS
public QuotedSpreadInterpreter(java.lang.String strCDSContractType, double dblCouponStrike) throws java.lang.Exception
strCDSContractType
- The CDS Contract TypedblCouponStrike
- The Coupon Strikejava.lang.Exception
public QuotedSpreadInterpreter(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if QuotedSpreadInterpreter cannot be properly de-serializedpublic java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Serializer
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Serializer
public java.lang.String getCDSContractType()
public double getCouponStrike()
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