public class CreditNodeTweakParams extends NodeTweakParams
Modifier and Type | Field and Description |
---|---|
boolean |
_bSingleNodeCalib
Flag indicating if the calibration occurs over a single node
|
java.lang.String |
_strTweakMeasureType
Tweak Measure Type
|
java.lang.String |
_strTweakParamType
Tweak Parameter Type
|
static java.lang.String |
CREDIT_TWEAK_NODE_MEASURE_HAZARD
Tweak Measure Type of Hazard
|
static java.lang.String |
CREDIT_TWEAK_NODE_MEASURE_QUOTE
Tweak Measure Type of Quote
|
static java.lang.String |
CREDIT_TWEAK_NODE_PARAM_QUOTE
Tweak Parameter Type of Quote
|
static java.lang.String |
CREDIT_TWEAK_NODE_PARAM_RECOVERY
Tweak Parameter Type of Recovery
|
_bIsTweakProportional, _dblTweakAmount, _iTweakNode, NODE_FLAT_TWEAK
NULL_SER_STRING, VERSION
Constructor and Description |
---|
CreditNodeTweakParams(byte[] ab)
CreditNodeTweakParams de-serialization from input byte array
|
CreditNodeTweakParams(java.lang.String strTweakParamType,
java.lang.String strTweakMeasureType,
int iTweakNode,
boolean bIsTweakProportional,
double dblTweakAmount,
boolean bSingleNodeCalib)
CreditNodeTweakParams constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
deserialize
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public static final java.lang.String CREDIT_TWEAK_NODE_PARAM_QUOTE
public static final java.lang.String CREDIT_TWEAK_NODE_PARAM_RECOVERY
public static final java.lang.String CREDIT_TWEAK_NODE_MEASURE_QUOTE
public static final java.lang.String CREDIT_TWEAK_NODE_MEASURE_HAZARD
public java.lang.String _strTweakParamType
public java.lang.String _strTweakMeasureType
public boolean _bSingleNodeCalib
public CreditNodeTweakParams(java.lang.String strTweakParamType, java.lang.String strTweakMeasureType, int iTweakNode, boolean bIsTweakProportional, double dblTweakAmount, boolean bSingleNodeCalib) throws java.lang.Exception
strTweakParamType
- Node Tweak Parameter TypestrTweakMeasureType
- Node Tweak Measure TypeiTweakNode
- Node to be tweaked - Set to NODE_FLAT_TWEAK for flat curve tweakbIsTweakProportional
- True => Tweak is proportional, False => paralleldblTweakAmount
- Amount to be tweaked - proportional tweaks are represented as percent, parallel
tweaks are absolute numbersbSingleNodeCalib
- Flat Calibration using a single node?java.lang.Exception
public CreditNodeTweakParams(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if CreditNodeTweakParams 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 byte[] serialize()
Serializer
serialize
in class NodeTweakParams
public static void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception