Enum CompoundingMethodEnum

java.lang.Object
java.lang.Enum<CompoundingMethodEnum>
cdm.product.asset.CompoundingMethodEnum
All Implemented Interfaces:
Serializable, Comparable<CompoundingMethodEnum>

@RosettaEnum("CompoundingMethodEnum") public enum CompoundingMethodEnum extends Enum<CompoundingMethodEnum>
The enumerated values to specify the type of compounding, e.g. flat, straight.
Version:
5.30.0
  • Enum Constant Details

    • FLAT

      @RosettaEnumValue("Flat") public static final CompoundingMethodEnum FLAT
      Flat compounding. Compounding excludes the spread. Note that the first compounding period has it's interest calculated including any spread then subsequent periods compound this at a rate excluding the spread.
    • NONE

      @RosettaEnumValue("None") public static final CompoundingMethodEnum NONE
      No compounding is to be applied.
    • STRAIGHT

      @RosettaEnumValue("Straight") public static final CompoundingMethodEnum STRAIGHT
      Straight compounding. Compounding includes the spread.
    • SPREAD_EXCLUSIVE

      @RosettaEnumValue("SpreadExclusive") public static final CompoundingMethodEnum SPREAD_EXCLUSIVE
      Spread Exclusive compounding.
  • Method Details

    • values

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

      public static CompoundingMethodEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static CompoundingMethodEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CompoundingMethodEnum>
    • toDisplayString

      public String toDisplayString()