public class PositionMarketSnap
extends java.lang.Object
Constructor and Description |
---|
PositionMarketSnap(JulianDate dtSnap,
double dblMarketValue)
PositionMarketSnap Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addManifestMeasureSnap(java.lang.String strManifestMeasure,
double dblManifestMeasureRealization,
double dblManifestMeasureSensitivity,
double dblManifestMeasureRollDown)
Add an Instance of the Position Manifest Measure Snap from the Specified Inputs
|
java.lang.String |
c1(java.lang.String strKey)
Retrieve the Custom C^1 Entry corresponding to the Specified Key
|
java.lang.String |
content()
Retrieve the Row of Content Fields
|
double |
cumulativeCouponAmount()
Retrieve the Cumulative Coupon Amount
|
JulianDate |
date(java.lang.String strKey)
Retrieve the Custom Date Entry corresponding to the Specified Key
|
java.lang.String |
header(java.lang.String strPrefix)
Retrieve the Row of Header Fields
|
java.util.Set<java.lang.String> |
manifestMeasures()
Retrieve the Set of Manifest Measures
|
PositionManifestMeasureSnap |
manifestMeasureSnap(java.lang.String strManifestMeasure)
Retrieve the Snapshot associated with the specified Manifest Measure
|
java.lang.String |
marketMeasureName()
Retrieve the Market Measure Name
|
double |
marketMeasureValue()
Retrieve the Market Measure Value
|
double |
marketValue()
Retrieve the Position Market Value
|
double |
r1(java.lang.String strKey)
Retrieve the Custom R^1 Entry corresponding to the Specified Key
|
boolean |
setC1(java.lang.String strKey,
java.lang.String strC1)
Set the Custom C^1 Entry corresponding to the Specified Key
|
boolean |
setCumulativeCouponAmount(double dblCumulativeCouponAmount)
Set the Cumulative Coupon Amount
|
boolean |
setDate(java.lang.String strKey,
JulianDate dtCustom)
Set the Custom Date Entry corresponding to the Specified Key
|
boolean |
setMarketMeasureName(java.lang.String strMarketMeasureName)
Set the Market Measure Name
|
boolean |
setMarketMeasureValue(double dblMarketMeasureValue)
Set the Market Measure Value
|
boolean |
setR1(java.lang.String strKey,
double dblR1)
Set the Custom R^1 Entry corresponding to the Specified Key
|
boolean |
setR1(java.lang.String strKey,
double dblR1,
boolean bIgnoreNaN)
Set the Custom R^1 Entry corresponding to the Specified Key
|
JulianDate |
snapDate()
Retrieve the Date of the Snap
|
public PositionMarketSnap(JulianDate dtSnap, double dblMarketValue) throws java.lang.Exception
dtSnap
- The Snapshot DatedblMarketValue
- The Snapshot Market Valuejava.lang.Exception
- Thrown if the Inputs are Invalidpublic JulianDate snapDate()
public double marketValue()
public boolean addManifestMeasureSnap(java.lang.String strManifestMeasure, double dblManifestMeasureRealization, double dblManifestMeasureSensitivity, double dblManifestMeasureRollDown)
strManifestMeasure
- The Manifest MeasuredblManifestMeasureRealization
- The Manifest Measure RealizationdblManifestMeasureSensitivity
- The Manifest Measure SensitivitydblManifestMeasureRollDown
- The Manifest Measure Roll Downpublic PositionManifestMeasureSnap manifestMeasureSnap(java.lang.String strManifestMeasure)
strManifestMeasure
- The Manifest Measurepublic java.util.Set<java.lang.String> manifestMeasures()
public boolean setDate(java.lang.String strKey, JulianDate dtCustom)
strKey
- The KeydtCustom
- The Custom Date Entrypublic JulianDate date(java.lang.String strKey)
strKey
- The Keypublic boolean setC1(java.lang.String strKey, java.lang.String strC1)
strKey
- The KeystrC1
- The Custom C^1 Entrypublic java.lang.String c1(java.lang.String strKey)
strKey
- The Keypublic boolean setR1(java.lang.String strKey, double dblR1, boolean bIgnoreNaN)
strKey
- The KeydblR1
- The Custom R^1 EntrybIgnoreNaN
- TRUE - Ignore NaN Entrypublic boolean setR1(java.lang.String strKey, double dblR1)
strKey
- The KeydblR1
- The Custom R^1 Entrypublic double r1(java.lang.String strKey) throws java.lang.Exception
strKey
- The Keyjava.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean setMarketMeasureName(java.lang.String strMarketMeasureName)
strMarketMeasureName
- The Market Measure Namepublic java.lang.String marketMeasureName()
public boolean setMarketMeasureValue(double dblMarketMeasureValue)
dblMarketMeasureValue
- The Market Measure Valuepublic double marketMeasureValue() throws java.lang.Exception
java.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean setCumulativeCouponAmount(double dblCumulativeCouponAmount)
dblCumulativeCouponAmount
- The Cumulative Coupon Amountpublic double cumulativeCouponAmount() throws java.lang.Exception
java.lang.Exception
- Thrown if the Cumulative Coupon Amount cannot be obtainedpublic java.lang.String header(java.lang.String strPrefix)
strPrefix
- The Prefix that precedes each Header Fieldpublic java.lang.String content()