Enum SecurityType

    • Enum Constant Detail

      • None

        public static final SecurityType None
        Default value. Do not use it directly.
      • Bond

        public static final SecurityType Bond
        Bond (generic).
      • CommoditySwap

        public static final SecurityType CommoditySwap
        Commodity Swap.
      • EuroSovereigns

        public static final SecurityType EuroSovereigns
        Euro Sovereigns.
      • EuroSupranationalCoupons

        public static final SecurityType EuroSupranationalCoupons
        Euro Supranational Coupons.
      • ForwardRateAgreement

        public static final SecurityType ForwardRateAgreement
        Forward Rate Agreement.
      • Future

        public static final SecurityType Future
        Future security type.
      • Forward

        public static final SecurityType Forward
        Forward.
      • FXNDF

        public static final SecurityType FXNDF
        Non-deliverable forward
      • InterestRateSwap

        public static final SecurityType InterestRateSwap
        Interest Rate Swap.
      • MultiLeg

        public static final SecurityType MultiLeg
        Multi-leg security type.
      • Option

        public static final SecurityType Option
        Option security type.
      • Repurchase

        public static final SecurityType Repurchase
        Repurchase.
      • UsdSupranationalCoupons

        public static final SecurityType UsdSupranationalCoupons
        USD Supranational Coupons.
      • Swaption

        public static final SecurityType Swaption
        Swaption.
      • TreasuryBillNonUS

        public static final SecurityType TreasuryBillNonUS
        Treasury Bill - non US.
      • ToBeAnnounced

        public static final SecurityType ToBeAnnounced
        To Be Announced.
      • USTreasuryBill

        public static final SecurityType USTreasuryBill
        US Treasury Bill.
      • USTreasuryNote

        public static final SecurityType USTreasuryNote
        US Treasury Note.
      • GeneralCollateral

        public static final SecurityType GeneralCollateral
        General Collateral
      • SubstitutedCollateral

        public static final SecurityType SubstitutedCollateral
        Substituted Collateral
      • InterestStrip

        public static final SecurityType InterestStrip
        Interest Strip.
      • TreasuryInflationProtectedSecurity

        public static final SecurityType TreasuryInflationProtectedSecurity
        Treasury Inflation Protected Security
      • USTreasuryBond

        public static final SecurityType USTreasuryBond
        US Treasury Bond.
      • USFederalAgencyCoupon

        public static final SecurityType USFederalAgencyCoupon
        US Federal Agency Coupon
      • USTreasuryFloatingRateNote

        public static final SecurityType USTreasuryFloatingRateNote
        US Treasury Floating Rate Note
      • CreditDefaultSwap

        public static final SecurityType CreditDefaultSwap
        Credit Default Swap.
      • CanadianProvincialBonds

        public static final SecurityType CanadianProvincialBonds
        Canadian Provincial Bonds.
    • Method Detail

      • values

        public static SecurityType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SecurityType c : SecurityType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SecurityType 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
      • getValue

        public int getValue()
        Gets current value.
        Returns:
        current value.
      • forValue

        public static SecurityType forValue​(int value)
        Gets value
        Parameters:
        value - value
        Returns:
        value.
      • forValue

        public static SecurityType forValue​(String value)
        Returns enum value for the string representation
        Parameters:
        value - value
        Returns:
        value.