Enum DurationTypeEnum

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

@RosettaEnum("DurationTypeEnum") public enum DurationTypeEnum extends Enum<DurationTypeEnum>
Specifies the duration type of the Security Lending transaction. e.g. Open or Term.
Version:
5.30.0
  • Enum Constant Details

    • TERM

      @RosettaEnumValue("Term") public static final DurationTypeEnum TERM
      Specifies a trade with a termination date.
    • OPEN

      @RosettaEnumValue("Open") public static final DurationTypeEnum OPEN
      Specifies a trade with no termination date.
    • EVERGREEN

      @RosettaEnumValue("Evergreen") public static final DurationTypeEnum EVERGREEN
      Specifies a trade where the term date is extended by a pre-determined period until a notice is serviced. Once the notice is served, the trade will not be reset again and goes to term.
  • Method Details

    • values

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

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

      public String toDisplayString()