Class RatesCurveInputs

  • All Implemented Interfaces:, Bean, ImmutableBean

    public final class RatesCurveInputs
    extends java.lang.Object
    implements ImmutableBean,
    The input data used when calibrating a curve.

    This class contains the current market value of a set of instruments used when calibrating a curve.

    See Also:
    Serialized Form
    • Method Detail

      • of

        public static RatesCurveInputs of​(java.util.Map<? extends MarketDataId<?>,​?> marketData,
                                          CurveMetadata metadata)
        Returns a CurveInputs instance containing the specified market data.
        marketData - a map of market data, keyed by the ID of the data
        metadata - the metadata for the curve
        a CurveInputs instance containing the specified market data
      • meta

        public static RatesCurveInputs.Meta meta()
        The meta-bean for RatesCurveInputs.
        the meta-bean, not null
      • builder

        public static RatesCurveInputs.Builder builder()
        Returns a builder used to create an instance of the bean.
        the builder, not null
      • getMarketData

        public<? extends MarketDataId<?>,​?> getMarketData()
        Gets the market data.

        There will typically be at least one entry for each node on the curve.

        the value of the property, not null
      • getCurveMetadata

        public CurveMetadata getCurveMetadata()
        Gets the metadata for the curve.

        This is used to identify the curve and the necessary pieces of market data.

        the value of the property, not null
      • toBuilder

        public RatesCurveInputs.Builder toBuilder()
        Returns a builder that allows this bean to be mutated.
        the mutable builder, not null
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object