public class RatingLabel extends java.lang.Object implements LatentStateLabel
Constructor and Description |
---|
RatingLabel(java.lang.String strAgency,
java.lang.String strCode)
RatingsLabel constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
agency()
Retrieve the Ratings Agency
|
java.lang.String |
code()
Retrieve the Rated Code
|
java.lang.String |
fullyQualifiedName()
Retrieve the Fully Qualified Name
|
boolean |
match(LatentStateLabel lslOther)
Indicate whether this Label matches the supplied.
|
static RatingLabel |
Standard(java.lang.String strAgency,
java.lang.String strCode)
Make a Standard Rating Label from the Rating Agency and the Rated Code.
|
public RatingLabel(java.lang.String strAgency, java.lang.String strCode) throws java.lang.Exception
strAgency
- The Ratings AgencystrCode
- The Rated Codejava.lang.Exception
- Thrown if the inputs are invalidpublic static final RatingLabel Standard(java.lang.String strAgency, java.lang.String strCode)
strAgency
- The Rating AgencystrCode
- The Rated Codepublic java.lang.String fullyQualifiedName()
LatentStateLabel
fullyQualifiedName
in interface LatentStateLabel
public boolean match(LatentStateLabel lslOther)
LatentStateLabel
match
in interface LatentStateLabel
lslOther
- The Supplied Labelpublic java.lang.String agency()
public java.lang.String code()