Enum ValuationScopeEnum

java.lang.Object
java.lang.Enum<ValuationScopeEnum>
cdm.event.common.ValuationScopeEnum
All Implemented Interfaces:
Serializable, Comparable<ValuationScopeEnum>

@RosettaEnum("ValuationScopeEnum") public enum ValuationScopeEnum extends Enum<ValuationScopeEnum>
Scope of the valuation i.e. what it applies to.
Version:
7.0.0-dev.105
  • Enum Constant Details

    • COLLATERAL

      @RosettaEnumValue("Collateral") public static final ValuationScopeEnum COLLATERAL
      Valuation of the collateral used against a trade.
    • TRADE

      @RosettaEnumValue("Trade") public static final ValuationScopeEnum TRADE
      Valuation of the actual trade itself.
  • Method Details

    • values

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

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

      public String toDisplayString()