Enum StubPeriodTypeEnum

java.lang.Object
java.lang.Enum<StubPeriodTypeEnum>
cdm.product.common.schedule.StubPeriodTypeEnum
All Implemented Interfaces:
Serializable, Comparable<StubPeriodTypeEnum>

@RosettaEnum("StubPeriodTypeEnum") public enum StubPeriodTypeEnum extends Enum<StubPeriodTypeEnum>
The enumerated values to specify how to deal with a non standard calculation period within a swap stream.
Version:
5.30.0
  • Enum Constant Details

    • SHORT_INITIAL

      @RosettaEnumValue("ShortInitial") public static final StubPeriodTypeEnum SHORT_INITIAL
      If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the start of the stream.
    • SHORT_FINAL

      @RosettaEnumValue("ShortFinal") public static final StubPeriodTypeEnum SHORT_FINAL
      If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the end of the stream.
    • LONG_INITIAL

      @RosettaEnumValue("LongInitial") public static final StubPeriodTypeEnum LONG_INITIAL
      If there is a non regular period remaining it is placed at the start of the stream and combined with the adjacent calculation period to give a long first calculation period.
    • LONG_FINAL

      @RosettaEnumValue("LongFinal") public static final StubPeriodTypeEnum LONG_FINAL
      If there is a non regular period remaining it is placed at the end of the stream and combined with the adjacent calculation period to give a long last calculation period.
  • Method Details

    • values

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

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

      public String toDisplayString()