Interface SwapLegConvention
-
- All Known Subinterfaces:
FloatRateSwapLegConvention
- All Known Implementing Classes:
FixedRateSwapLegConvention,IborRateSwapLegConvention,InflationRateSwapLegConvention,OvernightRateSwapLegConvention
public interface SwapLegConventionA market convention for swap legs.A convention contains key information that is commonly used in the market. Two legs are often combined to form a
TradeConventionfor a swap, such asFixedIborSwapConventionorFixedOvernightSwapConvention.Each implementation should provide a method with the name
toLegwith whatever arguments are necessary to complete the leg.Implementations must be immutable and thread-safe beans.