Enum Class SaCcr.CreditGrade

java.lang.Object
java.lang.Enum<SaCcr.CreditGrade>
com.quantfinlib.risk.SaCcr.CreditGrade
All Implemented Interfaces:
Serializable, Comparable<SaCcr.CreditGrade>, Constable
Enclosing class:
SaCcr

public static enum SaCcr.CreditGrade extends Enum<SaCcr.CreditGrade>
Credit rating buckets and their supervisory factors (Table 2).
  • Enum Constant Details

  • Method Details

    • values

      public static SaCcr.CreditGrade[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SaCcr.CreditGrade valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • supervisoryFactor

      public double supervisoryFactor()
      Returns the supervisory factor as a decimal.
    • isIndex

      public boolean isIndex()
      Returns true for the two index grades.