Enum PremiumTypeEnum

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

@RosettaEnum("PremiumTypeEnum") public enum PremiumTypeEnum extends Enum<PremiumTypeEnum>
The enumerated values to specify the premium type for forward start options.
Version:
5.30.0
  • Enum Constant Details

    • PRE_PAID

      @RosettaEnumValue("PrePaid") public static final PremiumTypeEnum PRE_PAID
    • POST_PAID

      @RosettaEnumValue("PostPaid") public static final PremiumTypeEnum POST_PAID
    • VARIABLE

      @RosettaEnumValue("Variable") public static final PremiumTypeEnum VARIABLE
    • FIXED

      @RosettaEnumValue("Fixed") public static final PremiumTypeEnum FIXED
  • Method Details

    • values

      public static PremiumTypeEnum[] 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 PremiumTypeEnum 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 PremiumTypeEnum fromDisplayName(String name)
    • toString

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

      public String toDisplayString()