Enum MarginTypeEnum

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

@RosettaEnum("MarginTypeEnum") public enum MarginTypeEnum extends Enum<MarginTypeEnum>
This indicator defines which type of assets (cash or securities) is specified to apply as margin to the repo transaction.
Version:
5.30.0
  • Enum Constant Details

    • CASH

      @RosettaEnumValue("Cash") public static final MarginTypeEnum CASH
      When the margin type is Cash, the margin factor is applied to the cash value of the transaction.
    • INSTRUMENT

      @RosettaEnumValue("Instrument") public static final MarginTypeEnum INSTRUMENT
      When the margin type is Instrument, the margin factor is applied to the instrument value for the transaction. In the 'instrument' case, the haircut would be applied to the securities.
  • Method Details

    • values

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

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

      public String toDisplayString()