Package org.drip.state.identifier
Class OvernightLabel
java.lang.Object
org.drip.state.identifier.FloaterLabel
org.drip.state.identifier.ForwardLabel
org.drip.state.identifier.OvernightLabel
- All Implemented Interfaces:
LatentStateLabel
public class OvernightLabel extends ForwardLabel
OvernightLabel contains the Index Parameters referencing an Overnight Index. It provides the
functionality to Retrieve Index, Tenor, Currency, and Fully Qualified Name. It provides the following
functionality:
- Construct an OvernightLabel from the Jurisdiction
- Construct an OvernightLabel from the Index
- OvernightLabel Constructor
- Retrieve the Currency
- Retrieve the Family
- Retrieve the Tenor
- Indicate if the Index is an Overnight Index
- Retrieve the Overnight Index
- Retrieve the Unit Coupon Accrual Setting
Module | Product Core Module |
Library | Fixed Income Analytics |
Project | Latent State Inference and Creation Utilities |
Package | Latent State Identifier Labels |
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description static OvernightLabel
Create(java.lang.String currency)
Construct an OvernightLabel from the Jurisdictionstatic OvernightLabel
Create(OvernightIndex overnightIndex)
Construct an OvernightLabel from the Indexjava.lang.String
currency()
Retrieve the Currencyjava.lang.String
family()
Retrieve the Familyjava.lang.String
fullyQualifiedName()
Retrieve the Fully Qualified Nameboolean
match(LatentStateLabel latentStateLabelOther)
Indicate whether this Label matches the supplied.boolean
overnight()
Indicate if the Index is an Overnight IndexOvernightIndex
overnightIndex()
Retrieve the Overnight Indexjava.lang.String
tenor()
Retrieve the TenorUnitCouponAccrualSetting
ucas()
Retrieve the Unit Coupon Accrual SettingMethods inherited from class org.drip.state.identifier.ForwardLabel
Create, Create, Standard
Methods inherited from class org.drip.state.identifier.FloaterLabel
floaterIndex
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
Create
Construct an OvernightLabel from the Jurisdiction- Parameters:
currency
- The Currency- Returns:
- The OvernightLabel Instance
-
Create
Construct an OvernightLabel from the Index- Parameters:
overnightIndex
- The Overnight Index Details- Returns:
- The OvernightLabel Instance
-
currency
public java.lang.String currency()Retrieve the Currency- Overrides:
currency
in classFloaterLabel
- Returns:
- The Currency
-
family
public java.lang.String family()Retrieve the Family- Overrides:
family
in classFloaterLabel
- Returns:
- The Family
-
tenor
public java.lang.String tenor()Retrieve the Tenor- Overrides:
tenor
in classFloaterLabel
- Returns:
- The Tenor
-
overnight
public boolean overnight()Indicate if the Index is an Overnight Index- Overrides:
overnight
in classFloaterLabel
- Returns:
- TRUE - Overnight Index
-
overnightIndex
Retrieve the Overnight Index- Returns:
- The Overnight Index
-
ucas
Retrieve the Unit Coupon Accrual Setting- Overrides:
ucas
in classFloaterLabel
- Returns:
- Unit Coupon Accrual Setting
-
fullyQualifiedName
public java.lang.String fullyQualifiedName()Description copied from interface:LatentStateLabel
Retrieve the Fully Qualified Name- Specified by:
fullyQualifiedName
in interfaceLatentStateLabel
- Overrides:
fullyQualifiedName
in classFloaterLabel
- Returns:
- The Fully Qualified Name
-
match
Description copied from interface:LatentStateLabel
Indicate whether this Label matches the supplied.- Specified by:
match
in interfaceLatentStateLabel
- Overrides:
match
in classFloaterLabel
- Parameters:
latentStateLabelOther
- The Supplied Label- Returns:
- TRUE - The Supplied Label matches this.
-