public class FloatingRateIndex extends Serializer implements Validatable, LatentStateLabel
NULL_SER_STRING, VERSION
Constructor and Description |
---|
FloatingRateIndex(byte[] ab)
FloatingRateIndex de-serialization from input byte array
|
FloatingRateIndex(java.lang.String strCurrency,
java.lang.String strIndex,
java.lang.String strTenor,
java.lang.String strFullyQualifiedName)
FloatingRateIndex constructor
|
Modifier and Type | Method and Description |
---|---|
static FloatingRateIndex |
Create(java.lang.String strFullyQualifiedName)
Construct a FloatingRateIndex from the corresponding Fully Qualified Name
|
static FloatingRateIndex |
Create(java.lang.String strCurrency,
java.lang.String strIndex,
java.lang.String strTenor)
Create from the Currency, the Index, and the Tenor
|
java.lang.String |
currency()
Retrieve the Currency
|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
java.lang.String |
fullyQualifiedName()
Retrieve the Fully Qualified Name
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
java.lang.String |
index()
Retrieve the Index
|
static void |
main(java.lang.String[] astrArgs) |
boolean |
match(LatentStateLabel lslOther)
Indicate whether this Label matches the supplied.
|
byte[] |
serialize()
Serialize into a byte array.
|
java.lang.String |
tenor()
Retrieve the Tenor
|
boolean |
validate()
Validate the current object state
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public FloatingRateIndex(java.lang.String strCurrency, java.lang.String strIndex, java.lang.String strTenor, java.lang.String strFullyQualifiedName) throws java.lang.Exception
strCurrency
- CurrencystrIndex
- IndexstrTenor
- TenorstrFullyQualifiedName
- The Fully Qualified Namejava.lang.Exception
- Thrown if the Inputs are invalidpublic FloatingRateIndex(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if FloatingRateIndex cannot be properly de-serializedpublic static final FloatingRateIndex Create(java.lang.String strCurrency, java.lang.String strIndex, java.lang.String strTenor)
strCurrency
- CurrencystrIndex
- IndexstrTenor
- Tenorpublic static final FloatingRateIndex Create(java.lang.String strFullyQualifiedName)
strFullyQualifiedName
- The Fully Qualified Namepublic java.lang.String currency()
public java.lang.String index()
public java.lang.String tenor()
public java.lang.String fullyQualifiedName()
LatentStateLabel
fullyQualifiedName
in interface LatentStateLabel
public boolean match(LatentStateLabel lslOther)
LatentStateLabel
match
in interface LatentStateLabel
lslOther
- The Supplied Labelpublic boolean validate()
Validatable
validate
in interface Validatable
public 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 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