Package org.drip.state.identifier
Class RepoLabel
java.lang.Object
org.drip.state.identifier.RepoLabel
- All Implemented Interfaces:
LatentStateLabel
public class RepoLabel extends java.lang.Object implements LatentStateLabel
RepoLabel contains the Identifier Parameters referencing the Latent State of the named Repo Curve.
It holds the Name of the Repo'able Product. It provides the following functionality:
- Make a Standard Repo Label from the Product Code
- RepoLabel Constructor
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 RepoLabel(java.lang.String code)
RepoLabel constructor -
Method Summary
Modifier and Type Method Description java.lang.String
fullyQualifiedName()
Retrieve the Fully Qualified Nameboolean
match(LatentStateLabel latentStateLabelOther)
Indicate whether this Label matches the supplied.static RepoLabel
Standard(java.lang.String code)
Make a Standard Repo Label from the Product CodeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RepoLabel
public RepoLabel(java.lang.String code) throws java.lang.ExceptionRepoLabel constructor- Parameters:
code
- The Repo'able Product Code- Throws:
java.lang.Exception
- Thrown if the inputs are invalid
-
-
Method Details
-
Standard
Make a Standard Repo Label from the Product Code- Parameters:
code
- The Repo'able Product Code- Returns:
- The Repo Label
-
fullyQualifiedName
public java.lang.String fullyQualifiedName()Description copied from interface:LatentStateLabel
Retrieve the Fully Qualified Name- Specified by:
fullyQualifiedName
in interfaceLatentStateLabel
- Returns:
- The Fully Qualified Name
-
match
Description copied from interface:LatentStateLabel
Indicate whether this Label matches the supplied.- Specified by:
match
in interfaceLatentStateLabel
- Parameters:
latentStateLabelOther
- The Supplied Label- Returns:
- TRUE - The Supplied Label matches this.
-