public class NotionalSetting extends Serializer implements Validatable
Modifier and Type | Field and Description |
---|---|
boolean |
_bPriceOffOriginalNotional
Is the price quoted off of component's issue notional factor
|
double |
_dblNotional
Notional Amount
|
FactorSchedule |
_fsPrincipalOutstanding
Notional Schedule
|
int |
_iPeriodAmortizationMode
Amortization Mode - Indicates which amortization node serves as the period's amortization proxy
|
static int |
PERIOD_AMORT_AT_END
Period amortization proxies to the period end factor
|
static int |
PERIOD_AMORT_AT_START
Period amortization proxies to the period start factor
|
static int |
PERIOD_AMORT_EFFECTIVE
Period amortization proxies to the period effective factor
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
NotionalSetting(byte[] ab)
NotionalSetting de-serialization from input byte array
|
NotionalSetting(FactorSchedule fsPrincipalOutstanding,
double dblNotional,
int iPeriodAmortizationMode,
boolean bPriceOffOriginalNotional)
Constructs the NotionalSetting from the notional schedule and the amount.
|
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()
Validates the current object state
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter, getFieldDelimiter, getObjectTrailer
public static final int PERIOD_AMORT_AT_START
public static final int PERIOD_AMORT_AT_END
public static final int PERIOD_AMORT_EFFECTIVE
public double _dblNotional
public boolean _bPriceOffOriginalNotional
public int _iPeriodAmortizationMode
public FactorSchedule _fsPrincipalOutstanding
public NotionalSetting(FactorSchedule fsPrincipalOutstanding, double dblNotional, int iPeriodAmortizationMode, boolean bPriceOffOriginalNotional)
fsPrincipalOutstanding
- Notional ScheduledblNotional
- Notional AmountiPeriodAmortizationMode
- Period Amortization Proxy ModebPriceOffOriginalNotional
- Indicates whether the price is based off of the original notionalpublic NotionalSetting(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if NotionalSetting cannot be properly de-serializedpublic byte[] serialize()
Serializer
serialize
in class Serializer
public boolean validate()
Validatable
validate
in interface Validatable
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