Enum Class PriceSeries.Status

java.lang.Object
java.lang.Enum<PriceSeries.Status>
ai.redouble.demo.pricing.PriceSeries.Status
All Implemented Interfaces:
Serializable, Comparable<PriceSeries.Status>, Constable
Enclosing class:
PriceSeries

public static enum PriceSeries.Status extends Enum<PriceSeries.Status>
Since:
0.1 (2026-09-15)
Author:
Andrey Santrosyan
  • Enum Constant Details

    • CURRENT

      public static final PriceSeries.Status CURRENT
      One price is in force and dated.
    • SCHEDULED

      public static final PriceSeries.Status SCHEDULED
      Nothing in force as of the run's date, and a price is dated after it.
    • CONFLICT

      public static final PriceSeries.Status CONFLICT
      The latest dated prices disagree.
    • UNDATED

      public static final PriceSeries.Status UNDATED
      Every price in force is undated, so none can be ranked; the amounts are listed.
    • NOT_IN_FORCE

      public static final PriceSeries.Status NOT_IN_FORCE
      Only proposals, former prices or a discontinuation: nothing in force.
  • Method Details

    • values

      public static PriceSeries.Status[] 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 PriceSeries.Status 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