Package org.drip.state.identifier
Class GovvieLabel
java.lang.Object
org.drip.state.identifier.GovvieLabel
- All Implemented Interfaces:
LatentStateLabel
public class GovvieLabel extends java.lang.Object implements LatentStateLabel
GovvieLabel contains the Identifier Parameters referencing the Latent State of the named Sovereign
Curve. Currently it only contains the Sovereign Name. It provides the following functionality:
- Make a Standard Govvie Label from the Treasury Code
- GovvieLabel Constructor
- Retrieve the Treasury Code
| Module | Product Core Module |
| Library | Fixed Income Analytics |
| Project | Latent State Inference and Creation Utilities |
| Package | Latent State Identifier Labels |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description GovvieLabel(java.lang.String treasuryCode)GovvieLabel constructor -
Method Summary
Modifier and Type Method Description java.lang.StringfullyQualifiedName()Retrieve the Fully Qualified Namebooleanmatch(LatentStateLabel latentStateLabelOther)Indicate whether this Label matches the supplied.static GovvieLabelStandard(java.lang.String treasuryCode)Make a Standard Govvie Label from the Treasury Codejava.lang.StringtreasuryCode()Retrieve the Treasury CodeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GovvieLabel
public GovvieLabel(java.lang.String treasuryCode) throws java.lang.ExceptionGovvieLabel constructor- Parameters:
treasuryCode- The Treasury Code- Throws:
java.lang.Exception- Thrown if the inputs are invalid
-
-
Method Details
-
Standard
Make a Standard Govvie Label from the Treasury Code- Parameters:
treasuryCode- The Treasury Code- Returns:
- The Govvie Label
-
fullyQualifiedName
public java.lang.String fullyQualifiedName()Description copied from interface:LatentStateLabelRetrieve the Fully Qualified Name- Specified by:
fullyQualifiedNamein interfaceLatentStateLabel- Returns:
- The Fully Qualified Name
-
match
Description copied from interface:LatentStateLabelIndicate whether this Label matches the supplied.- Specified by:
matchin interfaceLatentStateLabel- Parameters:
latentStateLabelOther- The Supplied Label- Returns:
- TRUE - The Supplied Label matches this.
-
treasuryCode
public java.lang.String treasuryCode()Retrieve the Treasury Code- Returns:
- The Treasury Code
-