public class CurrencySet extends Serializer implements Validatable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_strCouponCurrency
Coupon Currency
|
java.lang.String |
_strRedemptionCurrency
Redemption Currency
|
java.lang.String |
_strTradeCurrency
Trade Currency
|
NULL_SER_STRING, VERSION
Constructor and Description |
---|
CurrencySet(byte[] ab)
CurrencySet de-serialization from input byte array
|
CurrencySet(java.lang.String strTradeCurrency,
java.lang.String strCouponCurrency,
java.lang.String strRedemptionCurrency)
Construct the CurrencySet object from the trade, the coupon, and the redemption currencies.
|
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 java.lang.String _strTradeCurrency
public java.lang.String _strCouponCurrency
public java.lang.String _strRedemptionCurrency
public CurrencySet(java.lang.String strTradeCurrency, java.lang.String strCouponCurrency, java.lang.String strRedemptionCurrency)
strTradeCurrency
- Trade CurrencystrCouponCurrency
- Coupon CurrencystrRedemptionCurrency
- Redemption Currencypublic CurrencySet(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if CurrencySet 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