Enum Class ResetRelativeToEnum

java.lang.Object
java.lang.Enum<ResetRelativeToEnum>
net.finmath.smartcontract.product.xml.ResetRelativeToEnum
All Implemented Interfaces:
Serializable, Comparable<ResetRelativeToEnum>, Constable

public enum ResetRelativeToEnum extends Enum<ResetRelativeToEnum>

Java class for ResetRelativeToEnum.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="ResetRelativeToEnum">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="CalculationPeriodStartDate"/>
     <enumeration value="CalculationPeriodEndDate"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • CALCULATION_PERIOD_START_DATE

      public static final ResetRelativeToEnum CALCULATION_PERIOD_START_DATE
      Resets will occur relative to the first day of each calculation period.
    • CALCULATION_PERIOD_END_DATE

      public static final ResetRelativeToEnum CALCULATION_PERIOD_END_DATE
      Resets will occur relative to the last day of each calculation period.
  • Method Details

    • values

      public static ResetRelativeToEnum[] 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 ResetRelativeToEnum 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
    • value

      public String value()
    • fromValue

      public static ResetRelativeToEnum fromValue(String v)